So I have a hardware device I've built which has a MAX3232 chip on it for sending data over serial. The device works perfect as I can send/receive data in a terminal program no problem. I am running MS-DOS 6.22 on a 486 machine. What my device will do is send some data out onto the serial port (when a user triggers it).
I've issued the MODE command on the DOS machine "MODE COM2:96,N,8,1" (I've also tried "MODE COM2:96,N,8,1,P" and "MODE COM2:96,N,8,1,E")
Then I've tried a few different commands and none seem to work..
COPY COM2: FILE.DAT
TYPE COM2 >> FILE.DAT
TYPE COM2 /B >> FILE.DAT /B
After issuing these commands, the system waits and I trigger the transfer. None of these combinations work - it just continues to sit there as if nothing was transferred. I'm assuming there's some kind of control command I have to send to mark the transfer was complete (EOF?). If can hit CTRL+BREAK to end the command, and I usually just end up with a "^C" in the file as a result from the TYPE commands. the COPY commands will just say "0 file copied" and doesn't create the file.
Am I missing something or does the computer expect flow control? I'm pretty certain the MAX3232 chip doesn't implement any kind of flow control.
I've issued the MODE command on the DOS machine "MODE COM2:96,N,8,1" (I've also tried "MODE COM2:96,N,8,1,P" and "MODE COM2:96,N,8,1,E")
Then I've tried a few different commands and none seem to work..
COPY COM2: FILE.DAT
TYPE COM2 >> FILE.DAT
TYPE COM2 /B >> FILE.DAT /B
After issuing these commands, the system waits and I trigger the transfer. None of these combinations work - it just continues to sit there as if nothing was transferred. I'm assuming there's some kind of control command I have to send to mark the transfer was complete (EOF?). If can hit CTRL+BREAK to end the command, and I usually just end up with a "^C" in the file as a result from the TYPE commands. the COPY commands will just say "0 file copied" and doesn't create the file.
Am I missing something or does the computer expect flow control? I'm pretty certain the MAX3232 chip doesn't implement any kind of flow control.