AnsweredAssumed Answered

Backup Watchdog

Question asked by Sergey Gagiev on Feb 13, 2013
Latest reply on Mar 1, 2013 by Sergey Gagiev

Hello, all


My board run under BDM and Backup Watchdog Timer init with Processor Expert bean. But, when I break debug (stop Run) Backup Watchdog Timer NOT reset MCU and I read WCNTR = 0000, even when my programm write 0x5555 0xAAAA to WSR. My configuration:

CLKMOD[01] = 01 (CLKMOD0 pin have pullup resistor, XTAL pin NOT have pullUP resistor)

BWCR (CLOCK MODULE) = 0x00 - 32 MHz from bus

WCR = 0x0003

WMR = 0xFFFF - 8388,48 ms timeout


Init function:


void Wtm1_Init(void)


  /* WMR: WM=0xFFFF */

  setReg16(WMR, 0xFFFFU);              

  /* WCR: ??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,??=0,STOP=0,WAIT=0,DOZE=0,??=1,EN=1 */

  setReg16(WCR, 0x03U);                



Can I check software reset in the debug mode?


P.S. I use CW version 5.9.0 build 5293


Thank for answer