Figure 8-20 Hard Fault Status Register Bit Assignments - ARM Cortex-M3 Technical Reference Manual

R2p0
Hide thumbs Also See for Cortex-M3:
Table of Contents

Advertisement

Bits
Field
[2]
INVPC
[1]
INVSTATE
[0]
UNDEFINSTR
31 30
ARM DDI 0337G
Unrestricted Access
Table 8-24 Usage Fault Status Register bit assignments (continued)
Function
Attempt to load EXC_RETURN into PC illegally. Invalid instruction, invalid context, invalid
value. The return PC points to the instruction that tried to set the PC.
Invalid combination of EPSR and instruction, for reasons other than UNDEFINED
instruction. Return PC points to faulting instruction, with the invalid state.
The UNDEFINSTR flag is set when the processor attempts to execute an undefined
instruction. This is an instruction that the processor cannot decode. The return PC points to
the undefined instruction.
Note
The fault bits are additive if more than one fault occurs before this register is cleared.
Hard Fault Status Register
Use the Hard Fault Status Register (HFSR) to obtain information about events that
activate the Hard Fault handler.
The register address, access type, and Reset state are:
Address
0xE000ED2C
Access
Read/write-one-to-clear
Reset state
0x00000000
The HFSR is a write-clear register. This means that writing a 1 to a bit clears that bit.
Figure 8-20 shows the bit assignments of the Hard Fault Status Register.
29
FORCED
DEBUGEVT
Copyright © 2005-2008 ARM Limited. All rights reserved.
Reserved

Figure 8-20 Hard Fault Status Register bit assignments

Non-Confidential
Nested Vectored Interrupt Controller
VECTTBL
Reserved
2 1 0
8-37

Advertisement

Table of Contents
loading

Table of Contents