2024-11-04 09:40 PM - last edited on 2024-11-05 12:28 AM by SofLit
"I implemented SDRAM for LTDC to interface with TOUCHGFX and got this following errors. Did I make any mistakes? Can anyone help me?"
Solved! Go to Solution.
2024-11-05 12:27 AM
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.
2024-11-05 12:27 AM
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.
2024-11-05 02:07 AM
2024-11-05 02:21 AM
There is no issue adding SDRAM and the error you are showing does not have any relation to the usage of SDRAM.
2024-11-05 03:22 AM
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.
2024-11-05 03:26 AM - edited 2024-11-05 04:13 AM
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.
2024-11-05 04:36 AM
I am using STM32F746G DISCOVERY BOARD IN MY PROJECT.
2024-11-05 04:41 AM - edited 2024-11-05 04:42 AM
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.
2024-11-07 03:51 AM
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