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

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

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

329件の閲覧回数
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 件の賞賛
0 返答(返信)