On 4/28/14 15:29 , Jan Kandziora wrote: > Am 28.04.2014 13:50, schrieb Johan Ström: >> Mostly this has been working good, with reliable triggering of the >> latch. However, one problem with pull-up based circuit is that I get >> erroneous triggers if VCC disappears, for example due to a bus >> disconnect, >> >> So.. my questions would be: >> a) what does your DS2406/08-setup look like, and have you had any >> similar problems? >> > With a DS2408, I would always check the POR flag and sort out errorneous > latch states in the software. > > With a DS2406, there isn't such a POR flag, but you can check the status > byte 7 whether it is in factory setting. That would mean POR. This only > works when you don't use the correspoding setting "Respond to > conditional search when PIO A or B is high". Hi, thanks for your input!
I employ that scheme as well. In owfs terms, this means reading the (uncached) set_alarm property and verifying that the settings are indeed what I expect. Which by the way is 111 for single-input DS2406. (channel A activity latch is 1). For dual-input I use 311. In addition, my script performs a verification of the configured alarm every now and then (even without latch activity, every 1000th loop iteration or so), and I THINK it is more stable with my current circuit. However not fully stable, at one time during the last 48 hours all three DS2406 at the same location got their settings reset, both powered and unpowered ones.. The fourth one, at another location (closer to the master) was however not affected. Johan > > Kind regards > > Jan > > ------------------------------------------------------------------------------ > "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE > Instantly run your Selenium tests across 300+ browser/OS combos. Get > unparalleled scalability from the best Selenium testing platform available. > Simple to use. Nothing to install. Get started now for free." > http://p.sf.net/sfu/SauceLabs > _______________________________________________ > Owfs-developers mailing list > Owfs-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/owfs-developers ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available. Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ Owfs-developers mailing list Owfs-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/owfs-developers