|ARM Technical Support Knowledge Articles|
Applies to: MCBx51 Evaluation Board
Information in this article applies to:
I'm testing my application program using the Monitor on the MCBx51 Board. However, I have strange problems with my software. The problems did not exist with the Eval Version that I have used before. What can be wrong?
CONNECTION TO TARGET SYSTEM LOST!
What is going wrong?
It seems that you have enabled the option Stop Program Execution with Serial Interrupt (under uVision - Project - Options for Target - Debug - Keil Monitor Driver Settings - Stop Program Execution with Serial Interrupt). When you enable the serial interrupt option, the monitor will automatically write the serial interrupt vector. Therefore you must reserve the interrupt vector in your program to avoid that code or data will be overwritten.
Add the following to your application to reserve the serial interrupt of the on-chip 8051 UART.
char code reserve  _at_ 0x23; /* Space for on-chip UART serial interrupt */
Add the following to your application to reserve the serial interrupt of the external UART.
char code reserve  _at_ 0x3; /* Space for EXT0 interrupt */
If you have not enabled Stop Program Execution with Serial Interrupt, you do not have to reserve this memory.
Article last edited on: 2004-05-10 15:33:45
Did you find this article helpful? Yes No
How can we improve this article?