Running latest CCSV6.1 on Windows 8.1 with latest TIRTOS 2.12, converting a TIRTOS 2.10 project
My question: "What has changed in the TIRTOS version 2.12 regarding the watchdog initialisation."
The migration document mentions the IO but nothing to do with the watchdog.
The following code used to work
Watchdog_Params_init(&wdogParams);
wdogParams.callbackFxn = Watchdog_CallbackFn;
wdogParams.resetMode = Watchdog_RESET_ON;
watchdog = Watchdog_open(Watchdog_CallbackFn, &wdogParams);
if (watchdog == NULL)
{
System_abort("Error opening Watchdog!\n");
}
I noticed that Watchdog)open had different parameters and changed my call to
Watchdog_Params_init(&wdogParams);
wdogParams.callbackFxn = Watchdog_CallbackFn;
wdogParams.resetMode = Watchdog_RESET_ON;
watchdog = Watchdog_open(0, &wdogParams);
if (watchdog == NULL)
{
System_abort("Error opening Watchdog!\n");
}
Now the code causes my TM4C129ENCPDT processor to lock the debug port and no longer operate so I have to go to LMFlash programmer to try and recover the board and try again. I have googled lots but there is no complete documentation which shows what has changed, and how I should now setup the watchdog like there is for the generic IO. There are also no examples that demonstrate the watchdog?