I'm using a VDrive2 module that communicates by RS232 at 9600 Baud. The problem is:
1. Using PBP code on a PIC16F877A connected to the VDrive2 works properly. The VDrive module responds to commands and returns data correctly.
2. Connecting the VDrive module to the PC by a RS232 converter chip works OK - but only for the first command, after that the VDrive2 will only send 'Bad Command.' Cycle the power and again it accepts one command, returns the correct data but won't respond to a second command, jut 'Bad Command' again.
I'm not using RTS or CTS on either set-up.
What's different between the PIC RS232 and the Max chip to the PC?
Regards Bill Legge
Bookmarks