S12XEP100's wdt(COP) is overflow, what is S12XEP100's behavior

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S12XEP100's wdt(COP) is overflow, what is S12XEP100's behavior

426 Views
tafengchung
Contributor II

S12XEP100's wdt(COP)  is overflow, what is S12XEP100's behavior.

i check the contents of ram data (0xFFFA/0xFFFB) is C193.

so if S12XEP100's wdt(COP)  is overflow, program count will be change c193?

my test code as below, when wdt is work, program is still work( wdt_reset() process  is seem not work )

static void wdt_reset(void){  // at 0xc193
      while(1){
      _FEED_COP();
      }   
}

static void por_reset(void)
{

    initial();

    run_normal_program();

}

0 Kudos
Reply
0 Replies