cancel
Showing results for 
Search instead for 
Did you mean: 

program and run target-touchgfx

Aashritha_Vuda
Associate II
 

I am currently working on  STM32H747XIH6 DISCO  Board using Touch GFX. Although the simulation runs without any issues, I am encountering intermittent problems during the compilation and programming stages. At times, the compilation fails with errors stating that specific font files are missing, despite these files being present in the correct directory. I have not added any additional C++ code yet, as I want to confirm everything is functioning properly before proceeding.

Attached below are screenshots related to the errors encountered.

 

Screenshot 2024-09-11 182410.pngScreenshot 2024-09-11 182505.png

 


 

 I looked for the file, which should be in the debug folder and it's missing.
I then tried starting a new project and the file was still missing.
I created a new workspace and a new project but had the same result.

kindly help me out ,
Thank you
 

4 REPLIES 4
GaetanGodart
ST Employee

Hello @Aashritha_Vuda ,

 

You state that you have not changed anything but the font you are using is "impact". By default it is "Verdana".
Also, you talk about creating a new workspace.

Can you run me through the process of creating a project?

The simplest way to create a new project for TouchGFX is to directly create the project from TouchGFX Designer (if your board is available which is the case for the STM32H747I Disco).

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

Hi @GaetanGodart 

 

The first step is to open TouchGFX and select the board—in my case, the STM32H747XIH6-Discovery board. Then, I created the project.

I used the Text Area widget to increment values on the display board, utilizing wildcards. The default font I used is Verdana. When I try to generate the code, it does so successfully, and the simulator runs perfectly. However, when I flash the program to the target board, it shows an error, as mentioned earlier. The missing files are actually present in the correct location.

 

kindly help me out ,
Thank you

Hello @Aashritha_Vuda ,

 

There is something wrong with your project.
You keep the default font as Verdana but then it compiles for Impact.

Before compiling, can you do a global search in your whole project for "impact"? It must be referenced somewhere (or maybe it is set as default font on our OS or something similar).

Was it happening before? Is it the first time you try to use TouchGFX?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)

Hello @Aashritha_Vuda ,

 

Have you been able to move forward with your question?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)