Feb 10, 2004 #1 G GrandAlf Advanced Member level 2 Joined Mar 9, 2002 Messages 520 Helped 47 Reputation 92 Reaction score 6 Trophy points 1,298 Location UK Activity points 4,730 watchdog at89s8252 I am try to use the Watchdog in K*e*il, As far as I can tell from the data sheet, I should be doing the following. #include <AT898252> PS0 = 0x01; // Setup WatchDog for 2048 Ms PS1 = 0x01; PS2 = 0x01; WDTEN_= 0x01; // Start WatchDog WDTRST_= 0x01; // Reset WatchDog, used throughout program This does not appear to work, would be most grateful for any advice.
watchdog at89s8252 I am try to use the Watchdog in K*e*il, As far as I can tell from the data sheet, I should be doing the following. #include <AT898252> PS0 = 0x01; // Setup WatchDog for 2048 Ms PS1 = 0x01; PS2 = 0x01; WDTEN_= 0x01; // Start WatchDog WDTRST_= 0x01; // Reset WatchDog, used throughout program This does not appear to work, would be most grateful for any advice.
Feb 10, 2004 #2 G GrandAlf Advanced Member level 2 Joined Mar 9, 2002 Messages 520 Helped 47 Reputation 92 Reaction score 6 Trophy points 1,298 Location UK Activity points 4,730 looking for data sheet of at898252 Whoops, forgot they needed masking. All is OK now !!!!!!!!!!!.