Difference between revisions of "STM32 Memory Map"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
[[File:STM32 Memory Detail.png|800px]] | [[File:STM32 Memory Detail.png|800px]] | ||
</div> | </div> | ||
+ | |||
+ | Of these, the most interesting for a new developer are: | ||
+ | |||
+ | * Flash - 0x8000000 | ||
+ | |||
+ | This is where you upload your application. | ||
+ | |||
+ | * RAM - 0x20000000 | ||
+ | |||
+ | This is where dynamic variables are allocated. | ||
+ | |||
+ | All internal peripherals are controlled through registers - each with a specific address. But if using [[HAL]] it is not necessary to know these addresses. |
Revision as of 05:20, 31 August 2024
STM32 MCUs all (?) use the following memory map to some degree. There are minor differences so always check the relevant datasheet for the specific MCU being used.
The most interesting bit is the detail in the lower left corner specifying the two first blocks of memory:
Of these, the most interesting for a new developer are:
- Flash - 0x8000000
This is where you upload your application.
- RAM - 0x20000000
This is where dynamic variables are allocated.
All internal peripherals are controlled through registers - each with a specific address. But if using HAL it is not necessary to know these addresses.