STM32F745vg Hardfault handler.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-09 1:04 AM
sir,
Am uisng STM32F745vg controller for stepper motor controlling through a driver.
while running program am getting hard fault handler .
can you provide why hardfault interrupt occure.
what is the solution for hard fault handler.
- Labels:
-
DEBUG
-
STM32F7 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-09 2:17 PM
The solution is to figure out what's causing it to crash and then fix that.
Here is one of many hits for how to debug this issue:
https://interrupt.memfault.com/blog/cortex-m-fault-debug
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-05-09 7:41 PM
Going to have to do some debugging...
Look at the code that is faulting, the registers.
Check the code, associated pointers, and stack state.
Up vote any posts that you find helpful, it shows what's working..
