English
Language : 

LM3S6100 Datasheet, PDF (76/559 Pages) Texas Instruments – Stellaris® LM3S6100 Microcontroller
The Cortex-M3 Processor
2.6.1
2.6.2
■ A bus error on an instruction fetch or vector table load or a data access.
■ An internally detected error such as an undefined instruction or an attempt to change state with
a BX instruction.
■ Attempting to execute an instruction from a memory region marked as Non-Executable (XN).
■ An MPU fault because of a privilege violation or an attempt to access an unmanaged region.
Fault Types
Table 2-11 on page 76 shows the types of fault, the handler used for the fault, the corresponding
fault status register, and the register bit that indicates the fault has occurred. See page 129 for more
information about the fault status registers.
Table 2-11. Faults
Fault
Handler
Fault Status Register
Bit Name
Bus error on a vector read
Hard fault
Hard Fault Status (HFAULTSTAT)
VECT
Fault escalated to a hard fault
Hard fault
MPU or default memory mismatch on Memory management
instruction access
fault
Hard Fault Status (HFAULTSTAT)
Memory Management Fault Status
(MFAULTSTAT)
FORCED
IERR a
MPU or default memory mismatch on Memory management Memory Management Fault Status
data access
fault
(MFAULTSTAT)
DERR
MPU or default memory mismatch on Memory management Memory Management Fault Status
exception stacking
fault
(MFAULTSTAT)
MSTKE
MPU or default memory mismatch on Memory management Memory Management Fault Status
exception unstacking
fault
(MFAULTSTAT)
MUSTKE
Bus error during exception stacking Bus fault
Bus Fault Status (BFAULTSTAT)
BSTKE
Bus error during exception unstacking Bus fault
Bus Fault Status (BFAULTSTAT)
BUSTKE
Bus error during instruction prefetch Bus fault
Bus Fault Status (BFAULTSTAT)
IBUS
Precise data bus error
Bus fault
Bus Fault Status (BFAULTSTAT)
PRECISE
Imprecise data bus error
Bus fault
Bus Fault Status (BFAULTSTAT)
IMPRE
Attempt to access a coprocessor
Usage fault
Usage Fault Status (UFAULTSTAT) NOCP
Undefined instruction
Usage fault
Usage Fault Status (UFAULTSTAT) UNDEF
Attempt to enter an invalid instruction Usage fault
set state b
Usage Fault Status (UFAULTSTAT) INVSTAT
Invalid EXC_RETURN value
Usage fault
Usage Fault Status (UFAULTSTAT) INVPC
Illegal unaligned load or store
Usage fault
Usage Fault Status (UFAULTSTAT) UNALIGN
Divide by 0
Usage fault
Usage Fault Status (UFAULTSTAT) DIV0
a. Occurs on an access to an XN region even if the MPU is disabled.
b. Attempting to use an instruction set other than the Thumb instruction set, or returning to a non load-store-multiple instruction
with ICI continuation.
Fault Escalation and Hard Faults
All fault exceptions except for hard fault have configurable exception priority (see SYSPRI1 on
page 122). Software can disable execution of the handlers for these faults (see SYSHNDCTRL on
page 125).
76
June 18, 2012
Texas Instruments-Production Data