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.
Paul Alfille
On Wed, Sep 24, 2008 at 4:57 PM, Ben Griffith <[EMAIL PROTECTED]> wrote:
> 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-p4. For starters I'd like to just write to memory via one port and see
> the result via the other. I'm having trouble writing to memory via owfs and
> seeing the result also via owfs. I've never played around with a 1-wire
> memory device before, only temperature and switch devices, so maybe I'm
> doing something wrong. I tried "cat pages/page.0" and get what seems like a
> whole lot more than 32 bytes worth of garbage characters. If I then "echo
> 1234567890 > pages/page.0" and do "cat pages/page.0" again I get the
> expected (to me anyway) "1234567890". But then if I cat the same thing
> again a minute later it's back to the same garbage characters as before.
> I'm guessing that the 1234567890 I see is just cached from the attempted
> write.
>
> Also, it looks like the only way to access the memory is a page at a time
> or all at once. Is there any way to access a byte at a time, or a range of
> bytes other than a whole page?
>
> Has anyone else tried using this device? I know it's been discontinued by
> Maxim, but I have a few I'd like to try out in a project.
>
> Thanks,
> Ben
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers