Skip to main content
zekeriya
Associate III
Feb 21, 2020 12:11 PM UTC
Question

Powerup problem TouchGFX with STM32F746

I am working with touchGFX on the custom board with STM32F746. A 2-screen touchgfx application works without problems when debugging with cubeMXIDE. It doesn't work when I remove the STlink and powerup it. I put a heartbeat to understand that the processor is working. If I comment out the line MX_TouchGFX_Init (), then heartbeat works after powerup. I am using QUADSPI bank1 and SDRAM bank 2. FreeRtos is not used.

This topic has been closed for replies.

1 reply

zekeriya
zekeriyaAuthor
Associate III
Feb 22, 2020 8:47 AM UTC

GCC linker script was incorrect. It should be as follows:

ExtFlashSection :

{

   *(ExtFlashSection ExtFlashSection.*)

   *(FontFlashSection FontFlashSection.*)

   *(ExtFlashSection TextFlashSection.*)

   *(.gnu.linkonce.r.*)

   . = ALIGN(0x4);

} >QUADSPI