Skip to main content
JMarc.1
Associate II
September 28, 2021
Question

Odd behaviour with TouchGFX 4.17.0

Good afternoon,

I've come across some odd behaviour and wanted to check in with you on it.

I have been developing a project since TouchGFX 4.14 I believe, that I've been running and migrating through the updates without much hassle.

Today, I migrated to 4.17.0, and copied/ pasted a Text Area from one screen to another (I know, my bad !).

This is ultimately the change I found altered the project: I run into Hardfault Handler every time the TouchGFX task starts.

Removing that bit of Text Area "solves" the problem, aka my board boots up, but I end up with either errated colors on my images, or overlapping adjacent screens on/ through my buttons (see pictures). Also the rest of my program does NOT run fine (no comms, no I/O, nothing seems alive - I have yet to determine what is and isn't).

0693W00000FAhx7QAD.jpg0693W00000FAhyxQAD.jpgFor reference (in simulator, which runs fine in any case):

0693W00000FAi0jQAD.png0693W00000FAi0UQAT.pngWhat could possibly have gone wrong during the migration ?

My project runs on a STM32F769II-DISC0 board. If you need more info I can provide, but not the project files as it is confidential.

Thanks in advance

JMS

This topic has been closed for replies.

4 replies

Alexandre RENOUX
Visitor II
September 29, 2021

Hello JMS,

So your problem occured when you migrated from 4.16.1 to 4.17 ?

When migrating a project from one version to the other, you should also migrate the TouchGFX Generator to the same version in CubeMX.

Copy/pasting a TextArea does not seem like a big issue that could ruin your project in my opinion.

When you debug, is it running correctly ?

Artifacts can come from different sources such as the display initialization, the Flash communication, wrong TouchGFX synchronization, etc.

I suggest you compare with the project version that was working to see any discrepancy that seems odd.

/Alexandre

JMarc.1
JMarc.1Author
Associate II
September 29, 2021

Thank you for your reply !

Yes, it occured when migrating from 4.16.0 to 4.17. I did what you told me, migrating everything to the most up-to-date version (CubeMX as well as the TouchGFX Generator, and also CubeIDE just to be sure).

When I debug, it runs correctly now (for some reason) - I have my UARTs, my , albeit one of my screens (the screen where I pasted the TextArea in question) freezes the GUI (while not stopping the other tasks). I haven't figured where the GUI task stops yet.

Thanks again

JMS

Alexandre RENOUX
Visitor II
September 30, 2021

Hello JMS,

Did you try to see if it works on the simulator ? Removing hardware related code like UART.

/Alexandre