We use KW41's "SMAC connectivity test" as the base to develop the program.
Because the current self-written program crashes during execution.
I want to use HardFault to debug.
Just like the following URL that read Register.
Developing a Generic Hard Fault handler for ARM Cortex-M3/Cortex-M4 - Sticky Bits - Powered by FeabhasSticky Bits – Powe…
How can I add programs to print out the CFSR and HFSR values?
Because HardFault_Handler () is an assembly code, I do n’t know where to start?