cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX Designer Project (using a template) import into STM32CubeIDE to build, debug & flash via ST-Link V2

RHug.1
Associate II

Good afternoon,

I was trying to find a step by step tutorial on how to import a Project using TouchGFX Designer with a given template (e.g. STM32F746G Discovery Kit), using some matching UI Template, generate code and afterwards import the project into STM32CubeIDE.

Finally build the project inside STM32CubeIDE and debug / flash it via ST Link V2 onto my board.

Unfortunately I end up with a Black screen + some Background light.

No Errors during the build, connect to ST Link V2 Debugger and flash.

Is there such a tutorial I might have failed to find?

Or does it have to be the other way around.

  1. Create STM32 Project in CubeIDE, select suiting Board
  2. Open TouchGFX Designer within the Project inside CubeIDE
  3. Create GUI

STM32CubeIde 1.3

TouchGFX Designer 4.13

ST-Link V2 V2J36S7

0690X00000DXSuyQAH.png

0690X00000DXSvIQAX.png

0690X00000DXSuKQAX.png

Appreciating any help or links!

/Rafael

3 REPLIES 3
chaaalyy
Senior II

Hi Rafael 🙂

i also searched for Step by Step - Tutorials on ST´s (and their Partners´...) site. Unfortunately they are very rare. ST and TouchGFX know, how to design Hard- and Software and especially, how to promote it, but when it comes to the user´s view of Things... Well, we all know that story 😉 Fortunately there are some really cool People (independently from ST...) out there, which do ST´s work and save a Lot of Time and Trouble for us, the "non Engineers" 😉

Check out this Video and the owner´s channel, maybe it will answer your question:

https://www.youtube.com/watch?v=12KXreXaLp0&t=9s

For better understanding, what´s going on under the surface (especially the configuration of Quadspi, Memory and so on, also check out the following channel:

https://www.youtube.com/channel/UCS1CM3mQiwlDU2nIVXroEtQ

good Luck,

Charly

Thanks for the links. I already watched those.

Unfortunately I am using a board that neither is in the "board selection", meaning I have to setup the board myself but missing infos & knowledge, nor does the most up to date template of the board within TouchGFX Designer create a ".ioc" file or anything similar I could import into STM32CubeIDE allowing me to build & debug it.

In another Thread i found something, what could be helpful for you too... It´s also based on F746 Disco... For me, both ways work fine: From the Videos or from the "manual" of that Link.

https://community.st.com/s/question/0D50X0000CBkwGKSQZ/configuring-stm32f746gdiscovery-touchgfx-graphic-application-via-stm32cubemx-and-stm32cubeide

Of course it delivers a project, set up for the F746 Discovery but in CubeMX you have the possibility to change the hardware according to your board. CubeMX and Touch GFX Designer are both working fine (integrated) in CubeIDE this way 🙂