cancel
Showing results for 
Search instead for 
Did you mean: 

Are they version restriction between TGFX and CubeMX ?

AIM65
Associate III

Hi,

In the process for learning to use TouchGFX, I encounter a weird issue, confirmed with two different boards and two different TGFX application templates:

When I generate the project with TGFX Designer, import it in CubeIDE, compile it; set the right external flash loader and launch it, it works as expected.

But, if I open the .ioc file with cubeMX (both version: embedded in CubeIDE or standalone) regenerate the code (without upgrading the Cube firmware package version) and launch the software, it run without error but only display the background image but not the text for the first board (32G071) and the animation for the second (32F412).

In addition, If I allow CubeMX to upgrade the firmware package then the project become unusable and can’t compile: the folder containing the HAL (ProjectRoot\Drivers\STM32G0xx_HAL_Driver) is cleared by the upgrade process.

My IDE install is fresh, as the workspace used for those tests

I use :

  •  CubeIDE 1.51 with embedded CubeMX Version: 6.1.1-RC2
  •  CubeMX standalone 6.11
  • TGFX 4.16
  • For board 1 (simple): NUCLEO G071 + XNUCLEO FGX01M1, the corresponding TGFX App (local not online as they are not the same), the Blank UI customized with one screen, one box and one TextArea. The TGFX Cube Version is 1.3, when I upgrade it become 1.4.
  • For board 2 : 32F412GDISCOVERY and the corresponding v3.0.3 template of TGFX.

Am I missing something ? I only do very basic and standards action. Are they version limitations between TGFX, CubeMX and Firmware packages ?

Thanks

Chris

10 REPLIES 10
Romain DIELEMAN
ST Employee

Hi,

From the log this error does not seem linked to the FW package. Have you regenerated code from TouchGFX after generating code from STM32CubeMX ?

/Romain