cancel
Showing results for 
Search instead for 
Did you mean: 

Hardfault on toudhgfx::LCDGPU2d::drawTextureMapQuad()

lstud
Visitor

Hello All,

I am new to the STM32 Community. I started working on a new project that involves an STM32u5A9. And a Riverdi Screen. 

Riverdi_50STM32U5A9. 

After building my project in debug mode, I am receiving intermittent Hardfaults, which the debugger says is from touchgfx. Unfortunately I am not receiving a full stack trace. See Below.

lstud_0-1725570499297.png

I have tried chasing the Address of the hardfault, but that did not bear any fruit either. It seems the BFAR is an invalid address... 

lstud_1-1725570611249.png

The issue can happen anywhere from 10 seconds after bootup to 24 hours. Making this extremely difficult to debug. 

I have tried increasing the stack size for the touchgfx task. and disabling all tasks other than touchgfx.

Has anyone experienced this before or have suggestions on how I can proceed?

STM32CubeIDE1.15.1

TouchGFX Designer - 4.23.2

 

Thanks

0 REPLIES 0