2022-07-28 02:19 PM
My program does not fit into RAM region as stated in the title. However, I need to fit it somehow. How can I do it? Is it OK if I use SDRAM? Or how to decrease the usage of RAM?
Btw, my board is STM32F746G-DISCO. Where can I find information about SDRAM, or memory of my board?
2022-07-28 02:59 PM
You have an MCU, not an MPU, tagging changed.
Use less
Understand where you're currently consuming it all.
Perhap large global arrays?
There is a manual, and circuit diagram for the board.
There should BSP example code for the board which brings up the SDRAM
There should be a section with the .LD linker script allowing you to direct content into SDRAM
2022-07-28 03:02 PM
STM32Cube_FW_F7_V1.16.0\Projects\STM32746G-Discovery\Examples\BSP\Src\sdram.c
STM32Cube_FW_F7_V1.16.0\Drivers\BSP\STM32746G-Discovery\stm32746g_discovery_sdram.c
2022-07-28 03:07 PM
You have not explained anything about how that memory is used.
The board has a user manual and schematics, both of which can be downloaded at the board's home page.