Eloy Paris <peloy <at> chapus.net> writes: > > A few weeks ago there was a power outage during a bad thunderstorm and for whatever reason one of my three > ATmega-based 1-Wire slaves didn't come back up and that caused the entire bus (about 15 devices) to go > down.
Sure, but there's not much anybody can do about that in software. I use the hardware watchdog in "reset" mode, set the fuses to largest-possible startup delay, and turn on the brownout detector to try and get the ATmega back to a sane state after such an event; that *should* always help but if there are power spikes, we know that all bets are off. If you want more protection against a device shorting the bus, for whatever reason, you need to add some external hardware. Code that periodically toggles a pin, to tell that hwardware you're still alive, is rather easy to add to MoaT or whatever other ATmega code. However, if that happens it'd be easier to just power cycle the bus (and the +5V line of course), than to add a hardware watchdog to each bus device I plan to hook up. (I'll probably end up with 100 of them, not all on the same bus of course). ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers