Setting the stack register from an exception handler

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Setting the stack register from an exception handler

1,178 次查看
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 项奖励
回复
2 回复数

1,158 次查看
igorpadykov
NXP Employee
NXP Employee
0 项奖励
回复

1,176 次查看
Rafsol
Contributor I

One more piece of information:  it is a hifi3 processor

0 项奖励
回复