COP problem in QG8

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

COP problem in QG8

1,652 次查看
HarrySun
Contributor I
Hello,
 
in my code (MCU qg8), I need to disable COP first and then enable it later for a few times,but In QG8,it says SOPT1 can be written only once after reset.
this means I couldn't reenable COP later if I disable COP at the beginning.
amyones knows how to solve this problem?I don't want to reset cop for too many times...
 
thanks very mcuh
 
 
标签 (1)
0 项奖励
回复
2 回复数

478 次查看
rocco
Senior Contributor II
Hi, Harry:

I think Joerg is right,, but if you really want to enable/disable the watchdog on the fly, I believe that the only way you can do it is to perform a reset each time.
0 项奖励
回复

478 次查看
joerg
Contributor II
Hello Harry
why do you want to switch the watchdog off and on? I think the benefit is to have the "house" under control even if you are out! So i do feeding the dog regularly except in ISR routines and did not have any problems.

Saluti Joerg
0 项奖励
回复