|
|||||||||||
Technical Support Support Resources
Product Information |
RTX51: Keil µVISION Debugger Won't Halt RTX51 Using MON51Information in this article applies to:
SYMPTOMWhile debugging an RTX51 application on a Cypress EZ-USB FX or FX2 board using MON51, clicking the Halt button gives the error:
Setting breakpoints and single-stepping work OK and the Stop Program Execution with Serial Interrupt checkbox is checked. What could be wrong? CAUSERTX51 disables serial interrupts by default. With serial interrupts disabled and no breakpoints set, MON51 cannot gain control of the target board once it starts running. RESOLUTIONConfigure RTX51 to enable the appropriate serial interrupt by setting the correct initialization value for ?RTX_IE_INIT in the RTXSETUP.INC file. Cypress FX and FX2 boards use the standard 8051 serial interrupt for SIO-0. To enable the this serial interrupt (bit 4 in IE) use the following value:
To debug through SIO-1 on Cypress FX and FX2 boards, enable SIO-1 interrupts (bit 6 in IE) as follows:
Other microcontrollers might use this bit for a second serial port also. Check the manufacturer's data sheet for your microcontroller to be sure. SEE ALSOLast Reviewed: Thursday, February 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.