cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX hardfault while screen transition

MMostafa
Associate II

Hello,

I am working with STM32F469 DISCO with IAR and TouchGFX and I am getting a hardfault exception when doing a screen transition from one screen to other one.

When the screen has few widgets, this hardfault does not occur. When the screen has more widgets the hardfault is triggers when requesting to move to other screen. 

I am working with TouchGFX V4.24.0 with FreeRTOS based and I am storing the assets on the external flash within the DISCO board.

Did anyone face this issue and or have a solution for it?

 

2 REPLIES 2
Karl Yamashita
Lead III

If you know it hard faulted, then it must mean you're debugging. The debug window may give some insights where the hard fault is occuring in code.

Tips and Tricks with TimerCallback https://www.youtube.com/@eebykarl
If you find my solution useful, please click the Accept as Solution so others see the solution.

Hello @MMostafa,

Could you please share a screenshot of your call stack when the hardfault happens? 
Is there a specific number of widgets that causes the hardfault? Does it happen when you make a transition between a semi-empty screen and a crowded one or when it is between crowded displays? 

You can follow this tutorial video to ensure you're on the right track with Screen Transitioning. 

Mohammad MORADI
ST Software Developer | TouchGFX