Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 2 months ago.
fault hardfault
what can I do when I meet it? It is just running.
1 Answer
6 years, 2 months ago.
Hello Shang,
When you reach a hardfault, you need to enter a debugging session to step through your code to figure out where the hardfault is occurring. If it was a software hardfault, you will need to double check your logic. Usually a software hardfault is caused by buffer overflow. Hardware hardfaults occur when you are accessing a piece of hardware with lower privilege.
Please let me know if you have any questions!
- Peter, team Mbed
If this solved your question, please make sure to click the "Thanks" link below!