Functional Peripherals Registers
151
SLAU356I – March 2015 – Revised June 2019
Copyright © 2015–2019, Texas Instruments Incorporated
Cortex-M4F Peripherals
2.4.5.12 HFSR Register (Offset = D2Ch) [reset = 00000000h]
HFSR is shown in
and described in
.
Hard Fault Status Register. Use the Hard Fault Status Register (HFSR) to obtain information about events
that activate the Hard Fault handler. The HFSR is a write-clear register. This means that writing a 1 to a
bit clears that bit
Figure 2-62. HFSR Register
31
30
29
28
27
26
25
24
DEBUGEVT
FORCED
RESERVED
R/W-0h
R/W-0h
R/W-0h
23
22
21
20
19
18
17
16
RESERVED
R/W-0h
15
14
13
12
11
10
9
8
RESERVED
R/W-0h
7
6
5
4
3
2
1
0
RESERVED
VECTTBL
RESERVED
R/W-0h
R/W-0h
R/W-0h
Table 2-70. HFSR Register Field Descriptions
Bit
Field
Type
Reset
Description
31
DEBUGEVT
R/W
0h
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
R/W
0h
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
R/W
0h
1
VECTTBL
R/W
0h
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
R/W
0h