Flash, SRAM, ROM
Flash is non-volatile memory commonly used to store firmware. SRAM is volatile memory used while the program is running, including variables, stack and buffers. ROM is a general term for non-volatile read-only storage; on modern MCUs, vendor documentation may use different names for boot ROM, system memory or other fixed memory regions. Always use the specific MCU reference manual and memory map when making an implementation decision.
CORE IDEA
Flash → firmware / constants
ENGINEERING VIEW
SRAM → variables, stack, buffers
WHAT TO CHECK
Boot/system memory may contain factory code
REMEMBER
Memory size and placement affect linker configuration
Engineer’s checklist
- Flash → firmware / constants
- SRAM → variables, stack, buffers
- Boot/system memory may contain factory code
- Memory size and placement affect linker configuration
// Level 0 practical notes
// Next iteration: register diagrams + full STM32 examples.