Posts in embedded-systems

ESP32 Guru Meditation: Remote Crash Diagnostics

I had been working on HardFault diagnostics for ARM Cortex-M — capturing crash logs on fault and storing them for later analysis. That naturally led me to look at how ESP32 handles the same problem, which is through its Guru Meditation mechanism. This post walks through a project that captures ESP32 coredumps to flash and uploads them over HTTP to a Flask server for remote analysis.

Read more ...


ARM Cortex M Hardfault Handling

ARM Cortex-M HardFault handling with focus on exception and interrupt behavior, exception return flow, stack usage, and debugging scenarios. Includes references from The Definitive Guide to ARM Cortex-M3/M4 Processors and practical STM32 examples such as startup code, UART I/O, and fault diagnosis.

Read more ...