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.

call trace in real time when exception occurs

Guru*** 148444 points

Hi,

This thread is related to the following thread:

e2e.ti.com/.../1421706

Our customer needs to get the call trace in real time when an exception occurs. Please see below

"For example, if there is a crash in function_level10() we need to get the back trace showing the line of the crash in function_level10(). When we say back trace, we need to know that function_level9() called function_level10(), function_level8() called function_level9(), and so on. This can be obtained by using the stack pointer and program counter which we get from exception handler."

However based on the previous thread it seems that it is not possible to get the SP value at the time of exception.

Has anybody already implemented a real time call trace using the TI-RTOS?

 

Thanks

cesar