Nested Vectored Interrupt Controller
8-38
Copyright © 2005-2008 ARM Limited. All rights reserved.
ARM DDI 0337G
Non-Confidential
Unrestricted Access
Table 8-25 describes the bit assignments of the Hard Fault Status Register.
Debug Fault Status Register
Use the Debug Fault Status Register to monitor:
•
external debug requests
•
vector catches
•
data watchpoint match
•
BKPT instruction execution
•
halt requests.
Multiple flags in the Debug Fault Status Register can be set when multiple fault
conditions occur. The register is read/write clear. This means that it can be read
normally. Writing a 1 to a bit clears that bit.
Note
These bits are not set unless the event is caught. This means that it causes a stop of some
sort. If halting debug is enabled, these events stop the processor into debug. If debug is
disabled and the debug monitor is enabled, then this becomes a debug monitor handler
call, if priority permits. If debug and the monitor are both disabled, some of these events
are Hard Faults, and the DBGEVT bit is set in the Hard Fault status register, and some
are ignored.
Table 8-25 Hard Fault Status Register bit assignments
Bits
Field
Function
[31]
DEBUGEVT
This bit is set if there is a fault related to debug.
This is only possible when halting debug is not enabled. For monitor enabled debug, it only
happens for BKPT when the current priority is higher than the monitor. When both halting and
monitor debug are disabled, it only happens for debug events that are not ignored (minimally,
BKPT). The Debug Fault Status Register is updated.
[30]
FORCED
Hard Fault activated because a Configurable Fault was received and cannot activate because of
priority or because the Configurable Fault is disabled.
The Hard Fault handler then has to read the other fault status registers to determine cause.
[29:2]
-
Reserved.
[1]
VECTTBL
This bit is set if there is a fault because of vector table read on exception processing (Bus Fault).
This case is always a Hard Fault. The return PC points to the pre-empted instruction.
[0]
-
Reserved.