When debugging, I saved the data in flash memory successfully and at soon the HardFault_Handler happened ,way?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-12-08 10:28 PM
When debugging, I saved the data in flash memory successfully and at soon the HardFault_Handler happened ,way? I used the same function in examples and the same Flash memory address.
Labels:
- Labels:
-
DEBUG
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-12-09 1:05 AM
Show a disassembly of the section of code that actually faulted, and the registers at the fault. The handler code is of no interest.
Make sure the memory is erased and aligned, and that you're not trying to reprogram within the flash line.
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..
