|
|||||||||||
|
Technical Support Support Resources
Product Information |
L166: Memory Space Overlap using MON166 and NMIInformation in this article applies to:
QUESTIONI receive the following warning when linking my C166 program.
This seems to be in the interrupt vector table space. When I download the program (with the warnings) using Monitor-166, the monitor gives me a message that indicates I have overwritten this memory area. I tried to reserve this memory area according to the Monitor-166 documentation. Specifically, I have reserved 8h-0Bh and 0ACh-0AFh using the Options for Target - L166 Misc - Reserve input line in µVision. What am I doing wrong? ANSWERIt is most likely that you have defined an interrupt function for the TRAP interrupt vector using the TRAPS.C module to handle the hardware traps of the 166 CPU (NMI is one of these traps). However, Monitor-166 uses the NMI interrupt for breakpoints. This is why you get the warning from the linker and Monitor-166. If this is the case, you must exclude the interrupt 0x02 function. One way to do this is to use #if 0. For example:
MORE INFORMATIONLast Reviewed: Thursday, February 25, 2021 | ||||||||||
|
|||||||||||
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.