ARM Technical Support Knowledge Articles

STRANGE PROBLEMS USING INTERRUPTS

Applies to: MON166 Target Monitor

Answer


Information in this article applies to:


QUESTION

Help! We're using MON166 to debug our target program and we are experiencing strange program crashes. The program runs OK in the simulator but not with the monitor.

ANSWER

Make sure you reserve the traps that the monitor uses. If you don't reserve the memory space for these, your program will surely trounce on them and crash the monitor.

The traps used by MON166 are: NMI trap (for breakpoints) and one Serial trap. To reserve these memory areas, specify the following reserve command on the linker command line:

RESERVE ( 08h - 0Bh , 0ACh - 0AFh , 0B8h - 0BBh )

Article last edited on: 2004-05-20 21:03:33

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