STM32 Internal Flash Layout

From Stm32World Wiki
Revision as of 03:37, 10 July 2021 by Lth (talk | contribs)
Jump to navigation Jump to search

One confusing aspect of STM32 is that the flash layout differ greatly between families and even individual MCUs within a family. On some families flash can be erased by page - typically 1 KB or 2 KB. On others erase can only be done per sector and the sectors are not of the same size. The information is in the reference manual of each MCU.

STM32F103

From Reference Manual

STM32F103xx Flash Page Layout.png

STM32L432

From Reference Manual

STM32L432 Flash Page Layout.png

STM32F405

From Reference Manual

STM32F4xx Flash Sector Layout.png

STM32F411

From Reference Manual:

STM32F411 Flash Sector Layout.png