Keil Logo Arm Logo

MON166: STRANGE PROBLEMS USING INTERRUPTS


Information in this article applies to:

  • C166 Version 3.12
  • C166 Version 4.03

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 )

Last Reviewed: Thursday, May 20, 2004


Did this article provide the answer you needed?
 
Yes
No
Not Sure
 

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

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.

Acquisition of ARM Holdings plc. by SoftBank Group Corp.

We are pleased to inform you that on 5 September 2016, SoftBank Group Corp. acquired ARM Holdings Plc. ARM will continue to operate as an independent business within the SoftBank group.

Any current agreements between ARM Ltd (or other ARM group companies, as applicable) you / your company remain in effect as between the parties, and the parties will continue to be bound by and perform the obligations in such agreements. If you have any queries please direct these to ARMSoftbank-Notifications@arm.com.