My touchgfx screen is glitched and project broke after touchgfx update (4.23.0 -> 4.24.2)
Hi,
I'm currently developping an application that need a tactile screen to run, i'm using the STM32F746G-Discovery board, and the project was in a finished state by June 2023. I re-used it now, and I saw that when flashing my old code into new board, the screen was all glitchy (a complete pixel non-sense of all color without any special logic). From the debugger, the program is crashed and called a Hardfault callback. The stack trace indicate clearly that it comes from the touchgfx part.
I tried then to create a blank touchgfx project in the version of my old project (4.23.0) and to flash it, the bug occur. And when I create a project from the 4.24.2 version (the last one then) it work as intended. So I concluded that this was just an update problem, but when I do the full touchgfx update procedure according to the guides, the problem still persist. I do the following :
- Open my old project in TouchGFX Designer 4.24.2 to update it, generate code through it
- Go to STM32Cube ioc file, migrate to the newer version of touchgfx through the component selector
- Generate code
- Compile and run
And then nothing changes, someone may get an idea on what am i doing wrong ?
I would like to precise that this exact problem happens to all my old projects (I have 3 touchgfx exemples of that), the only thing that changed is the st-link firmware forced upgrade I guess, since I didn't touched anything else. The whole thing seems realy weird to me. I also already tried to upgrade to the 4.24.0 first just in case.
Thanks to you all in advance for your help,
Best regards !
