Chapter 12

Fault Exceptions and Fault Handling


This chapters explains the fault exception features and lockup scenario in the Cortex®-M processors, and covers the programmer’s model of processor registers related to fault handling. It also covers techniques for analyzing faults, and how to implement fault handlers in application code for error reporting.


Fault; HardFault; Usage Fault; Bus Fault; Memory Management Fault; MemManage; Fault Status Registers (FSR); Fault Address Registers (FAR); fault analysis; escalation

Chapter Outline

Get The Definitive Guide to ARM® Cortex®-M3 and Cortex®-M4 Processors, 3rd Edition now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.