Setting the stack register from an exception handler

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Setting the stack register from an exception handler

1,186件の閲覧回数
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,166件の閲覧回数
igorpadykov
NXP Employee
NXP Employee
0 件の賞賛
返信

1,184件の閲覧回数
Rafsol
Contributor I

One more piece of information:  it is a hifi3 processor

0 件の賞賛
返信