cancel
Showing results for 
Search instead for 
Did you mean: 

TouchGFX 4.16.1 Hardfaults when D-Cache is enable

MHaji.1
Senior

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 ...

1 ACCEPTED SOLUTION

Accepted Solutions
scottSD
Senior III

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

View solution in original post

4 REPLIES 4
MHaji.1
Senior

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.

scottSD
Senior III

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

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 Venmo
Up vote any posts that you find helpful, it shows what's working..

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.