I am developing an application that involves serial port communication (using an FTDI device) and an operation which takes 3 minutes on an XP box, takes 9.5 minutes on a Windows 7 box. The application should handle data at a rate of about 11 kilobytes/second.
I know my application is not the bottleneck and that the issue must be somehow serial port configuration related.
Here are the settings which work well on XP:
comPort.RtsEnable = true;
comPort.DtrEnable = true;
comPort.Handshake = Handshake.RequestToSend;
comPort.BaudRate = 115200;
This exact same application produces garbage replies (Windows 7) at a baud rate of 115200 from the device. It only works if I set the baud rate at 57600, but it is almost 3 times slower than it should be. Any suggestions?