Hi,
I need my hardware to go in to soft reset by using watchdog reset, below is the code wirtten to peform reset
Testing on C2000 kit with F28035 controcard connected
***********************************************************************************************
EALLOW;
SysCtrlRegs.
SCSR |= 0x01; //WDOVERRIDE is set 1 to make WDDIS enable
SysCtrlRegs.
SCSR &= 0xFFFD; //WDENINT is set 0 to make WDRST(reset) enable and interrupt disable
SysCtrlRegs.
WDCR |= 0x20; //WDDIS set 0 to Enable Watchdog
EDIS;
EALLOW;
SysCtrlRegs.
WDCR = 0x0094;
EDIS;
************************************************************************************************
With the above code on watchdog reset the system hangs mentioning No source code available at 0x3FF599
I have tried even these even flashing the code on standalone(removing the debugger) then also on restart it doesnt come back to application.
It stays in 0x3FF599, The same code as been working fine for 28335
Please help me on these
Thanks
Girish