Keil Logo


Information in this article applies to:

  • C166 Version 3.12
  • C166 Version 4.03


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.


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?
Not Sure
  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.