Serial Com problems after upgrading to XP Pro from Win2000.
Maj.Slayer
Posts: 4
·· Hello, I wrote a program using DJGPP to go along with a stamp project I'm building. The program runs prefectly on ever other version of windows but runs very slow in Windows XP Pro(kinda goes fast one second, then slow the next very jerky performance). I'm using a BS2-p40(if that matters), I'm running at 9600 buad inverted. I'm
using CRC-16 for error correction, but bad data is still comming in somehow. The program or com data flow runs slow, almost as if something is starting·and stopping the data during transmission and receiving.·Thus causing te data to end up corrupt somehow.
·· I've checked my C++ program over·and cant seem to find anything wrong with the source·code. Its pretty simple code for the comms.· I'm not sure what to do, I've spent hours checking source code and it looks fine. Should I try a lower com port speed? Is there some sort of COM DLL I need for XP Pro? I'm lost as to what the problem is. Its wierd because the program works on every other version of windows. I know DOS is emulated in XP pro & Win 2000, so maybe thats the problem. Please if anyone has ran into the same problem and fixed it? Please let me know.. Also and "ideas" would be wonderful. Thanks.
································································ Sean T. Pinkerton
using CRC-16 for error correction, but bad data is still comming in somehow. The program or com data flow runs slow, almost as if something is starting·and stopping the data during transmission and receiving.·Thus causing te data to end up corrupt somehow.
·· I've checked my C++ program over·and cant seem to find anything wrong with the source·code. Its pretty simple code for the comms.· I'm not sure what to do, I've spent hours checking source code and it looks fine. Should I try a lower com port speed? Is there some sort of COM DLL I need for XP Pro? I'm lost as to what the problem is. Its wierd because the program works on every other version of windows. I know DOS is emulated in XP pro & Win 2000, so maybe thats the problem. Please if anyone has ran into the same problem and fixed it? Please let me know.. Also and "ideas" would be wonderful. Thanks.
································································ Sean T. Pinkerton
Comments
Also, I think running DOS software·under windows (especially later versions) probably can cause this kind of problems.
Other than that, I can only recommend that you make a very simple program that e.g. transmits and/or receives one byte without any error correction, simplest mode possible, and see if it works.
Sean T. Pinkerton
(aka Maj.Slayer)