watchdog设置
Watchdog_init();
Watchdog_Params Watchdogparams;
Watchdog_Params_init(&Watchdogparams);
Watchdogparams.resetMode=Watchdog_RESET_ON ;
Watchdogparams.debugStallMode=Watchdog_DEBUG_STALL_ON;
watchdogHandle = Watchdog_open(0, &Watchdogparams);
Watchdog_setReload(watchdogHandle, 3000000);
我在定时器里面Watchdog_clear(watchdogHandle)喂狗了,程序正常运行;
但是我不喂狗的时候,程序死掉了