SLAU723A October 2017 – October 2018 MSP432E401Y , MSP432E411Y
Table 1-21 lists 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 Section 2.5.12 for more information about the fault status registers.
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) | FORCED |
MPU or default memory mismatch on instruction access | Memory management fault | Memory Management Fault Status (MFAULTSTAT) | IERR(1) |
MPU or default memory mismatch on data access | Memory management fault | Memory Management Fault Status (MFAULTSTAT) | DERR |
MPU or default memory mismatch on exception stacking | Memory management fault | Memory Management Fault Status (MFAULTSTAT) | MSTKE |
MPU or default memory mismatch on exception unstacking | Memory management fault | Memory Management Fault Status (MFAULTSTAT) | MUSTKE |
MPU or default memory mismatch during lazy floating-point state preservation | Memory management fault | Memory Management Fault Status (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 preservation | Bus fault | 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 set state(2) | Usage fault | 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 |