Difference between revisions of "STM32 Internal Flash Layout"
Jump to navigation
Jump to search
(7 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:STM32]][[Category:Flash]][[Category:STM32 Hardware]][[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 == | ||
Line 7: | Line 13: | ||
[[File:STM32F103xx Flash Page Layout.png|600px]] | [[File:STM32F103xx Flash Page Layout.png|600px]] | ||
+ | |||
+ | == STM32L0x2 and STM32L0x3 == | ||
+ | From [https://www.st.com/resource/en/reference_manual/rm0376-ultralowpower-stm32l0x2-advanced-armbased-32bit-mcus-stmicroelectronics.pdf Reference Manual] and [https://www.st.com/resource/en/reference_manual/DM00095744-.pdf Reference Manual] | ||
+ | |||
+ | [[File:STM32L0x2 Flash Page Layout.png|600px]] | ||
+ | |||
+ | == STM32L151 == | ||
+ | |||
+ | From [https://www.st.com/resource/en/reference_manual/rm0038-stm32l100xx-stm32l151xx-stm32l152xx-and-stm32l162xx-advanced-armbased-32bit-mcus-stmicroelectronics.pdf Reference Manual] | ||
+ | |||
+ | [[File:STM32L151 Flash Layout.png|600px]] | ||
== STM32L432 == | == STM32L432 == |
Latest revision as of 08:49, 24 June 2023
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
STM32F103
From Reference Manual
STM32L0x2 and STM32L0x3
From Reference Manual and Reference Manual
STM32L151
From Reference Manual
STM32L432
From Reference Manual
STM32F405
From Reference Manual
STM32F411
From Reference Manual: