Hi,
I would like to document the error reason and program counter on every hard fault.
I added it to my application, in HardFault_c_handler(). I save p_stack->pc and cfsr.
The problem is that the program counter always saves as 0, so I can't know where the hard fault occurred.
What is the reason for that 0? What can I do?
Thanks!