Skip to main content
Associate III
Jan 21, 2025 11:36 AM UTC
Solved

How to get the faulty location on a UsageFault on F429?

Hi all,

in my firmware I fall in a UsageFault but, since I have some tasks, I not able to understand which instruction caused the fault. Both PC and LR are pointing to the handler ..

I attached the current screen.

Thanks!

This topic has been closed for replies.
STOne-32
STOne-32Best answer
ST Technical Moderator
Jan 21, 2025 10:31 PM UTC

Dear @SteMMo ,

You can refer to this Knowledge Article :

https://community.st.com/t5/stm32-mcus/how-to-debug-a-hardfault-on-an-arm-cortex-m-stm32/ta-p/672235

Hope it helps ,

STOne-32

1 reply

STOne-32
STOne-32Best answer
ST Technical Moderator
Jan 21, 2025 10:31 PM UTC

Dear @SteMMo ,

You can refer to this Knowledge Article :

https://community.st.com/t5/stm32-mcus/how-to-debug-a-hardfault-on-an-arm-cortex-m-stm32/ta-p/672235

Hope it helps ,

STOne-32