Hi Paul,
Oops... I killed owserver and owfs, but forgot that I had started owhttpd,
so that was still running. Now that I've killed that and tried again...
every time I try to write to the DS2404 with owfs (fuse), owserver
segfaults. But that's happening with the released version too, so somethi
On Fri, Oct 3, 2008 at 10:31 AM, Ben Griffith <[EMAIL PROTECTED]> wrote:
> CVS is working again so I got to give it a quick try this morning. It
> seems to be behaving the same. If I cat one of the DS2404 pages I can't
> read the 3W port anymore, and if I then type "ls /mnt/owfs/" I can read
> t
On Fri, Oct 3, 2008 at 10:31 AM, Ben Griffith <[EMAIL PROTECTED]> wrote:
> CVS is working again so I got to give it a quick try this morning. It
> seems to be behaving the same. If I cat one of the DS2404 pages I can't
> read the 3W port anymore, and if I then type "ls /mnt/owfs/" I can read
> t
This is changed in the CVS version.
The shell routines (owread owwrite and owget) now support some added command
line options:
--hex
All data (read/write) are in hexidecimal
--start=30
Data read/write starts at byte 30 (in this case) i.e. the offset
--size=20
Data read will be 20 bytes long (at
CVS is working again so I got to give it a quick try this morning. It seems
to be behaving the same. If I cat one of the DS2404 pages I can't read the
3W port anymore, and if I then type "ls /mnt/owfs/" I can read the 3W
port again. I have a handful of DS2405 connected also, but I didn't touch
th
Thanks Paul. I probably won't get a chance to try it out until the weekend,
but I'll let you know how it works when I do.
The 3wire_lock sounds like a good idea. Then it would just be a matter of
letting the Arduino know when it's turn is.
Another idea I though of was to use a DS2409 to isolate
Ben, the CVS version has the RESET after read/write DS2404 now. (Not other
chips).
If this works I'm thinking of adding a DS2404 property:
3wire_lock
echo 250 > 04.1234354657AB/3wire_lock
resets and locks the bus for 250 msec for the 3-wire access.
This has the advantage of precenting other cun
When the Sourceforge CVS service is fixed, I have a trial version with the
reset-after-read/write for the DS2404.
Another approach would be to reset and lock the 1-wire bus during the 2-wire
communication. How long is a typical 3-wire interaction?
Paul Alfille
On Wed, Oct 1, 2008 at 12:30 PM, Be
Hi Paul,
The data sheet states that "The 1-Wire port is considered active with the
first falling edge detected after the presence pulse." That makes it sound
like any activity on the 1W bus will block access to the 3W port. I had
assumed a match or skip ROM would be needed first before the 3W por
Hi Ben.
I'll take a look at the datasheets. One thought is that owfs does "lazy
resets" -- only sends a 1-wire reset pulse when the next command is sent.
Perhaps this doesn't release the DS2404?
Paul
On Wed, Oct 1, 2008 at 12:54 AM, Ben Griffith <[EMAIL PROTECTED]>wrote:
> Thanks Paul. I compi
Thanks Paul. I compiled the latest version tonight and now the owfs reads
are working correctly. I'm having some trouble with 3-wire reads though,
and it seems to be dependent on what I'm doing in owfs. The data sheet says
that the 1-wire and 3-wire ports cannot be accessed simultaneously, so I
You problem is essentially the length of the read wasn't being reduced
properly. I think this was corrected in the current version. (FUSE uses a
4096 byte buffer).
Paul Alfille
On Wed, Sep 24, 2008 at 10:24 PM, Ben Griffith <[EMAIL PROTECTED]>wrote:
> Hi Paul,
> I've taken another look at it and
(I accidentally sent this from the wrong address the first time, and now I'm
re-sending it from the address that's actually subscribed to this list. My
apologies if it ends up going out to the list twice anyway.)
Hi Paul,
I've taken another look at it and it seems like the write actually is
worki
Hi Paul,
I've taken another look at it and it seems like the write actually is
working. Before, I had an Arduino sketch loaded that was also poking at the
DS2404. Now, with a different sketch that doesn't touch the DS2404, writing
via owfs seems to work.
The reading is still not quite right... a
The DS2404 has never really been tested. I'll work with you to see if we can
make it work.
As for accessing just parts of memory, it's not really possible via the
shell. The underlying libow API supports writes (and reads) with offsets and
a length. owcapi supports this. owperl supports this.
Pau
Hi,
I've got a few DS2404 chips and I'm playing around with them and an
Arduino. I've got the Arduino connected to the 3-wire port and my laptop
connected via a USB dongle to the 1-wire port. The DS2404 is getting +5V
and ground from the Arduino board. My laptop is running Gentoo with owfs
2.7-
16 matches
Mail list logo