Scott Horton wrote: > > I have a working LARGE 2 digit LED display I made using a 16C84 and some TI > power shift registers. I send serial data to it from my pc and it displays it. > It's been in use many hous with no problem until yesterday, when it "locked". > A power cycle fixed it but I want to make it "self healing" if possible. > > Can I use the WDT to "reboot" it? I had invisioned having the WDT timer > running and putting lots of resets to the WDT in my code. Then, if it gets > stuck, the WDT timer will time out and trigger a reset of the 16C84? > > Is this how it works? Can someone offer me some pointers on how/if I can make > the WDT reset the chip? > > Thanks in advance for all help. > > Scott Horton > Nashville, TN The trick with the WDT is to have as little 'tags' (CLRWDT) as possible. Try to have only one if you can in a place where you know the program is OK if it can pass through that point. If you have too many tags, you defeat the whole object, and may only succeed in introducing new unknowns. -- Friendly Regards Tjaart van der Walt mailto:tjaart@wasp.co.za _____________________________________________________________ | WASP International http://www.wasp.co.za/~tjaart/index.html | | R&D Engineer : GSM peripheral services development | | Vehicle tracking | Telemetry systems | GSM data transfer | | Voice : +27-(0)11-622-8686 | Fax : +27-(0)11-622-8973 | | WGS-84 : 26010.52'S 28006.19'E | |_____________________________________________________________|