Hey,
I am using the watchdog on a TM4C123BH6PM with ti rtos (2.16.1.14) initialzed by following code:
Watchdog_Params params;
Watchdog_Params_init(¶ms);
params.debugStallMode = Watchdog_DEBUG_STALL_ON ;
params.resetMode = Watchdog_RESET_ON;
WatchdogIntEnable(WATCHDOG0_BASE);
WatchdogIntClear(WATCHDOG0_BASE);
WatchdogIntTypeSet(WATCHDOG0_BASE, WATCHDOG_INT_TYPE_INT);
watchdog = Watchdog_open(Board_WATCHDOG0, ¶ms);
Watchdog_setReload(watchdog, 80000000 *1 );
Watchdog_clear(watchdog);
within my Task I only use Watchdog_clear(watchdog); to reset the watchdog, when all of the the events of all Tasks are beeing received.
Now, when I stop clearing the watchdog, the device restarts after 2 seconds, as expected (interrupt call is present, but empty). Unfortunately the resetting stops after 5 to 7 times of resetting. Has anyone an idea, why this happens? I would expect the controller, to continue resetting endelssly.
Best regards, Simon