cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX 4.20.0(TouchGFX 4.19) + keil show image occur hardfault

zhuij.1
Associate II

show circle and change screen are normal,but show image occur hardfault.how to reslove the issue?

psr: 0x60000000
r00: 0x20000318
r01: 0x0801da48
r02: 0x00000000
r03: 0x000000df
r04: 0x2005f486
r05: 0x0801da48
r06: 0x000000ff
r07: 0x00000080
r08: 0x20060106
r09: 0x2007b89a
r10: 0x20000436
r11: 0xdeadbeef
r12: 0x08017749
 lr: 0x0800a66b
 pc: 0x00000000
hard fault on thread: TouchGFX

2 REPLIES 2
Yoann KLEIN
ST Employee

Hello @zhuij.1​ ,

Which board are your working with ?

Could you also please share your project ?

That would be easier for us to try to identify your issue.

Thank you,

/Yoann

Yoann KLEIN
ST Software Developer | TouchGFX
zhuij.1
Associate II

As the screen interface uses FSMC, we do not use the official example project, but use the Keil project generated by CubeMX. For the screen driver, we use FSMC+DMA to drive, and for RTOS, we use RT-Thread. The cubemx configuration is as follows:

0693W00000QKLSFQA5.pngBefore, we used frame cache to display images in Partial Buffer, which was normal. However, when we switched to Single Buffer or Double Buffer, various abnormal states appeared