Skip to main content
Senior
May 26, 2021
Solved

TouchGFX 4.16.1 Hardfaults when D-Cache is enable

  • May 26, 2021
  • 2 replies
  • 1296 views

Hi,

I Have a custom board with stm32h743... I design a graph page with touchGFX and when D-cache is enable, system detect some hard faults specifically when I touch a button to change screens, some times it works and some times not, When I disable D-cache, system works fine, but graphic speed degrade dramatically ...

Please help me ...

This topic has been closed for replies.
Best answer by scottSD

I don't know if you're still stuck on this, but I had this issue a while back and it is discussed in the following thread:

https://community.st.com/s/question/0D53W00000S752ySAB/touchgfx-4160-issue-when-dcache-is-disabled

2 replies

MHaji.1Author
Senior
May 28, 2021

Hi,

After some page changing, I have hard fault, PRECISERR = 1 & BFARVALID = 1, with SCB->BFAR=0x24080000 .

I thing the problem is in TouchGFX....

Is there any Idea how to find out what the problem is?

Thanks.

Tesla DeLorean
Guru
August 10, 2021

Precise error at 0x24080000, looks like your code is reading beyond the AXI SRAM, doesn't sound like it is directly related to D-Cache.

I'd try to pin down exactly what code is doing that, and why.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
scottSD
scottSDBest answer
Senior III
August 10, 2021

I don't know if you're still stuck on this, but I had this issue a while back and it is discussed in the following thread:

https://community.st.com/s/question/0D53W00000S752ySAB/touchgfx-4160-issue-when-dcache-is-disabled

Lead II
March 1, 2024

The thread is no longer accessible. I have hardfaults too. Can you please explain how you fixed it?

I get PRECISERR at MMFAR=0x8c1008

"Kudo posts if you have the same problem and kudo replies if the solution works.Click ""Accept as Solution"" if a reply solved your problem. If no solution was posted please answer with your own."