|
|||||||||||
Technical Support Support Resources
Product Information |
µVISION DEBUGGER: Strange Data received sharing the Serial PortInformation in this article applies to:
QUESTIONI've 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 interfering with the serial port? If so, how do I correct it? ANSWERThe debugger communicates with the target monitor using the serial port. This is how your programs get downloaded, and single-steps are performed. However, 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. SEE ALSO
Last Reviewed: Monday, January 25, 2021 | ||||||||||
|
Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.