AnsweredAssumed Answered

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

Question asked by tafeng chung on Jul 24, 2017

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();

}

Outcomes