ARM Technical Support Knowledge Articles

STRANGE PROBLEMS WITH APPLICATION SOFTWARE

Applies to: MCBx51 Evaluation Board

Answer


Information in this article applies to:


QUESTION

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?

ANSWER

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 [3] _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 [3] _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.

MORE INFORMATION

SEE ALSO

Article last edited on: 2004-05-10 15:33:45

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential