void HardFault_Handler() { //make sure we can gdb the crash SetMisoToJTAGMode(); //print any pending log messages so we can diagnose g_uart.BlockingFlush(); while(1) {} }
https://files.ioc.exchange/media_attachments/files/112/390/238/737/470/486/original/c1c5c2b181bd3ba2.png