2025-10-28 10:57 AM
Hi everyone,
I've been using TouchGFX v25 for almost a month and successfully flashing it to my STM32F7 board. I create projects in Designer, then open CubeIDE to edit the code, build, and flash. Everything was working fine.
Recently, I tried installing the STM32Cube extension for VSCode. I was able to build the project, but couldn't get it to run. After that, when I tried running it again using CubeIDE, the screen became corrupted. I can still flash old projects and create new ones, but the top part of the screen consistently shows the same issue.
As a first step, I deleted VSCode and erased the flash using STM32 Programmer.
Then I uninstalled and reinstalled all components: STM32CubeMX, STM32 Programmer, CubeIDE, and TouchGFX. I also updated TouchGFX to v26.
After that, I deleted the IDE workspace and removed the folders:
C:\Users\myuser\.stm32cubemx
and C:\Users\myuser\.stm32cubeide
Then I’ve compared ioc files before and after using my backup on GitHub. They show differences in terms of pin assignments. I’ve replaced ioc file by the backup file, I’ve observed that pins changed on ioc view inside CubeIDE but the situation remains.
Any idea what may be causing this? What steps should I take?
I share with you the old project that worked fine and the new one with problems.
OLD
https://github.com/TejoTago/stm32-touchgfx-tutorials/tree/main/myBarCharts
https://www.youtube.com/watch?v=MS1xix1E5KU
NEW
https://github.com/TejoTago/corruptedScreen/tree/main/myBarCharts
https://youtu.be/Qp1TC60dG28?si=7JRHb8jhkbpN6pqQ
Thanks in advance for all you support.
Kind regards,
Jota
2025-10-28 1:34 PM - edited 2025-10-28 1:42 PM
Just to add that I used generated configurations from TouchGFX Designer. Never edited ioc in the past.
Now I've tried to change from 24 bits to 16bits but the problem remains.
I also added a button in that part of the corrupted screen and it responds to touch.
https://www.youtube.com/watch?v=xtBsHELLcJ0
Thanks.