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

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
01/27/05 15:00
Read: times


 
#85948 - External WTD better?
Responding to: ???'s previous message
Hendry said:
In my problem sometime my program is jump not properly after energize the contactor to drive a motor, so if WDT always updated in every program / subrutine I can say this is no meaning uses WDT.

Don't exactly understand what you mean, but maybe an external watchdog is more helpful then? Like MAX1232? You can strobe it in such a way, that even hang-ups in parts of the program will cause a reset. How? You simply divide the strobe (1-to-0 transistion followed by 0-to-1 transition) into two steps: In the main program you make the strobe pin only going low, while in the subroutines you make the strobe pin only going high. So, if the program hangs either in main program or in the subroutines a reset will be invoked.

Kai

List of 3 messages in thread
TopicAuthorDate
WDT in AT89S52            01/01/70 00:00      
   run away            01/01/70 00:00      
   External WTD better?            01/01/70 00:00      

Back to Subject List