Setting the stack register from an exception handler

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Setting the stack register from an exception handler

1,175 Views
Rafsol
Contributor I

I am planning on writing code in C to allow me to output important product data via a UART when a crash occurs.  To make it simple, I need to be able to set up the stack such that I can call C APIs.  Unfortunately I am not an assembly coder, so I would appreciate it if someone can post code that achieves that.

 

Thanks in advance

0 Kudos
Reply
2 Replies

1,155 Views
igorpadykov
NXP Employee
NXP Employee
0 Kudos
Reply

1,173 Views
Rafsol
Contributor I

One more piece of information:  it is a hifi3 processor

0 Kudos
Reply