cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H743ZI memory organization

MFawzy
Associate II

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

5 REPLIES 5

https://www.st.com/resource/en/datasheet/stm32h743zi.pdf

0693W00000KacfTQAR.jpg

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

0693W00000KacgWQAR.jpg

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
MFawzy
Associate II

Thanks!

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
Up vote any posts that you find helpful, it shows what's working..