Skip to main content
Romain DIELEMAN
ST Employee
July 1, 2021
Question

X-CUBE-TOUCHGFX 4.17.0 is out

  • July 1, 2021
  • 71 replies
  • 14492 views

Hi Everyone,

If you haven't noticed by now, X-CUBE-TOUCHGFX 4.17.0 is out, available from STM32CubeMX 6.0+ and from st.com as a zip (Also installable through STM32CubeMX).

Here is the documentation for 4.17.0: https://support.touchgfx.com/

Main features:

  1. Complete redesign of the TouchGFX Designer
  2. Dual core support of TouchGFX Generator
  3. FMC interface support of TouchGFX Generator
  4. Various minor framework improvements like font handling

You can see all the bug fixing and improvements in the changelog.

KNOWN ISSUES:

If you wish to use L8 images in 16-,24- or 32bpp configurations, for some RTOS you will need to remove the OSWrappers::taskYield() function call in the DMA2D file templates of the X-CUBE installation (FreeRTOS from CubeMX works OK):

  • Navigate to your Users/<user name>/STM32Cube/Repository/Packs/STMicroelectronics/X-CUBE-TOUCHGFX/4.17.0/CubeMX/templates/Target folder
  • Depending on your bit depth open the dma_XXbpp_implementation_tmp.ftl file (16. 24 and 32 bpp)
  • Delete (or comment) the OSWrappers::taskYield() call in the while ((READ_REG(DMA2D->FGPFCCR) & DMA2D_FGPFCCR_START) != 0U) loop
while ((READ_REG(DMA2D->FGPFCCR) & DMA2D_FGPFCCR_START) != 0U)
{
 // OSWrappers::taskYield();
}
  • Regenerate code from STM32CubeMX for your project

/Romain

This topic has been closed for replies.

71 replies

Romain DIELEMAN
ST Employee
July 1, 2021

Additional information:

  • "Application Templates" (ATs) are now called "TouchGFX Board Setups" (TBS). UI templates are now divided into Demos and Examples, and Online Applications are renamed Board Specific Demos (BSD).
  • The new FMC display interface settings in TouchGFX Generator (within STM32CubeMX) can be seen in the updated TouchGFX Board Setups for the STM32F412disco and STM32L496 disco boards
  • The dual core implementation can be seen in the updated TouchGFX Board Setup for the STM32H747-dk board, now containing an STM32CubeMX and STM32CubeIDE project.

/Romain

BParh.1
Senior III
July 2, 2021

Thank you @Romain DIELEMAN​ , I like it much better the look and feel of this new release, so good job to ST.

But I am a bit disappointed to see this release seem not doing anything to improve dynamic graph. Dynamic graph widget is essential in real time monitoring data, however current widget has several downsides which likely user need to do a lot of work around especially for project that need x label as time axis. Here is list that I know of so far:

  1. Unable to do fixed x labeling
  2. For wrap and overwrite, the x label becomes negative once we go back to graph widget from other widget (provided the graph roll the entire screen at least once). The negative x label is on the area that not yet over written
  3. Unable to do desired behavior for X axis range adjustment (for zoom in/out feature) in x axis without work around. If we adjust the x axis to shorter one, the graph will still roll over to the max capacity instead of back directly to x = 0. The problem is user unable to set max capacity.
  4. Seems there is issue on code generator for Element Area. Once a while it has build error as generated code element area not complete, the class instance name is missing. As work around I need periodically create additional dummy element area, click generate code and then delete again the dummy element area and click generate code again.

I tried to make all work around for above (except negative x label, not sure what happen), but the code become unbearable, it has significant redundant amount of code and it is hard to organize them for real professional qualification code.

Any plan for ST to improve these?

Romain DIELEMAN
ST Employee
July 2, 2021

Hi BParh.1,

​

Now that TouchGFX 4.17 it is in our plan to improve the dynamic graph and we take into accounts your ideas/suggestions. I do not have an estimated date of release. If you have more inputs please add them to the Idea Zone of this forum, this will help us keep track of it. I know I always write this down but we do take into account those ideas but just lack time/man power to be honest to do them all as fast as we would wish :grinning_face_with_sweat:.

​

/Romain

lclor
Associate III
July 2, 2021

Hello,

I have installed the new Touch GFX 4.17.

Created a blank project for F429_disco

Open CubeIDE, create new project from existing IOC file, but can't compile the project.

0693W00000BcdirQAB.jpgIs it the right way to do it ?

Tanks for your help.

/BR

Romain DIELEMAN
ST Employee
July 2, 2021

Hi,

When you create a project from TouchGFX Designer with the TouchGFX Board Setup (new name for Application Template) for the STM32F429 disco board and generate code from TouchGFX Designer, a fully configured STM32CubeIDE project will be generated for you. To open it you just have to double click on the .cproject or .project under the <project name>/STM32CubeIDE folder (no need to use the "create new project from existing IOC file" option).

/Romain

lclor
Associate III
July 2, 2021

thanks, it works fine.

After, is it possible to import IOC file to make modification on the components use on the board ?

/BR

Laurent

Ezgi
Associate III
July 2, 2021

Hi,

I have a project with 4.16.1 version and I want to update it to 4.17. However, when I open the project in the TGFX Designer ,I get "Object reference not set to an instance of an object." error. What should I do?

