Lameguy64 / mcomms

Serial uploader, monitor and SioFS host for PlayStation homebrew development.
GNU General Public License v3.0
13 stars 4 forks source link

Default windows settings have flow control enabled #3

Open mikewolak opened 3 years ago

mikewolak commented 3 years ago

serial.cpp has the following serial settings enabled:

dcbSerialParams.fOutxCtsFlow    = TRUE;
dcbSerialParams.fOutxDsrFlow    = TRUE;
dcbSerialParams.fDtrControl     = DTR_CONTROL_ENABLE;

I was only able to get serial RX working with a simple 2 wire null modem serial cable by setting these to "FALSE". This is different default behavior than the Linux code which only sets handshaking when enabled with the command line option to do so.

Lameguy64 commented 3 years ago

Seems the handshake setup in my code is busted as I couldn't get it to lock up when trying to upload with handshake enabled but the handshake lines are not connected on both operating systems. Either that or my FTDI232's somehow broken now.