Other Parts Discussed in Thread: CC3200MOD
Hi all,
I'm working on TI's CC3200MOD boards and I'm experiencing a problem with Watchdog reset.
I initialize WDT module like that:
MAP_PRCMPeripheralClkEnable(PRCM_WDT, PRCM_RUN_MODE_CLK);
MAP_WatchdogUnlock(WDT_BASE);
MAP_IntPrioritySet(INT_WDT, INT_PRIORITY_LVL_0);
MAP_WatchdogIntRegister(WDT_BASE, WatchdogIntHandler);
MAP_WatchdogReloadSet(WDT_BASE, MILLISECONDS_TO_TICKS(10000));
MAP_WatchdogEnable(WDT_BASE);
WDT ISR handler:
static void WatchdogIntHandler(void)
{
puts("Reset caused by WatchDog\n");
return;
}
After expiration of timeout value WDT handler is called (I can see on console a message about reset), but no reset is performed. Instead this I see the sequence of called WDT handler:
...
Reset caused by WatchDog
Reset caused by WatchDog
Reset caused by WatchDog
Reset caused by WatchDog
...
After next expiration of timeout (next 10000ms), the device gets stuck (no reset is performed).
I have started the Firmware from Flash (I am not running it from GDB).
I would be grateful if you could advice me something about this issue
Thank you in advance.