xmc1302 hardfault

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
User10223
Level 1
Level 1
Hello,
In XMC1302, uC locks up whenever there is a hardfault.
I want to ensure that in a mission critical application, hardfault is handled properly instead of going into lockup.
Are there any code templates for hardfault?
If I want to reset the uC in case of hardfault, where should the code be placed?
Although , a hardfault does not occur in normal operation, corrupt e2prom data caused a lockup in one instance.


Thanks
0 Likes
0 Replies