UI Corruption in TouchGFX + IAR (STM32H5)
- March 4, 2026
- 3 replies
- 227 views
Hi everyone,
I'm struggling with a critical synchronization issue between TouchGFX Designer (4.2x) and IAR Embedded Workbench (9.60.2) on an STM32H563 project.
Whenever I modify the UI (e.g., deleting a Button or adding a ToggleButton), TouchGFX correctly generates the new .cpp and .hpp files in the "generated/" folder.
However, upon flashing the device, the UI is completely corrupted:
- Images are replaced by random noise or other assets.
- Texts disappear
- Moving a widget "off-screen" instead of deleting it works, but adding new ones breaks everything again.
I'm using Nucleo-H563ZI with Riverdi screen.
I tried these steps without success:
- Delete IAR folders: Obj, BrowseInfo and regenerated
- Deleted TouchGFX/generated and TouchGFX/build and regenerated
- Full chip erase (Internal + External Flash) via STM32CubeProgrammer
- Forced "Rebuild All" in IAR
Any idea on how to fix this issue?
