µVISION DEBUGGER: STRANGE DATA RECEIVED SHARING THE SERIAL P
Information in this article applies to:
I'v successfully configured the monitor for my target hardware and have my target program running. However, I'm having trouble getting the correct data from the target's serial port. I am typing characters in the serial window. My target program reads these and stores them in a queue. When I look at the queue, I have many extraneous characters mixed in with the characters I typed. Is the monitor interferring with the serial port? If so, how do I correct it?
The debugger communicates with the target monitor using the serial port. This is how your programs get downloaded and single-steps are performed. However, the monitor communication uses a protocol that avoids interfering with your code. So you should be able to share the serial port with the debugger.
To see if the monitor is the culprit, follow these steps:
There should be no problems with the data (assuming the problem was caused by the monitor).
If you still see strange characters, there must be a problem with your program.
Last Reviewed: Tuesday, June 29, 2004
of your data.