This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/66AK2H12: Getting special registers value at the time of user exception

Part Number: 66AK2H12


Tool/software: TI C/C++ Compiler

Hi,

 

We are using user defined exception on our DSP code (DSP core type C6678, compiler version c6000_7.4.18), and would like to take out the stack trace at the moment the exception occurs.

We want to get the stack trace using the following guide

http://processors.wiki.ti.com/index.php/Crash_Dump_Analysis

 

To create a crash dump we need to know the registers value at the time the exception occurred.

Is there any API to read the value of A0-A31 and B0-B31 registers?

Should we write the asm code to do this?