Hardfault STM32
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-06-12 6:59 AM
Posted on June 12, 2015 at 15:59
1. I am using STM32 with keil v5.
2. In my code I am getting hardfault, however I don't see any error in ''fault report'' option of keil.3. What could be error?4. Attached is pic.http://www.docdroid.net/139z9/pic.pdf.html #wait-for-you--clive1-!-!-!
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2015-06-12 7:06 AM
Posted on June 12, 2015 at 16:06
3. What could be error?
There are a lot of common errors that cause Hard Faults, I've covered these before. Most likely touching an illegal memory area. Suggest you start by getting a proper fault handler, see Joseph Yiu examples, and identify the instruction that is faulting, and the registers.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
