Could you please explain this generated error in CubeIDE?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-04 9:40 PM - last edited on ‎2024-11-05 12:28 AM by mƎALLEm
"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.
- Labels:
-
TouchGFX Designer
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-05 2:07 AM
- 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-05 2:21 AM
There is no issue adding SDRAM and the error you are showing does not have any relation to the usage of SDRAM.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-05 3: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-05 3:26 AM - edited ‎2024-11-05 4: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-05 4:36 AM
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-05 4:41 AM - edited ‎2024-11-05 4: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-11-07 3: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
