Skip to main content
Associate
December 18, 2023
Solved

How to merge the 2 RAM paritons in STM32H723/33 in between reserved area is present

  • December 18, 2023
  • 2 replies
  • 3403 views

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

Vengababu_0-1702907016864.png

please give some solutions.




    This topic has been closed for replies.
    Best answer by TDK

    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.

    2 replies

    Visitor II
    December 18, 2023

    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.

    VengababuAuthor
    Associate
    December 18, 2023

    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?

    TDK
    December 18, 2023

    There's no way to merge them seamlessly and have the linker handle it automatically. You can assign individual variables to other regions manually.

    "If you feel a post has answered your question, please click ""Accept as Solution""."
    VengababuAuthor
    Associate
    December 18, 2023

    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.

     

    TDK
    TDKBest answer
    December 18, 2023

    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.

    "If you feel a post has answered your question, please click ""Accept as Solution""."