Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
03/15/07 20:07
Read: times


 
#135063 - Not being the consummate embedded guy, ...
Responding to: ???'s previous message
Hi Jez,

I'm far from the consummate embedded guy some around here are, but it seems to me that you'd reset the WDT anywhere in the code you might find the µcontroller spending some time. It seems plausible that an ISR could interrupt an ISR, or that two ISRs might cue up in succession (of equal priority), so that control could be some time returning to the Main loop.

On the other hand, Vista's security has demonstrated that you can take a good thing too far. So I guess I would come down on the side of resetting the WDT as often as possible without wasting machine cycles needlessly.

Man, that sounds like a non-committal politican answer. Strictly speaking I suppose one hopes that every WDT reset is a waste of cycles. And really they are, until your code hangs. Then they're brilliant. It's like cellphones and guns. They're only nuisances until you need one, then they're Godsends. Besides, isn't 90% of engineering, compromising between opposing considerations?



List of 23 messages in thread
TopicAuthorDate
Where to kick the watchdog            01/01/70 00:00      
   Not being the consummate embedded guy, ...            01/01/70 00:00      
   Be kind to animals            01/01/70 00:00      
      I thought that as well, stray main loop =badness            01/01/70 00:00      
      Sort of            01/01/70 00:00      
   There are watchdogs and the there are WATCHDOGS            01/01/70 00:00      
   I doubt the usefulness of normal watchdog            01/01/70 00:00      
      watchdog IS expensive...            01/01/70 00:00      
         i suppose arguments for and against having a dog            01/01/70 00:00      
            bugs happen...            01/01/70 00:00      
               Not having quite the same budget as NASA            01/01/70 00:00      
                  the case for the internal dog            01/01/70 00:00      
   It's obvious I need to learn about WDT            01/01/70 00:00      
      the WD would not care, but if you reset it in e.g.            01/01/70 00:00      
      if your main function goes of to play in the weeds            01/01/70 00:00      
      I wouldn't have thought about that.            01/01/70 00:00      
         one more reason to KISS            01/01/70 00:00      
      there is nothing like "frozen" microcontroller...            01/01/70 00:00      
         You would be surprised...            01/01/70 00:00      
            Apply ESD to your micro and look what happens...            01/01/70 00:00      
            I am not surprised...            01/01/70 00:00      
               be reasonable            01/01/70 00:00      
                  therac            01/01/70 00:00      

Back to Subject List