2022-06-30 4:14 AM
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
2022-07-01 3:31 AM
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
2022-07-03 6:59 PM
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:
Before, 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
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.