AnsweredAssumed Answered

STM32f4x and Data section

Question asked by n.serina on Sep 4, 2017
Latest reply on Sep 8, 2017 by n.serina

Hello, 

I need small clarifications about  .data section placement in the STM32F446x mcu. 

Let say i have a global array in the program and if i run the program on MCU, 

The arry can be located at 0x20000000 address onwards . 

How did that array came to that location ? I dont see any code in my project (built using KEIL) which copies data section from flash to SRAM. 

and as far i know, code region will be mapped to flash memory and not to SRAM. 

Can anybody please help me to understand how did .data section moves from flash to SRAM ? is it done through sofware or hardware remapping ? Thanks

Outcomes