SAM3N0A Atmel Corporation, SAM3N0A Datasheet - Page 71

no-image

SAM3N0A

Manufacturer Part Number
SAM3N0A
Description
Manufacturer
Atmel Corporation
Datasheets
10.7.1
10.7.2
11011A–ATARM–04-Oct-10
Fault types
Fault escalation and hard faults
Table 10-11
tus register, and the register bit that indicates that the fault has occurred. See
Fault Status Register” on page 181
Table 10-11. Faults
1.
All faults exceptions except for hard fault have configurable exception priority, see
dler Priority Registers” on page
faults, see
Usually, the exception priority, together with the values of the exception mask registers, deter-
mines whether the processor enters the fault handler, and whether a fault handler can preempt
another fault handler. as described in
In some situations, a fault with configurable priority is treated as a hard fault. This is called prior-
ity escalation, and the fault is described as escalated to hard fault. Escalation to hard fault
occurs when:
Fault
Bus error on a vector read
Fault escalated to a hard fault
Bus error:
Precise data bus error
Imprecise data bus error
Attempt to access a coprocessor
Undefined instruction
Attempt to enter an invalid instruction
set state
Invalid EXC_RETURN value
Illegal unaligned load or store
Divide By 0
• an internally-detected error such as an undefined instruction or an attempt to change state
• attempting to execute an instruction from a memory region marked as Non-Executable
• A fault handler causes the same kind of fault as the one it is servicing. This escalation to hard
with a BX instruction
fault occurs because a fault handler cannot preempt itself because it must have the same
priority as the current priority level.
during exception stacking
during exception unstacking
during instruction prefetch
Attempting to use an instruction set other than the Thumb instruction set.
(1)
“System Handler Control and State Register” on page
shows the types of fault, the handler used for the fault, the corresponding fault sta-
176. Software can disable execution of the handlers for these
for more information about the fault status registers.
“Exception model” on page
Handler
Hard fault
Bus fault
Usage
fault
Bit name
VECTTBL
FORCED
-
STKERR
UNSTKERR
IBUSERR
PRECISERR
IMPRECISER
R
NOCP
UNDEFINSTR
INVSTATE
INVPC
UNALIGNED
DIVBYZERO
179.
63.
Fault status register
“Hard Fault Status
Register” on page 187
-
“Bus Fault Status Register”
on page 183
“Usage Fault Status
Register” on page 185
SAM3N
“Configurable
“System Han-
(XN).
71

Related parts for SAM3N0A