SAM3X8E Atmel Corporation, SAM3X8E Datasheet - Page 182

no-image

SAM3X8E

Manufacturer Part Number
SAM3X8E
Description
Manufacturer
Atmel Corporation
Datasheets
11.21.11.1
• MMARVALID
Memory Management Fault Address Register (MMAR) valid flag:
0: value in MMAR is not a valid fault address
1: MMAR holds a valid fault address.
If a memory management fault occurs and is escalated to a hard fault because of priority, the hard fault handler must set
this bit to 0. This prevents problems on return to a stacked active memory management fault handler whose MMAR value
has been overwritten.
• MSTKERR
Memory manager fault on stacking for exception entry:
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 the MMAR.
• MUNSTKERR
Memory manager fault on unstacking for a return from exception:
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 proces-
sor 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 MMAR.
• DACCVIOL
Data access violation flag:
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 MMAR with the address of the attempted access.
• IACCVIOL
Instruction access violation flag:
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 MMAR.
182
182
MMARVALID
7
SAM3X/A
SAM3X/A
Memory Management Fault Status Register
6
Reserved
The flags in the MMFSR indicate the cause of memory access faults. The bit assignments are:
5
MSTKERR
4
MUNSTKERR
3
Reserved
2
DACCVIOL
1
11057A–ATARM–17-Feb-12
11057A–ATARM–17-Feb-12
IACCVIOL
0

Related parts for SAM3X8E