Atmel Xplained Pro Evaluation Kit ATSAM4E-XPRO ATSAM4E-XPRO Data Sheet

Product codes
ATSAM4E-XPRO
Page of 1506
255
SAM4E [DATASHEET]
Atmel-11157D-ATARM-SAM4E16-SAM4E8-Datasheet_12-Jun-14
12.9.1.15  Hard Fault Status Register
Name:
SCB_HFSR
Access: Read/Write
Reset: 0x000000000
The SCB_HFSR gives information about events that activate the hard fault handler. This register is read, write to clear. 
This means that bits in the register read normally, but wrting a 1 to any bit clears that bit to 0. 
DEBUGEVT: Reserved for Debug Use 
When writing to the register, write a 0 to this bit, otherwise the behavior is unpredictable.
FORCED: Forced Hard Fault
It indicates a forced hard fault, generated by escalation of a fault with configurable priority that cannot be handles, either 
because of priority or because it is disabled:
0: No forced hard fault.
1: Forced hard fault.
When this bit is set to 1, the hard fault handler must read the other fault status registers to find the cause of the fault.
VECTTBL: Bus Fault on a Vector Table
It indicates a bus fault on a vector table read during an exception processing:
0: No bus fault on vector table read.
1: Bus fault on vector table read.
This error is always handled by the hard fault handler.
When this bit is set to 1, the PC value stacked for the exception return points to the instruction that was preempted by the 
exception.
Note: The HFSR bits are sticky. This means that, as one or more fault occurs, the associated bits are set to 1. A bit that is set to 1 is 
cleared to 0 only by wrting a 1 to that bit, or by a reset.
31
30
29
28
27
26
25
24
DEBUGEVT
FORCED
23
22
21
20
19
18
17
16
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
VECTTBL