Hi all,
I guess I need some help getting my devices up on my 1-wire bus.
The topology is not really perfect, but a similiar setup used to work in
the past and I even tried to create a single branch, which didn't help.
So - what's my setup?
I have several temperature sensors and 1 DS2423 counter in one room. All
are connected with a Cat.5 network cable (about 30 meters) in a single bus
that ends in another room with a small embedded Debian ARM (armel) server
that runs OWFS 2.8p15-1.
Everything fine up to here. Let's call this branch "A".
I then started to connect some software programmed ATTiny85 custom 1-wire
slaves, drawing another branch (branch "B") from my server. That way, the
first star-alike topology was built, currently a single bus, but with the
master in the middle.
This also worked for the first 2 devices, about 7 meters distance to the
master (remember the additional 30 m to the other sensors). I used simple
electric cable (NYM-J 3x1.5mm²) for this second branch, because I needed
the third wire for some higher currents.
Well... some months later I added 2 more custom slaves on a third branch
("C"), having a typical star topology now with the master in the middle.
Again, those are connected with NYM-J as well, with about 4 meters distance
and..... yes, it worked!
My problems started when I expanded the last branch by another 4 meters
trying to connect a third slave on that branch!
Suddenly all 3 slaves on that branch disappeared from the bus.
I could not get them back, whatever I tried: removing the 4 meters
extension, disconnecting the other 2 branches, only connect a single slave
- nothing helped.
(But they showed up and worked for weeks before I added the extension!)
I then finished my setup first - having a total of 3 slaves on branch "B"
and 7 slaves on branch "C". Branch "B" has a total length of 12 meters,
branch "C" about 30 meters:
Master (DS9490R)
|--()--()--...--() "A", 30 meters Cat.5, 8 slaves
|--()--()--() "B", 12 meters NYM-J1.5, 3 slaves
|--()--()--...--() "C", 30 meters NYM-J1.5, 7 slaves
Still, only all slaves of branch "A" and the the first two of branch "B"
show up on the bus. For testing purpose I went and connected my laptop
running a virtualized Debian installation and OWFS to that bus - and: ALL
devices showed up and responded to read and write commands. It took some
seconds and maybe 3-4 runs of 'owdir /uncached' to see all devices, but
finally it worked.
I switched back to my embedded Debian with the same result as above - only
2 and the temp sensors. :-(
I switched the DS9490R (I have 2 different ones) with the same result.
It works on OWFS 2.8p15-1 in a i386 VMware machine (Debian 7.9, kernel 3.2)
and it fails on OWFS 2.8p15-1 armel (Debian 7.1, kernel 3.8.4).
Now... does anyone have any advice what to change/try next?
Should I try to compile OWFS 3.1?
Is there any configuration (defines?) that can cause different timing on
the bus - making it work on i386 and fail on armel?
Any advise to change the bus? Different cable? Different master (I have
another LinkUSB)?
Again: I already disconnected branches "A" and "B" resulting in no slaves
at all - with a single bus/branch.
Hope somebody can help me out...
Sven
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers