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

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.