[prev in list] [next in list] [prev in thread] [next in thread] 

List:       owfs-developers
Subject:    Re: [Owfs-developers] NSLU2 and DS2408 (flexible speed
From:       "Christian Magnusson" <mag () mag ! cx>
Date:       2007-07-05 6:21:43
Message-ID: 000401c7becc$c1a60fc0$44f22f40$ () cx
[Download RAW message or body]

Oh.... Sorry... I looked at the actual values written to the adapter..
I added an offset to Writeonelowtime and datasampleoffset to show "micro
seconds" instead of the raw value.
Therefore the correct initialization should look like:

Starting owserver without --altUSB option is the same as setting:
bash-3.2# echo 1 > /tmp/1wire/bus.0/system/adapter/overdrive.0   (flexible
speed)
bash-3.2# echo 5 > /tmp/1wire/bus.0/system/adapter/pulldownslewrate.0
(0.83V/us)
bash-3.2# echo 12 > /tmp/1wire/bus.0/system/adapter/writeonelowtime.0  (12
us)
bash-3.2# echo 7 > /tmp/1wire/bus.0/system/adapter/datasampleoffset.0  (7
us)

Starting owserver WITH --altUSB option is the same as setting:
bash-3.2# echo 1 > /tmp/1wire/bus.0/system/adapter/overdrive.0   (flexible
speed)
bash-3.2# echo 3 > /tmp/1wire/bus.0/system/adapter/pulldownslewrate.0
(1.37V/us)
bash-3.2# echo 10 > /tmp/1wire/bus.0/system/adapter/writeonelowtime.0  (10
us)
bash-3.2# echo 8 > /tmp/1wire/bus.0/system/adapter/datasampleoffset.0  (8
us)
(This setting have been reported to work for some AAG user before)


/Christian


> -----Original Message-----
> From: owfs-developers-bounces@lists.sourceforge.net [mailto:owfs-
> developers-bounces@lists.sourceforge.net] On Behalf Of Giuliano
> Sent: den 5 juli 2007 02:15
> To: owfs-developers@lists.sourceforge.net
> Subject: Re: [Owfs-developers] NSLU2 and DS2408 (flexible speed is now
> default)
> 
> Christian Magnusson <mag <at> mag.cx> writes:
> 
> >
> >
> > Starting owserver without --altUSB option is the same as setting:
> > bash-3.2# echo 1 > /tmp/1wire/bus.0/system/adapter/overdrive.0
> > bash-3.2# echo 5 > /tmp/1wire/bus.0/system/adapter/pulldownslewrate.0
> > bash-3.2# echo 4 > /tmp/1wire/bus.0/system/adapter/writeonelowtime.0
> > bash-3.2# echo 4 > /tmp/1wire/bus.0/system/adapter/datasampleoffset.0
> >
> > Starting owserver WITH --altUSB option is the same as setting:
> > bash-3.2# echo 1 > /tmp/1wire/bus.0/system/adapter/overdrive.0
> > bash-3.2# echo 3 > /tmp/1wire/bus.0/system/adapter/pulldownslewrate.0
> > bash-3.2# echo 2 > /tmp/1wire/bus.0/system/adapter/writeonelowtime.0
> > bash-3.2# echo 5 > /tmp/1wire/bus.0/system/adapter/datasampleoffset.0
> > (This setting have been reported to work for some AAG user before)
> >
> Removed with ipkg both owlib and owfs. I made a little mistake , the
> owlib was
> not up to date.
> Now after the fresh installation (both at 2.6p5-15) i have the
> overdrive.0 at 1
> just after the reboot.
> 
> BTW the problem is still there, i set the value of the others parameter
> as
> indicate by you , even if the value indicated for writeonelowtime is
> out of
> range (i look at the code and i see that what you indicate as 2 should
> be 10).
> Last but not least , the crc16 errors are back again.
> Giuliano
> 
> 
> -----------------------------------------------------------------------
> --
> This SF.net email is sponsored by DB2 Express
> Download DB2 Express C - the FREE version of DB2 express and take
> control of your XML. No limits. Just data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic