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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
12/13/04 23:57
Read: times


 
#83026 - Not generally a good idea
Responding to: ???'s previous message
Kick that watchdog within your interrupt

This is generally not a good idea.

OK, so I've just stripped Craig's comment of all context - but this is for anyone else who takes that comment out of context and thinks that kicking a watchdog from an ISR is generally a good thing.

In general, it is not a good idea to kick your watchdog from an ISR. This is because it is quite possible for your "main" code to be stuck in some sort of infinite loop, while the interrupts are still all working fine and merrily kicking the dog - thus defeating the object of the watchdog! :-(

List of 21 messages in thread
TopicAuthorDate
LPC932 WDT Triggered by Ext. Int.            01/01/70 00:00      
   please carify            01/01/70 00:00      
      Here is!            01/01/70 00:00      
         How to post code            01/01/70 00:00      
         Oh no you don't!            01/01/70 00:00      
         Wrong Numbers            01/01/70 00:00      
            disable int in ISR is worthless            01/01/70 00:00      
               disable int in ISR is worthless            01/01/70 00:00      
         wd trigger            01/01/70 00:00      
            wdt feeds from main            01/01/70 00:00      
               what effect does that have            01/01/70 00:00      
                  You are Right            01/01/70 00:00      
                     KISS            01/01/70 00:00      
                        So!            01/01/70 00:00      
                           info, please            01/01/70 00:00      
                              WDT            01/01/70 00:00      
                                 puppy chow            01/01/70 00:00      
                     Interrupts - back to basics            01/01/70 00:00      
               Kick that dog in the interrupt            01/01/70 00:00      
                  Not generally a good idea            01/01/70 00:00      
                     Use different method            01/01/70 00:00      

Back to Subject List