Romain DIELEMAN
ST Employee
July 2, 2021

Could you share your project ? Or a screenshot of your folder + path, and of the error message ?

/Romain

Ezgi
Associate III
July 5, 2021

0693W00000BcnGSQAZ.png0693W00000BcnGhQAJ.pngIn addition, I can't create a new project and got this error

0693W00000BcnHcQAJ.png

July 2, 2021

Dear @Romain DIELEMAN​ 

Good to hear the new version is released.

I wonder what is the "Dual-core support of TouchGFX Generator"?

Is it supposed to be used for the MP cores which have one A9 and one m3 controller? or something else?

Romain DIELEMAN
ST Employee
July 5, 2021

Hi,

If by MP you mean Microprocessor then no. Dual cores are MCUs using two M cortex, like the STM32H747 which has a M7 and a M4 cores. TouchGFX has always been able to handle dual cores but it was not possible to work with STM32CubeMX and the TouchGFX Generator. You can now create dual core projects based on the STM32CubeMX architecture and generate a STM32CubeIDE project along with TouchGFX.

/Romain

July 7, 2021

By the MP core, I meant something like STM32MP151A or the like.

Özkan
Visitor II
July 5, 2021

Hi, I installed TouchGFXDesigner 4.17.0 and when I try to create a new project I always got error. I want to try cacheable container feature which mentioned at this link: https://support.touchgfx.com/docs/development/ui-development/scenarios/achieving-better-performance-with-cacheable-container .

I have another problem about D-cache. If I have disabled D-cache, the informations on the TFT screen which I have created via TouchGFX Designer 4.16.1 are always true but sometimes software goes hard fault. If I have enabled D-cache software running is good but this time screens getting stuck.

Romain DIELEMAN
ST Employee
July 5, 2021

Hi,

What error do you face when you try to create a project ? Could you share a screenshot ?

The D-cache is a known issue but should have been fixed with TouchGFX 4.17 I believe. What mcu are you working with ? Did you use a TouchGFX Board setup (new name for Application Template) or a custom project ? Have you tried debugging to see where the screen gets stuck ?

/Romain

Özkan
Visitor II
July 5, 2021

I tried to go with Blank UI and got this error. I have also tried Board setup and etc. Nothing changed.0693W00000BcpMDQAZ.pngI am working with STM32H743VGT6. If D-cache is enabled software can't run correctly. For example, I programmed a button to change screen but when I press the button doesn't work. If D-cache is disabled everything is working as it should be except sometimes getting hardfault.

Jonathan O.
Visitor II
July 6, 2021
Error while parsing Rich Text Content
ilyus
Senior II
July 7, 2021

Just installed 4.17 today (upgraded from 4.16.1). First impressions - much better GUI. Modern design, very smooth. Intuitive interface. Overall, like.

Problem 1: when over adjustable setting (such as height of a box), when I scroll mouse wheel, the value in the box doesn't chage anymore, I have to type every value manually. So I can't scroll from 40 to 50 and see what I like more, I have to type manually 40-enter, then 41-enter etc. Very long and annoying. Tested it on a box with border height on the custom container screen. Interestingly enough, when I scroll the wheel, the value in the parameter stays what it was (50 in my case), but the box itself seems to expand and shrink by 1-2 pixels as I scroll the mouse wheel (but not more) - very visible.

Problem 2: in the very same parameter boxes, arrows up and down inside those boxes (GUI arrows I mean, not the keyboard) are supposed to change the value in the box by 1. Sometimes they don't. Tried on Scroll list -> number of items parameter. The number in the box doesn't change after clicking up or down arrow. Sometimes! I think, when TouchGFX window is unfocused and I click on the arrow, it works - changes value. But if I click onto the value and get the vertical bar cursor blinking on the value, then I scroll the mouse (which doesn't change the value), then arrows stop working too. (without doing mouse scroll arrows work) Trying it as I'm writing this.

Personal thing: I find the bright pink bar with generate code, or run simulator waaaay too bright. Using dark theme, and it draws my attention all the time. I understand it has to stand out, but it's waay too much contrast (my opinion). I think slightly softer color would do better, because I have all dark-gray-black screen with bright pink spot. Or maybe a bright pink border around buttons (or their container) so that they stand out, but not a big pink blob

Martin Stig STISSING
ST Employee
August 9, 2021

Thanks for reporting these.

1 and 2 will be fixed in next version.

V.H
Senior
July 12, 2021

Hi,

Where can I download offline documents for touchgfx V4.17.0?

Thank you!

Romain DIELEMAN
ST Employee
July 12, 2021

Hi,

When you go on the official online documentation, click on the "Ressources" section in the tree view on the left. You will find the "Offline PDF" section.

/Romain

V.H
Senior
July 12, 2021

Hi,

Glad to receive your reply, but the offline documents are still V4.16.

Mkuma.5
Associate II
July 12, 2021

i installed  X-CUBE-TOUCHGFX 4.17.0 from stm32cube->software packages. But its(generator) not appearing on my stm32CubeIDE 1.6.1 category menu to configure the generator. Please advise.

Romain DIELEMAN
ST Employee
July 12, 2021

Hi,

You need to enable "TouchGFX Generator" for your project by clicking on the "Software packs" button, then "Select Software", and enable TouchGFX 4.17. Follow this article in the documentation.

/Romain