I have a whole bunch of hardfault annotations - all of them show CFSR value as 0. I've tested the annotation mechanism with two intentional hardfaults (divide by zero and write through null pointer) and both recorded the correct CFSR value. Of course - this could be some software bug corrupting the recorded data, but the most of the annotation seems reasonable. Did anyone encounter such a case befaore?
Thanks,
Freddy
Hi Freddy,
Do you see anything interesting in the HFSR?
There's an interesting app note about debugging hard-faults on Keil.com http://www.keil.com/appnotes/docs/apnt_209.asp
(Although the website appears to be down at the moment.)