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.

RTOS/CC1310: SysCtrlSystemReset hang only on the first try after flash the CC1310 Lauchpad

Part Number: CC1310

Tool/software: TI-RTOS

Hi,

I'm using the sensor example code and when I remove the sensor from the network I want that is reset.

I change this:

On the sensor_process() added:

    if (Sensor_events & SENSOR_RESET_MODE_EVT) {
        /* Clear the event */
        Util_clearEvent(&Sensor_events, SENSOR_RESET_MODE_EVT);

        /* Reset sensor */
        SysCtrlSystemReset();
        //HapiResetDevice();
    }

On the jdllcDisassocIndCb and jdllcDisassocCnfCb I call the event.

This only doesn't work the first time after flashing the board.

Any idea why this is happening?

Best regards.