cancel
Showing results for 
Search instead for 
Did you mean: 

Faulty Understanding Application Structure 1.1.0 example, which shows the Model-View-Presenter (MVP) design pattern: crashes on target

DPant.1
Associate III

Using TouchGfx 4.14.0, select "Understanding Application Structure" example and run on target (stm32f469i-disco).

It will stack overflow on the 3rd transition:

0693W000003Oa0HQAS.png

The cure is to increase stack size from 2048 to 3072 (\TouchGFXProjects\MyApplication_1\Core\Src\main.c, line 69).

Please fix!

1 ACCEPTED SOLUTION

Accepted Solutions
Romain DIELEMAN
ST Employee

Hi,

Thank you for finding this issue. We will fix this. Has a similar issue occurred for other UI templates you have tried?

/Romain

View solution in original post

3 REPLIES 3
Romain DIELEMAN
ST Employee

Hi,

Thank you for finding this issue. We will fix this. Has a similar issue occurred for other UI templates you have tried?

/Romain

DPant.1
Associate III

With stm32f469i-disco and TouchGfx 4.14.0:

  • many of the examples don't scale to full screen size (800x480) so result looks odd...

FlexButtonExample\1.1.0\

TextExample\1.1.0\

TextRotateExample\1.1.0\

ModalWindowExample\1.1.0\

LineAndCircleExample\1.1.0\

0693W000003OaR3QAK.png

  • others gives just a black screen (stack increase didn't help, so something else must be there but didn't have time to dig deeper):

PixelDataExample\1.2.0\

ListLayout\1.1.0\

TextureMapperExample\2.0.0\

ClockExample\2.0.0\

  • not building succesfully

TouchGFXDemo2\1.3.0\

        Compiling ASM gcc/startup_stm32f469xx.s
        Linking TouchGFX/build/bin/target.elf
        d:/tools/stm/sw/touchgfx/env/mingw/msys/1.0/gnu-arm-gcc/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: TouchGFX/build/bin/target.elf section `ExtFlashSection' will not fit in region `QSPI'
        d:/tools/stm/sw/touchgfx/env/mingw/msys/1.0/gnu-arm-gcc/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/bin/ld.exe: region `QSPI' overflowed by 2748568 bytes

Hope you can double check them and find fixes.

DPant.1
Associate III

PS: the "black screen" examples work if imported and rebuilt from STM32CubeIDE (Generate Code -> Browse Code -> --\STM32CubeIDE\.project -> Run).

Noticed that resulted STM32CubeIDE\Debug\STM32F469I-DISCO.hex is smaller than the original not-working TouchGFX\build\bin\target.hex and this can be seen in the map too:

0693W000003Ob66QAC.png