cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Designer Flashing Issue

yu_jay
Associate II

In TouchGFX version 4.18.0, after modifying the screen Designer output and using STM32CubeIDE for compilation, an error occurs after flashing, as shown in the attachment "error". I only modified the text definitions. Before the change(Correct_settings),allows for correct flashing, but after the change(error_settings),shows an error flashing.

  1. How can I check the permissible limit for text definitions? Is it related to memory size?
  2. Is it possible to make the changes so that flashing works correctly?

Please assist, thank you.

4 REPLIES 4
GaetanGodart
ST Employee

Hello @yu_jay ,

 

I am not sure this issue is related to size.

But if you want to reduce the size that the fonts take, since you use the same font in many different sizes, it is possible in more recent version of TouchGFX Designer to use vector font which gives a vector representation of the fonts to save memory so upgrading to the latest version of TouchGFX Designer could be beneficial!

In "error_3.png", you do multiple things, you add the "Typography_01", 02 and 03 but you also set a wildcard range to the typography "msjh_50" (no wildcard range for msjh_50 in "error_2.png".

Are you able to go back to the previous Typographies, compile and flash without issue?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)
yu_jay
Associate II

Corrected description, thank you

yu_jay
Associate II

May I ask, under what circumstances would this issue occur, and is there a way to fix it?

ERROPR_2024-09-20.png

Hello @yu_jay ,

 

Are you able to go back to the previous Typographies, compile and flash without issue?

The elf file is the executable.
I guess you are trying to debug your application because STM32CubeIDE says he cannot execute the elf.
Try to flash your board in STM32CubeProgrammer:

  1. open STM32CubeProgrammer and click "Connect" at the top right
  2. at the bottom left click on the "EL" icon, select your external loader
  3. at the top left click on the arrow down icon (download/flash), select your elf file then load it

Tell me if this works.

If not, you should try to debug that.

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)