Tag
Cortex-M4
Technical notes tagged Cortex-M4.
2026-12-04
Cortex-M Unaligned Access Faults: Why a Cast Packed-Struct Parser Crashes on LDRD, and How to Fix It
A protocol parser that works for months then raises a UsageFault or HardFault on a 4-byte-aligned-looking buffer: which Cortex-M instructions tolerate unaligned addresses, which never do, and safe ways to read wire data.
→
2026-06-18
STM32 FPU Configuration at Register Level:Enabling, Lazy Stacking, and Hard Fault Pitfalls
STM32 FPU configuration at register level on Cortex-M4 and M7: enabling the FPU via CPACR, lazy stacking, compiler ABI flags, and the most common hard fault causes. Practical guide for senior embedded engineers.
→