English
Language : 

TM4C1232E6PM Datasheet, PDF (101/1171 Pages) Texas Instruments – Tiva Microcontroller
Tiva™ TM4C1232E6PM Microcontroller
2.6.1
2.6.2
■ 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 101 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 166 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
Hard Fault Status (HFAULTSTAT)
MPU or default memory mismatch on Memory management Memory Management Fault Status
instruction access
fault
(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
MPU or default memory mismatch
during lazy floating-point state
preservation
Memory management Memory Management Fault Status
fault
(MFAULTSTAT)
MLSPERR
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
Bus error during lazy floating-point state Bus fault
preservation
Bus Fault Status (BFAULTSTAT)
BLSPE
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-multiply instruction
with ICI continuation.
Fault Escalation and Hard Faults
All fault exceptions except for hard fault have configurable exception priority (see SYSPRI1 on
page 159). Software can disable execution of the handlers for these faults (see SYSHNDCTRL on
page 162).
June 12, 2014
101
Texas Instruments-Production Data