2026-03-16 6:15 AM
I use touchgfx on u599 ,internal flash is 4MB.
My project have 2.4M fonts and images,so I devide internal flash to two parts,like this:
RAM (xrw) : ORIGIN = 0x20000000, LENGTH = 2496K
SRAM4 (xrw) : ORIGIN = 0x28000000, LENGTH = 16K
FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 1024K
ASSETSFLASH (rx) : ORIGIN = 0x08100000, LENGTH = 3096K
because the assets are not changed everytime ,So I am thinking stop CUBEIDE to download
ASSETSFLASH and only download FLASH form 0x08000000.
How can I do this ?
Solved! Go to Solution.
2026-03-16 6:36 AM
As stated by @Radosław , using NOLOAD.
Example:
TextFlashSection (NOLOAD):
{
*(TextFlashSection TextFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >Flash
2026-03-16 6:17 AM
NOLOAD in linkerscript, that is all You need.
2026-03-16 6:36 AM
As stated by @Radosław , using NOLOAD.
Example:
TextFlashSection (NOLOAD):
{
*(TextFlashSection TextFlashSection.*)
*(.gnu.linkonce.r.*)
. = ALIGN(0x4);
} >Flash
2026-03-16 7:02 AM
Thanks,it works.