2023-12-18 05:48 AM
HI team,
I am using stm32h723/33vgh6 development board. In that i am getting OUT of RAM memory i need to move some of runtime functions in object file to another RAM section from RAM_D1 or merge the RAM partiton into RAM_D1 to overcome from that issue.
is it possible to do merging of ram partitions to overcome the issue. i am attaching memory analyzer photo below
please give some solutions.
Solved! Go to Solution.
2023-12-18 09:27 AM
Maybe you have 1000+ variables, but you likely only have a few very large one. Manage the placement of those manually.
Other options include getting a processor with more contiguous RAM, or using external SDRAM.
2023-12-18 06:01 AM
The memory regions are often predefined in the hardware and set up in the linker script and configuration files provided by the board's vendor or manufacturer.
2023-12-18 06:04 AM
There's no way to merge them seamlessly and have the linker handle it automatically. You can assign individual variables to other regions manually.
2023-12-18 06:58 AM
is there is no possibility of merging the RAM sections manually? inbetween there is reserved memory is present. if yes please give some solutions otherwise any alternative options todo that issue solved?
2023-12-18 07:01 AM
Hi guru,
Actually here there is 1000+ variables are present and funtions also. is there any possibility to move the entire library object file into RAM section.
please provide some suggetions to solve this RAM issues.
2023-12-18 09:27 AM
Maybe you have 1000+ variables, but you likely only have a few very large one. Manage the placement of those manually.
Other options include getting a processor with more contiguous RAM, or using external SDRAM.
2023-12-18 08:01 PM
Hi guru,
So, merging is not all possible right?
2023-12-18 08:16 PM
Right, not using STM32CubeIDE.
2023-12-18 08:23 PM
Hi guru,
last one question.is there any possibility of moving entire object file particular library to RAM section not the varibles that library.
Here one of the library file only is taking 80KB of memory in RAM_D1 section if i move that library object file to RAM section in RAM_D1 having 80KB free right?
please give answer for this.
Thank you.