How to block the COP Resets

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to block the COP Resets

2,536 次查看
Saga
Contributor II
Hi to all, i want to block the watchdog's resets, in the datasheet it says this:

Computer Operating Properly (COP) Watchdog—Reset was caused by the COP watchdog timer timing out.
This reset source can be blocked by COPE = 0.
0 Reset not caused by COP timeout.
1 Reset caused by COP timeout.

But there is no register called COPE in the definitions for my microcontroller (MC9S08DZ32). Thank you in advance!
标签 (1)
0 项奖励
回复
2 回复数

1,102 次查看
bigmac
Specialist III
Hello,
 
The label COPE actually refers to a particular bit within the System Options (SOPT) register.  Note that this is a "write once" register, so the COPE bit must be cleared at the same time as all other bits are set or cleared.
 
Regards,
Mac
 
0 项奖励
回复

1,102 次查看
J2MEJediMaster
Specialist I
In the HCS08 Peripheral Module Quick Reference manual, the section on low power modes shows that the COPE is a bit in the system options register (SOPT).

---Tom
0 项奖励
回复