2008-06-30 05:14 AM
How to know about what cause a Hard Fault Exception in STM32 hardware ?
2011-05-17 03:38 AM
Hello dear STM-users and others,
I need your help to know of what is the best way to solve that problem: know about what cause a Hard Fault Exception during a basic use of a STM32 product. This will help many of our developpers to understand the reason of the fault and will increase the development process. I need to know what is required, how to do that, and what is possible to do to: - know about the problem - where the problem was launched - is is tpossible to get the complete stack that cause the problem ... Anyway thank you for any reflexion on that subject, and if you've already found an answer, please don't hesitate to let me know... Regards , Fabien Martre2011-05-17 03:38 AM
Hi fabien, paul,
Some kind of pointers are here as well . Cheers, STOne-32.2011-05-17 03:38 AM
There are registers to do this, see:
Once you have found the cause of the fault, you can find out the address of the instruction that caused it.