April 2011
Intermediate to advanced
384 pages
8h 13m
English
APPENDIX E Cortex-M3 Troubleshooting Guide
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
The MMSR, BFSR, and UFSR registers can be accessed in one go using a word transfer instruction. In this situation the combined fault status register is called the Configurable Fault Status Register (CFSR).
Another important piece of information is the stacked Program Counter (PC). This is located in memory address [SP + 0x24]. Since there ...
Read now
Unlock full access