Hi, I have a set of assembler + C routines to handle the serial line that work flawlessly in the DS5002 and DS5250. However, when I debug the code with the uVision Simulator I often lose chars in the serial line. I checked the cable and they are fine. This is the Initialization file I'm using (I think it's correct):
MODE COM3 19200,0,8,1 ASSIGN COM3 < S0IN > S0OUT S0TIME=1 MODE COM4 19200,2,8,1 ASSIGN COM4 < S1IN > S1OUT S1TIME=1
COM3 -> 19200bps 8bits, 1 stop bits, No parity, No flow control COM4 -> 19200bps 8bits, 2 stop bits, No parity, No flow control.
The lost characters seem to happen randomly and sometimes it happens with more frequency than others. Anybody had similar problems? Any advice would be greatly appreciated. Thanks in advance!