2024-07-09 01:38 AM
TouchGFX+LCD control
External flash memory is being used.
However, when TextArea is used, TEXT is not displayed properly.
So, I used INTERNAL FLASH MEMORY only for TEXT and FONT and it worked normally.
What am I missing??
The memory settings are as follows.
ExtFlashSection:
{
*(ExtFlashSection ExtFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >QUADSPI
FontFlashSection:
{
*(FontFlashSectionFontFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >FLASH
TextFlashSection:
{
*(TextFlashSectionTextFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >FLASH
2024-07-10 01:49 AM
Hello @jschoi ,
Could you first confirm that your external flash is working correctly?
There are documents available here on how to set up your external flash properly and test its functionality. Please follow them, and when you are sure your external flash is working correctly, then start from a very simple application and monitor the context of the framebuffer to ensure it is carrying the right data.
The configuration of the linker script you have sent is correct for the case where Font and Text are placed in internal flash. Don't forget to place them back in external flash (QUADSPI) for your application tests.
I hope this helps you. Don't hesitate to ask more questions