O'Reilly logo

The Definitive Guide to the ARM Cortex-M3, 2nd Edition by Joseph Yiu

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required