WDT for LDmicro (by huynhhai)
Hi everybody,
I really like this LDmicro program, but i don't know how to reset microcontroller when it has been hang, no intruction in the LDmicro to reset it by Watch Dog
Can you help me to reset it by using sorfware of LDmicro?
Thanks!.
(no subject) (by David R)
Hi,
why is is your microcontroller Hanging? there must be A major problem with your circuit design/layout.
All that aside you could pulse an out put pin high/low linked to A second microcontroller which could pull the reset pin of the other, this way the microcontrollers can watch each other.
Regards
David
(no subject) (by Jonathan Westhues)
The microcontroller shouldn't be resetting in any case, unless there's something electrically wrong. But I would note that LDmicro resets the watchdog timer every cycle time, for both the PIC16 and AVR targets.
So you may be able to just enable the watchdog timer on your part, using the appropriate bit in the configuration word (i.e., "fuse"); see the datasheet for your part, and the manual for your programming software.