Chapter 12

Fault Exceptions and Fault Handling

Abstract

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.

Keywords

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 O’Reilly online learning.

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