APPENDIX E

Cortex-M3 Troubleshooting Guide

E.1 Overview

One of the challenges of using the Cortex™-M3 is to locate problems when the program goes wrong. The Cortex-M3 processor provides a number of Fault Status registers to assist in troubleshooting (see Table E.1).

Table E.1

Fault Status Registers on Cortex-M3

AddressRegisterFull NameSize
0xE000ED28MMSRMemManage Fault Status registerByte
0xE000ED29BFSRBus Fault Status registerByte
0xE000ED2AUFSRUsage Fault Status registerHalf word
0xE000ED2CHFSRHard Fault Status registerWord
0xE000ED30DFSRDebug Fault Status registerWord
0xE000ED3CAFSRAuxiliary Fault Status registerWord

Image

The MMSR, BFSR, and UFSR registers ...

Get The Definitive Guide to the ARM Cortex-M3, 2nd 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.