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.

CC1352R: How to Save Task Call Stacks to Debug Watchdog

Part Number: CC1352R

Hello,

Our CC1352 running TI RTOS occasionally gets reset by the watchdog in the field. We must have a bug that locks up the task responsible for clearing the watchdog.

If we were able to reproduce this in our lab, we could connect via JTAG and use the Runtime Object Viewer (ROV) to examine the call stack for the problematic task.
Unfortunately, this problem is difficult for us to reproduce, so we would like to add more logging to our devices in the field.

What data does the ROV use to display the call stack for each RTOS task? What is the best way to access this data from our application so that we can save it to an external flash?


I found this related post where a TI representative provided the following advice:

The watchdog driver does not store any data upon a watchdog expiry. You can use the guidance in this post to store data in a panic buffer upon a reset:
e2e.ti.com/.../1982253

Unfortunately, that link is dead. Can you provide any instructions about storing data in a "panic buffer" like the post mentioned?

Thank you,

Peter