cancel
Showing results for 
Search instead for 
Did you mean: 

OFFICIAL RELEASE: X-CUBE-TOUCHGFX v4.13.0

Martin KJELDSEN
Chief III

Goodmorning everyone!

With the release of CubeMX 5.5.0 we've removed TouchGFX from the Middleware section of CubeMX and are now offering TouchGFX configuration through an X-CUBE.

The X-CUBE pack contains the following:

  1. TouchGFX Designer .msi, as per usual
  2. TouchGFX Generator - A tool through "additional software" for creating your TouchGFX HAL based on CubeMX settings.

CubeMX is a tool for configuring your MCU.

CubeMX is not a tool for completely configuring peripherals like touch controllers and external memories.

TouchGFX Generator (new since 4,13) is a CubeMX extension that can generate all or parts of your TouchGFX HAL Layer based partially on settings taken from your MCU configuration in CubeMX.

TouchGFX Generator (new since 4,13) is not a tool that provides complete configurations for touch controllers, external memories, etc. It only generates the TouchGFX HAL - Rendering strategies, acceleration strategies, etc.

TouchGFX Designer is a tool that can supply you with application templates for existing stm32 display kits. We are working on getting all of them updated to use the new Generator.

Please read the following guides for instructions on how to install the new TouchGFX X-CUBE and how to use the TouchGFX Generator to develop your TouchGFX HAL:

From now on it is the X-CUBE that receives a version bump, bumping the version of both tools contained within.

A few application templates already support the new TouchGFX Generator (and thus CubeMX 5.5.0), with lots more to come. One of our main priorities is to get the rest of the application templates ported to use the TouchGFX Generator,

  • STM32H7BI-DK v.3.0.0 (uploaded)
  • STM32F746-DISCO v.3.0.0 (uploaded)
  • STM32F769I-DISCO v.3.0.0 (uploaded)
  • STM32H750B-DK v3.0.0 (uploaded)
  • STM32F750-DK v3.0.0 (in progress)
  • STM32L4R9-DISCO v3.0.0 (in progress)
  • STM32L4P5-DISCO v3.0.0 (in progress)
  • STM32H743-EVAL v3.0.0 (In progress)

Generally, any application template that supports the Generator/CubeMX 5.5.0 will be major version 3.

0690X00000BviXRQAZ.png 

0690X00000BviXWQAZ.png

Let me know here if you have any questions or face any issues! We're eager to see how this works for everyone.

Now that we are officially live with X-CUBE-TOUCHGFX we'll continue working on improving documentation, offering support and updating the current application templates you can find through the designer.

Aside from that i'll do my best to catch up on this community, something i've had to neglect a bit because of the new Generator.

Best regards,

TouchGFX Generator Team

162 REPLIES 162

​ It's great to finally get some replies from someone about this (posted over a week ago).

It is appreciated.

@Kasun Dinesh

I am aware of the MX_TouchGFX_Process() and the FMC Ram. After making this change as well as changing the stack size, and making sure DMA2D being set to 565 bit configuration instead of 888. (by the way, shouldn't this all be set by the Application Template????).

I am getting something on the display. It is garbage, but something other than black.

​ 

@Adrian Dusiński

You said with the second method, start with TouchGFX and create the project and TouchGFX generate "all configuration now and project sholud work."

You're saying it works for you for the STM32769-discovery board? I will give that one a try.

Yes it works, I generate project in touchGFX 4.13 and then import "Existing Project into Workspace" to the CubeIDE-1.2.

There may show some error about "no rule to make target" about missing button image or text src and it must to be added. Additionaly with this must be configurated qspi in linker file:

QUADSPI (r)   : ORIGIN = 0x90000000, LENGTH = 16M

@Adrian Dusiński​ 

I must be doing something wrong. For one thing, I don't have a TouchGFX directory after importing "Existing Project into Workspace"

And I'm getting the following error:

make: *** No rule to make target 'C:/Users/ScottS.DAKOTADIGITAL/STM32CubeIDE/Cube1.2.1_F769i_Workspace_001/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2/cmsis_os2.c', needed by 'Middlewares/FreeRTOS/cmsis_os2.o'.  Stop.

Yes, you don't have but there is included directories in properties, so you must to open touchGFX from win explorer:0690X00000BwRwHQAV.png

About RTOS do you have anything in "/Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2" folder ??

Yes that is setup in the Includes.

However,.....I don't have "third party" in Middlewares in the Project Explorer:

0690X00000BwS8IQAV.png

@Adrian Dusiński​ 

Can you edit the CubeMX ioc file? I get the following message when I attempt to open it in CubeIDE:

Invalid Input: 'STM32F769I_DISCO.ioc' file content is not supported.
 
Target 'null' from 'STM32F769I_DISCO' project is currently not supported by this IDE release.

"Third party" is in Middlewares but folder up, so cubeIDE use ../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS_V2.

No I did't change anything in ioc file.

@Adrian Dusiński​ 

I see the files in Windows Explorer in the original location that TouchGFX when creating the Application Template. . But they're not in the Stm32CubeIDE project location.

0690X00000BwSrDQAV.png

Is it possible that I did something wrong when importing "Existing Project into Workspace"?

HP
Senior III

For anyone interested I have made a video on how to do a custom board implementation:

https://www.youtube.com/watch?v=o42r4xXOnbo

Nothing you can do on mac, sorry. TouchGFX designer is windows only currently.

/Martin