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.

TM4C129XNCZAD: WATCHDOG INITIALISATION PROBLEM WITH CCS 10

Part Number: TM4C129XNCZAD

I am unable to enable  the watchdog timer in CCS 10.2.1 

with the code using in CCS 6 with same hardware.

INITIALISATION CODE FOR WATCHDOG

WatchdogUnlock(WATCHDOG0_BASE);
IntPrioritySet(INT_WATCHDOG, 0);
WatchdogIntRegister(WATCHDOG0_BASE, &WatchdogIntHandler);
//
// Set the period of the watchdog timer.
//
WatchdogReloadSet(WATCHDOG0_BASE, SysCtlClockGet());

//
// Enable reset generation from the watchdog timer.
//
WatchdogResetEnable(WATCHDOG0_BASE);

//
// Enable the watchdog timer.
//
WatchdogEnable(WATCHDOG0_BASE);

the controller start restartinG

void
WatchdogIntHandler(void)
{

// if(cycle>=10){
// return;
// }
decimal_to_ascii(cycle,2);
// UARTCharPut(UART0_BASE,a_ASCII[0]);
// UARTCharPut(UART0_BASE,a_ASCII[1]);
// UARTCharPut(UART0_BASE,(cycle+0x30));
WatchdogIntClear(WATCHDOG0_BASE);
// cycle++;
}