How to merge the 2 RAM paritons in STM32H723/33 in between reserved area is present
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-18 5: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.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-18 9: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-18 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-18 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-18 6: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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-18 7: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-18 9: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-18 8:01 PM
Hi guru,
So, merging is not all possible right?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-18 8:16 PM
Right, not using STM32CubeIDE.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-18 8: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.
