2020-05-28 07:12 AM
2020-05-28 07:48 AM
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.
2020-05-28 09:43 AM
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.