I have a strange problem when connecting the ATMEGA16 with the USART to the
COM2 of my Compaq-Deskpro PC, Pentium-2, running Windows98.
On the PC i have a delphi application that performs a kind of Looptest with the device. The application sends a 'looptest' command to the ATMEGA16, he reply's with a specific string. In the PC application i check if the Correct string is received. If not i increment an error Counter and display the received string on the screen.
The RS232 connection works at 4800 Baud.
I see a lot of errors, >20 per 100 calls, reported by the application. Most of the time characters are missing in the string to be received !!!.
When i run the same delphi application on a portable COMPAQ Armade 1750,
with the same comport cable, it is working much better, 1 fault per 10.000 calls.
The delphi application is the only thing running on the Deskpro-PC. No virus
scanners and internet security active.
Has Someone experieced the same thing. Any suggestions are welcome,
except baying a new PC.