This is an old revision of the document!
https://www.linaro.org/blog/debugging-arm-kernels-using-nmifiq/
https://mcuoneclipse.com/2015/07/05/debugging-arm-cortex-m-hard-faults-with-gdb-custom-command/
https://forum.contextualelectronics.com/t/advice-of-trapping-intermittent-and-annoying-bugs/2408
https://www.beningo.com/how-to-debug-a-hard-fault-on-an-arm-cortex-m/