STM32 Series #3: Struct Padding and Alignment in Memory

Use the STM32 debugger Memory view to observe struct padding and alignment in C. See why sizeof() doesn’t always equal the sum of member sizes, learn how to reduce RAM usage by reordering members, and understand volatile through actual byte-level inspection.

March 6, 2026 · Updated: March 12, 2026 · 19 min · 

STM32 Series #2: Where Variables Live — Flash, RAM, and the Stack

C variable declarations (const, global, local) determine which memory region data lands in. Use the debugger to verify actual addresses and understand the difference and purpose of Flash, SRAM, and the Stack.

March 1, 2026 · 17 min · 

STM32 Series #1: The Microcontroller as an Address World

Use the STM32CubeIDE debugger to observe the microcontroller’s internal state as your program runs. Understand the physical ‘address’ coordinates underlying C code — program counter, memory map, register writes — and experience the embedded address world through real measurements.

February 23, 2026 · 13 min ·