Skip to main content
Associate II
April 4, 2025
Question

How to adjust ram and flash memory area ?

  • April 4, 2025
  • 1 reply
  • 371 views

Hi, I am programming touchgfx and having problems configuring the configurations to use external memory but now I get these errors, how to fix it?
E:/STM32/IDE/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: Gateway_LCD_Test_CM7.elf section `ExtFlashSection' will not fit in region `FLASH'
E:/STM32/IDE/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1. win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: Gateway_LCD_Test_CM7.elf section `TouchGFX_Framebuffer' will not fit in region `RAM_D1'
E:/STM32/IDE/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1. win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: region `RAM_D1' overflowed by 1989208 bytes
E:/STM32/IDE/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.externaltools.gnu-tools-for-stm32.13.3.rel1.win32_1.0.0.202411081344/tools/bin/../lib/gcc/arm-none-eabi/13.3.1/../../../../arm-none-eabi/bin/ld.exe: region `FLASH' overflowed by 3183456 bytes.
I hope everyone can help, thank you very much !!!

NguyenAnhHieu__0-1743760673265.pngNguyenAnhHieu__1-1743760700565.pngNguyenAnhHieu__2-1743760746696.png

 

1 reply

KDJEM.1
Technical Moderator
April 18, 2025

Hello @NguyenAnhHieu_ ;

 

Which STM32 are you using?

Could you please share the LinkerScript?

I recommend you to look at this post may help you.

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.