2022-02-25 01:12 PM
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
2022-02-25 01:50 PM
https://www.st.com/resource/en/datasheet/stm32h743zi.pdf
2022-02-25 01:54 PM
2022-02-25 02:01 PM
Thanks!
2022-02-25 02:04 PM
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.
2022-02-25 02:09 PM