Skip to main content
MFawzy
Associate III
February 25, 2022
Question

STM32H743ZI memory organization

Hello,

I'm using STM32H743ZI and i noticed that STM32CubeIDE is generating a linker file with the following memory partitions:

MEMORY

{

 FLASH (rx)  : ORIGIN = 0x08000000, LENGTH = 2048K

 RAM (xrw)  : ORIGIN = 0x20000000, LENGTH = 128K

 RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = 512K

 RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K

 RAM_D3 (xrw) : ORIGIN = 0x38000000, LENGTH = 64K

 ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K

}

and when i check the data sheet of this part (if i was correct) about the memory information, it was as the following:

Up to 1 Mbyte of RAM: 192 Kbytes of TCM RAM (inc. 64 Kbytes of ITCM RAM + 128 Kbytes of DTCM RAM for time critical routines), Up to 864 Kbytes of user SRAM, and 4 Kbytes of SRAM in Backup domain

So where can i find the same linker information in the datasheet or anywhere else?

Thanks,

Mohammed

This topic has been closed for replies.

5 replies

Tesla DeLorean
Guru
February 25, 2022
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
February 25, 2022

0693W00000KacgWQAR.jpg

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
MFawzy
MFawzyAuthor
Associate III
February 25, 2022

Thanks!

Tesla DeLorean
Guru
February 25, 2022

The datasheet is a bit of a dog's breakfast in terms of presenting the information in an entirely coherent way. The linker script also amalgamates blocks of RAM that share a contiguous address space, as this allows the linker to allocate them as one, rather than try to play tetris. Some blocks also appear in two places (shadow) within the 4GB address space.

0693W00000KachoQAB.jpg

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
February 25, 2022
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..