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

Is this the F746g-disco board?

Yes it is. Sorry should have explained better.

Okay, verified here. And i'm in talk with CubeIDe about it as we speak. Seems to be an F746G-DISCO issue isolated, since i can debug on e.g. F769-DISCO just fine.

Ok Thanks Martin..While we are discussing this I am also struggling to generate code for STM32CUBEIDE using CUBEMX. I get the following error. Not sure if it is reported already?0690X00000BwjjLQAR.png

Thanks

I've seen this before. It's because you are using a 32-bit version of either CubeMX or Java. Can you check that?

If you hit windowskey and enter "Configure Java" you may get a configuration panel to tell you which is the active java version (you may have multiple installed).

This will indeed cause issues with CubeMX code generation.

Also try deleting "C:\users\zula\.stm32cubeide"

/Martin

MLync.1
Associate II

Thank you @JHarding​ 

After viewing the video I was able to create a working project from CubeIDE.

I was unaware of the need to add SDRAM configuration parameters.

The video also provided an understanding of why configuration parameters are purposely omitted when generated.

I was able to add touch support.

Happy days

Thank you

@Adrian Dusiński​ 

I am back looking at this. I created an Application Template project in TouchGFX and instead of importing "Existing Project into Workspace" with STMCubeIDE (1.2.0), I did a "Start new project from STM32CubeMX.ioc file".

The code compiles fine and connects to the target with the debugger, but I am getting only a black screen.

if you do this aren't you missing all the TouchGFX files? i mean - the .ioc file is only the HW setup. I might be wrong but I had far better results when importing the whole project. The .ioc file is just the CubeMX setup after all..

@scottSD​ You are probably missing the custom FMC setup along with the special defines as well as the call to MX_TouchGFX_Process(). I have referred a couple people to this video. Just pay attention to when he is setting up the main.c file. The person walks you through the FMC initialization code and where it belongs, as well as the defines you need.

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

@JHarding​ ,

Yeah, I am seeing that. In the middle of it right now. By the way, @HP (above) is the person who made that video. He deserves a big thumbs up for it.