cancel
Showing results for 
Search instead for 
Did you mean: 

What are the possible for hard fault handler? How to resolve the exception?

MR.2
Associate II
 
2 REPLIES 2

This topic has been gone over thousands of times, review some of the prior postings.​

Look at a disassembly of the faulting code, and CPU registers, report.​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Get some debug output to SWO or UART, and have the handler output some diagnostics rather than just get stuck in a while(1) loop telling you nothing.

Likely accessing data out-of-bounds, perhaps errant point or corrupt state.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..