Difference between revisions of "STM32 Internal Flash Layout"

From Stm32World Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
[[Category:STM32]][[Category:Flash]][[Category:STM32 Hardware]][[Category:STM32 Documentation]][[Category:STM32 Development]]{{metadesc|STM32 Internal Flash layout}}
 
[[Category:STM32]][[Category:Flash]][[Category:STM32 Hardware]][[Category:STM32 Documentation]][[Category:STM32 Development]]{{metadesc|STM32 Internal Flash layout}}
 
One confusing aspect of STM32 is that the flash layout differ greatly between families and even individual [[MCU]]s 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]].
 
One confusing aspect of STM32 is that the flash layout differ greatly between families and even individual [[MCU]]s 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]].
 +
 +
== STM32F030 ==
 +
 +
From [https://ipfs.subutai.io/ipfs/QmdYSkvkgnPQzyWXpfG8qXnESBLSCzGAB2PnSwWbWqagXK/rm0360-stm32f030x4x6x8xc-and-stm32f070x6xb-advanced-armbased-32bit-mcus-stmicroelectronics.pdf Reference Manual]
 +
 +
[[File:STM32F030 Flash Page Layout.png|600px]]
  
 
== STM32F103 ==
 
== STM32F103 ==

Revision as of 07:48, 1 June 2022

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.

STM32F030

From Reference Manual

STM32F030 Flash Page Layout.png

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