|
H753_CPP_AS6C4008_FMC_DaughterBoard_02
|
This page documents the linker and startup mechanics that support initialized application objects stored in external FMC SRAM.
The normal execution linker script is STM32H753ZITX_FLASH.ld.
It defines:
0x60000000.sramdata output section placed into that region at runtimeglobalDataCopy.sThe following symbols coordinate the startup copy path:
_sisram : FLASH load address of initialized .sramdata_ssramdata : start address of .sramdata in external SRAM_esramdata : end address of .sramdata in external SRAMThe linker aligns the section boundaries to 4-byte addresses so the startup helper can copy the section as 32-bit words.
On STM32H753, the linker-defined SRAM window and the MPU configuration must remain consistent.
The validated MPU settings use:
0x60000000MPU_REGION_SIZE_512KBThis is intentionally matched to the physical 512 KB AS6C4008 device so the protected region and the actual SRAM footprint describe the same address range.
STM32H753ZITX_RAM.ld remains a separate debug-in-RAM linker script. It is documented here so the project layout remains complete, but the external SRAM integration flow described in this project is built around the FLASH linker script.