We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
[...]- The exception return load the stack frame contents into registers. If the PSP location is wrong, the processor loaded in incorrect values. This include the 0xa5a5a5a5 loading into PC. Since this is not a valid location for program code, the hard fault is triggered when it try to fetch instruction.- At hard fault exception entry, the value 0xa5a5a5a5 is pushed to the stack as return address.[...]