8.11.2. Interrupt

When ARM7DMT enters debug state, interrupts are automatically disabled. If interrupts are disabled during debug, ARM7DMT is never forced into an interrupt mode. Interrupts only have this effect on watchpointed accesses. They are ignored at all times on breakpoints.

If an interrupt was pending during the instruction prior to entering debug state, ARM7DMT enters debug state in the mode of the interrupt. So, on entry to debug state, the debugger cannot assume that ARM7DMT is in the expected mode of the user’s program. It must check the PC, the CPSR and the SPSR to fully determine the reason for the exception.

Debug takes higher priority than the interrupt, although ARM7DMT remembers that an interrupt has occurred.

Copyright © 1997, 1998 ARM Limited. All rights reserved.DDI 0087E