cancel
Showing results for 
Search instead for 
Did you mean: 

Could you please explain this generated error in CubeIDE?

PM.5
Associate III

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

 

1 ACCEPTED SOLUTION

Accepted Solutions
SofLit
ST Employee

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.

View solution in original post

8 REPLIES 8
SofLit
ST Employee

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
Associate III

 

  • 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.

 

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
Associate III

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.

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
Associate III

 

      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.

I've already said that you need to relocate the ExtFlashSection section to the QSPI in the linker file:

 

  ExtFlashSection :
	{
		*(ExtFlashSection ExtFlashSection.*)
		*(.gnu.linkonce.r.*)
        . = ALIGN(0x4);
	} >QUADSPI

 

 SDRAM has no relation to the error you shared.

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
Associate III

I'm encountering a warning when trying to build my project: memory region 'QUADSPI' and 'SDRAM' not declared. Although the errors are cleared by linker section code, the code does not proceed to the debugging stage.

why i go to NOR flash for storage purposes, and SDRAM is also available for storage on the STM32F746G Discovery board. How can I resolve this issue? please help me sir