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

Back to Subject List

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


 
#135123 - there is nothing like "frozen" microcontroller...
Responding to: ???'s previous message
(... OK there actually IS, but that's a _really_rare_ case - see Kai's locked-up mcu which needed a power cycle).

What happens when a bug occurs, (and what from the point of the , is:
- program cycles in a cycle infinitely
- mcu executes what "he" thinks is code but what actually is data, code starting from a wrong address (e.g. in the middle of a multibyte instruction), noninitialized or simply nonexistent code memory
- any of the above plus a working interrupt
- none of the above (program working OK) but spuriously erratically disabled interrupt
- anything else :-) (actually, this is the tricky part of this whole issue: it is YOU who has to determine ALL possible modes of failure - and of course, this is a classically impossible task - this is why redundant systems exist, and in fact this is why WD exist at the first place - any "independent" checking mechanism reduces entropy (although a flawed redundant system might in fact increase entropy... :-( ))

And, for proper level of paranoia, you need to ensure, that the dog does NOT get kicked in either of the above cases so it can bite through reset...

You can never be paranoid enough...

JW


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