2023-06-28 11:41 PM
I've noticed that STM32H743ZIT6 is divided in to three RAM regions (RAM_D1,RAM_D2,RAM_D3).
So I want to expand one map region for example RAM_D1 and make it one. Like this:
Can I do that? How can I achieve it because in console I get :
2023-06-28 11:57 PM - edited 2023-06-28 11:58 PM
Only Chuck Norris could do that, and he has retired long ago.
For a large solid RAM block use external memory on FMC.
2023-06-29 12:21 AM
:face_with_tears_of_joy:Or maybe can be doable when RAM_D1 is full it goes to RAM_D2?
2023-06-29 12:58 AM - edited 2023-06-29 01:01 AM
AFAIK the GNU ARM linker from ST toolchain does not move to other memories automatically. And developers usually do not want this, rather they want tight control over what goes where. These RAMs have different properties.
2023-06-29 04:37 PM
The linker file describes where the RAM is in the memory map, not where you want it to be.
For you to get a contiguous block of RAM, each of the RAM_Dx regions have to be contiguous to begin with. But RAM_D1 goes from 0x2400 0000 for 512k to 0x2408 0000, not 0x3000 0000. So you have a gap of 191MB in between.
That's like saying that you'd like to have Canada butted next to England because it would be more convenient to get Jelly Babies. Just redrawing the map isn't going to move the continents.