cancel
Showing results for 
Search instead for 
Did you mean: 

What is hard fault and what to do in case of hard fault?

Arman Ilmak
Senior

Hey guys. I was writing a read function from eeprom and when i used the function it goes to hard fault handler.

What is hard fault handler for?

I searched and saw that people do something in that handler but i dont know what are they.

1 REPLY 1
David SIORPAES
ST Employee

Hello,

here's a very good description of HardFaults and how to use them for debugging:

http://www.keil.com/appnotes/files/apnt209.pdf