Skip to main content
PM.5
Associate III
November 5, 2024
Solved

Could you please explain this generated error in CubeIDE?

  • November 5, 2024
  • 3 replies
  • 3920 views

"I implemented SDRAM for LTDC to interface with  TOUCHGFX and got this following errors. Did I make any mistakes? Can anyone help me?"

 

Best answer by mƎALLEm

Hello,

According to this log, it seems you have a section that needs to be set to the external Flash NOR but you put it in the to internal Flash which cannot contain that section size. 

SofLit_0-1730795097871.png

 

3 replies

mƎALLEm
mƎALLEmBest answer
Technical Moderator
November 5, 2024

Hello,

According to this log, it seems you have a section that needs to be set to the external Flash NOR but you put it in the to internal Flash which cannot contain that section size. 

SofLit_0-1730795097871.png

 

"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."
PM.5
PM.5Author
Associate III
November 5, 2024

 

  • Board: STM32F746G
  • Objective: I enabled SDRAM in my project to access more memory (16MB of SDRAM) as our internal Flash memory is limited to 1MB.
  • Issue: TOUCHGFX image data is not storing in the external SDRAM as expected.
  • Question: I want to know if using SDRAM for this project will cause any issues and seek help with resolving this.

 

mƎALLEm
Technical Moderator
November 5, 2024

There is no issue adding SDRAM and the error you are showing does not have any relation to the usage of SDRAM.

"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."
PM.5
PM.5Author
Associate III
November 5, 2024

In my project, I’m interfacing LTDC with TouchGFX on the STM32F746G board. However, the TouchGFX image data size exceeds the internal flash memory capacity (1MB). To solve this, I decided to use SDRAM, but new errors have occurred. This is my problem. How can I resolve these errors? Please help me solve this issue. Below, I have also shared my project file for your reference.

mƎALLEm
Technical Moderator
November 5, 2024

I'm not expert of TouchGFX but your issue is related to the RO data not to Read/write data. So you need an external Flash NOR such as QSPI/OSPI/XSPI etc .. to load the TouchGFX assets in it (images, texts etc ..). This is not suitable function for SDRAM.

As you are using STM32F746G MCU (I don't know what board you are using) you need to add an external Flash NOR such as QSPI.

"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."
PM.5
PM.5Author
Associate III
November 5, 2024

 

      I am using STM32F746G DISCOVERY BOARD IN MY PROJECT.

  • 128-Mbit SDRAM (64 Mbits accessible) IN STM32F746G DISCOVER KIT
  • 128-Mbit Quad-SPI Flash memory
  • Give me any solution for these problem.