Atmel SAM4S-XPLD Atmel ATSAM4S-XPLD ATSAM4S-XPLD Hoja De Datos

Los códigos de productos
ATSAM4S-XPLD
Descargar
Página de 1125
 201
SAM4S [DATASHEET]
11100E–ATARM–24-Jul-13
12.9.1.13Configurable Fault Status Register
Name:
SCB_CFSR
Access: Read-write
Reset: 0x000000000
• IACCVIOL: Instruction Access Violation Flag
This is part of 
0: No instruction access violation fault.
1: The processor attempted an instruction fetch from a location that does not permit execution. 
This fault occurs on any access to an XN region, even when the MPU is disabled or not present.
When this bit is 1, the PC value stacked for the exception return points to the faulting instruction. The processor has not written a 
fault address to the SCB_MMFAR register.
• DACCVIOL: Data Access Violation Flag
This is part of 
0: No data access violation fault.
1: The processor attempted a load or store at a location that does not permit the operation.
When this bit is 1, the PC value stacked for the exception return points to the faulting instruction. The processor has loaded the 
SCB_MMFAR register with the address of the attempted access.
• MUNSTKERR: Memory Manager Fault on Unstacking for a Return From Exception
This is part of 
0: No unstacking fault.
1: Unstack for an exception return has caused one or more access violations.
This fault is chained to the handler. This means that when this bit is 1, the original return stack is still present. The processor has 
not adjusted the SP from the failing return, and has not performed a new save. The processor has not written a fault address to 
the SCB_MMFAR register.
• MSTKERR: Memory Manager Fault on Stacking for Exception Entry
This is part of 
0: No stacking fault.
1: Stacking for an exception entry has caused one or more access violations. 
When this bit is 1, the SP is still adjusted but the values in the context area on the stack might be incorrect. The processor has not 
written a fault address to SCB_MMFAR register. 
31
30
29
28
27
26
25
24
DIVBYZERO
UNALIGNED
23
22
21
20
19
18
17
16
NOCP
INVPC
INVSTATE
UNDEFINSTR
15
14
13
12
11
10
9
8
BFRVALID
STKERR
UNSTKERR
IMPRECISERR
PRECISERR
IBUSERR
7
6
5
4
3
2
1
0
MMARVALID
MLSPERR
MSTKERR
MUNSTKERR
DACCVIOL
IACCVIOL