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.

CCS/MSP432P401R: TI-RTOS, Call Stack not working on Watchdog timeout

Part Number: MSP432P401R


Tool/software: Code Composer Studio

I'm currently trying to troubleshoot an issue causing the watchdog to timeout sporadically. We're using TI-RTOS and TI-Drivers to set up the watchdog and have it run our callback function (which loops forever) on timeout. When running a debug session, I let our target device run until its display stops refreshing (indicating its frozen) and pause the debugger as shown below. The Call Stack tab gives the error message below and I'm unable to inspect the different tasks we have running to try and locate where the issue might have occurred. Is this a problem with CCS? This is the only scenario where I've seen the Call Stack not work properly.

Watchdog is initialized as so:

    Watchdog_init();

    Watchdog_Params wd_parms;
    Watchdog_Params_init(&wd_parms);
    wd_parms.callbackFxn = (Watchdog_Callback)watchdog_callback;
    wd_parms.debugStallMode = Watchdog_DEBUG_STALL_ON;
    wd_parms.resetMode = Watchdog_RESET_OFF;

    wd_handle = Watchdog_open(CONFIG_WATCHDOG_0, &wd_parms);
    if(wd_handle == NULL) {
        while(1);
    }

My setup:

  • CCS Version: 9.3.0.00012
  • SimpleLink MSP432P4 SDK 3.40.01.02
  • Compiler Version TI 20.2.2.LTS