Firmware Reliability, Part 4: Fault Handler Logging to Non-Volatile Storage
A HardFault that resets the device leaves no trace unless you log to flash before the reset. A minimal fault handler that captures PC, LR, and register state to a dedicated flash region.
A HardFault that resets the device leaves no trace unless you log to flash before the reset. A minimal fault handler that captures PC, LR, and register state to a dedicated flash region.
Overview
This note is part of the field-notes archive generated for this site. The summary below is the published excerpt; you can expand the full write-up anytime in the CMS.
Series
Part of Firmware Reliability (installment 4).
Related notes
Tags
- hardfault
- fault-handler
- firmware
- reliability
- embedded
Manish Bookreader
Electronics enthusiast, Embedded Systems Expert, Linux/Networking programmer, and Software Engineer passionate about AI, electronics, books, and cooking.