Posted in 2025

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


QEMU Essentials

QEMU is the Queen of all Emus

neofetch

Read more ...


Arenas

Writing a memroy allocator for bare-metal systems.

Read more ...


Getting to know lambdas in C++

\(\lambda\)s in C++: Nameless functions serving sweet syntactic sugar — just enough to give your codebase diabetes.

Read more ...


Advent of Code 2024 [Days 10 and 11]

The plutonian pebbles are getting out of hand! And we also have to find a hiking trail.

TopographicalMap.png

Read more ...


Learning CPP via Advent of Code 2024 [Day 9]

This isn’t how you’re supposed to defrag a disk… right?

defragging deez nuts

Read more ...


Advent of Code 2024 [Days 6 to 8]

This is my progress log for Advent of Code 2024, where I’m tackling the challenges using C++ to get good at the language. Contains work of Day 6 to Day 8.

Read more ...


Learning CPP via Advent of Code 2024 [Days 1 to 5]

This is my progress log for Advent of Code 2024, where I’m tackling the challenges using C++ to get good at the language.

Read more ...