This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Can i change SP at run time in CM33?

Dear All.

I am trying to back trace and get the call of faulty application after getting an exception, in this i need to update SP from HardFault Handler.

I tried in many way like "MOV SP, Rn" , "MSR SP, Rn" and etc but finally ended up with either Compilation error or Lockup state after execution of this instruction.

Already I've updated PSP from Handler, but i need to change SP to get called stack frames.

Please help me to do this.

Regards,

Deepak