Hi,
I have been trying to generate HARD RESET to C6670 using watchdog timer when it times out. So far i have managed to run the watchdog timer and once it times out i can see WDFLAG bit of WDTCR is getting set. However nothing happens to CCS. I would expect PC to go hit internal ROM. Again RSTTYPE register does not detect WDRST.
1. Register value before starting watchdog timer.
RSTCFG = 0x0
RSTCTRL=0x00010003
RSTTYPE = 0x1
2. Start WATCHDOG timer using following sequence.
/* Prepare timer to act as a Watchdog timer */
hTmr->regs->TCR = 0x00000000;
hTmr->regs->TGCR = 0x0000000B;
hTmr->regs->CNTHI = 0x00000000;
hTmr->regs->CNTLO = 0x00000000;
hTmr->regs->PRDHI = 0x00000001;
hTmr->regs->PRDLO = 0x00000000;
/* Start Watchdog timer */
hTmr->regs->WDTCR = 0xa5c64000;
hTmr->regs->WDTCR = 0xda7e4000;
3. Once watchdog timer runs out.
Read to WDTCR will be 0xxxxx8000;
Above suggest WDFLAG is set correctly
4. Read following registers,
RSTCFG = 0x0
RSTCTRL=0x00010003
RSTTYPE = 0x1
5. This suggests DSP has not received any reset.
Is there an errata related to this?
Thanks in advance.
Kind Regards,
Piyush