cancel
Showing results for 
Search instead for 
Did you mean: 

Touch-GFX Error & Hard Fault After Gauge Asset Update – Need Suggestions

naveen
Associate III

Hi Team,

I’m currently working on a project involving the TouchGFX interface with an internal clock configured at 480 MHz. I’ve created a custom TouchGFX project using STM32CubeMX and successfully brought up both QSPI and SDRAM, verifying their functionality independently.

Following the guidelines from TouchGFX Seminar -3, I proceeded to enable TouchGFX through CubeMX. I've attached screenshots showing my LTDC, DMA2D, Clock, and TouchGFX configurations for your reference.

Project Details:

  • MCU: STM32H750IBT6

  • Display: 12.1-inch panel supporting RGB888

  • LVDS Driver: DS90C385AMTX_NOPB

Initially, with a simple background and the default designer gauge, everything worked fine.

However, when I customized the gauge's background and needle graphics, I started encountering errors, including:

  • TouchGFX rendering errors (specific message attached in screenshot)

  • Occasional Hard Fault exceptions

I would appreciate your insights on what might be causing this issue—especially whether it could be related to memory constraints, asset sizes, or configuration mismatches.

Thanks in advance for your support.


I have attached a document that includes all the screenshots of the Touch-GFX configuration steps I followed during development. If there are any mistakes in the setup, please excuse me and feel free to point them out.





2 REPLIES 2
naveen
Associate III

Here are some screen shorts of error I got when I flashed customized gauge.

Screenshot 2025-06-10 163813.png

Screenshot 2025-06-10 162151.png

Screenshot 2025-06-10 162213.png

   

Screenshot 2025-06-12 184048.png

GaetanGodart
ST Employee

Hello @naveen ,

 

Are you able to see something triggering the hardfault? After x minutes of running? After clicking on the screen? Once the needle reach a certain point?

The screen shots tells me that issue happens while calculating the bilinear interpolation of the edge pixels but not much more.

Could you share the assets that works and the one that doesn't?

 

Also, why can't you connect to STM32CubeProgrammer?

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)