cancel
Showing results for 
Search instead for 
Did you mean: 

touchGFX has problems after modifying the linker file

FCola.1
Associate III

Hello everyone, 

I am using a STM32H750xx custom board with TouchGFX 4.24.1 and IAR version 9.40.2. I have an external flash memory using QSPI with memory mapped mode.

I am encountering an issue after a firmware update is done. Here it is what I have done: 

1) My firmware version 1.0.0 has an icf file with read only data located at 0x90000000-0x900FFFFF and Image,text and font located at 0x90100000-0x903FFFFF (as TouchGFX 's documentation says, I am using those keywords section ExtFlashSection, section TextFlashSection , section FontFlashSection in order to put image, text and fonts in external flash memory). It looks like this:  

place in ROM_TGFX_region { readonly };
place in QSPI_TGFX_region { first section ExtFlashSection
, section TextFlashSection
, section FontFlashSection };

 

where ROM_TGFX_region is from 0x90000000 - to 0x900FFFFF; 

          QSPI_TGFX_region  is from 0x90100000 - to 0x903FFFFF;

if I do a fw update with this configuration I have no problems. 

2) I had to make changes in my icf file (for development reason) and now the read only data are located from 0x90000000 to 0x901FFFFF and image, text and fonts are located into 0x90200000 - 0x903FFFFF. If I try a fw update with this icf file from my first icf's configuration, I am seeing graphic glitches in my screen. 

 

I have already checked that the firmware loaded into mcu's memory is the same as that of the update file. Am I forgetting something in TouchGFX's configuration? 

I am erasing all the flash used by application in the bootloader and I have already choosen "ExtFlashSection" in "Section" and "ExtraSection" in TouchGFX's designer.

 

Any suggestions? 

 

Best regards

 

0 REPLIES 0