COP problem in QG8

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

COP problem in QG8

1,649 Views
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
 
 
Labels (1)
0 Kudos
Reply
2 Replies

475 Views
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 Kudos
Reply

475 Views
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 Kudos
Reply