Have you tried running owfs with debugging enabled?
owfs --error_level=9 --foreground -m mountpoint -u
That will give you lots of output.
I don't think the DS2490 can tell if it has 12V available. It oes need the
12 Programing explicitly enabled (I think I did that), and the duration set
(default 512 usec, the datasheet says 480usec, I use 480 but perhaps the
default is more appropriate under real-world conditions).
Can you post your debugging output?
Paul Alfille
On 9/24/07, Jim Kusznir <[EMAIL PROTECTED]> wrote:
>
> Hi Paul:
>
> Thanks for the fast responce!
>
> I pulled in the CVS version just about 20 minutes ago using:
> cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/owfs co owfs
> (I couldn't figure out how to tell what revision I'm at...)
>
> I'm seeing the same behavior I was as before:
>
> [EMAIL PROTECTED] pages]# echo -n "This is a test" > page.1
> -bash: echo: write error: Invalid argument
> [EMAIL PROTECTED] pages]# cd ..
> [EMAIL PROTECTED] 12.588636000000]# echo -n "testing" > memory
> -bash: echo: write error: Invalid argument
>
> Unfortunately, I haven't found any debugging output, espicially wether
> or not it detected the 12V available. If you could point me toward
> how to get the debugging output, I'll get more information (and make
> sure owfs sees my hardware as I think it should :) )
>
> Thanks!
> --Jim
>
> On 9/22/07, Paul Alfille <[EMAIL PROTECTED]> wrote:
> > If you're willing to try the CVS version, I put in support. Untested,
> but
> > should follow the datasheet closely.
> >
> > Paul Alfille
> >
> >
> > On 9/21/07, Paul Alfille <[EMAIL PROTECTED]> wrote:
> > > Hi Jim,
> > >
> > > I don't think 12V eprom program has ever been tested. As you notice,
> it's
> > hard to find an appropriate adapter.
> > >
> > > It looks only like the DS2406, DS2502 and DS2505 need the program
> pulse
> > (480usec).
> > >
> > > The DS2490 datasheet does say that it supports 12V programming.
> > http://datasheets.maxim-ic.com/en/ds/DS2490.pdf
> > >
> > > Only not in the DS9490 device.
> > >
> > > I'll try to add support and get you to test.
> > >
> > > Paul Alfille
> > >
> > >
> > >
> > >
> > > On 9/21/07, Jim Kusznir <[EMAIL PROTECTED] > wrote:
> > > > Hi all:
> > > >
> > > > I've been trying for about a week to write to the DS2406's EPROM
> using
> > > > OWFS. I realize that the bus master needs to have +12 VPP, and have
> > > > been working on this.
> > > >
> > > > I currently am trying to write using:
> > > >
> > > > echo "test" > memory
> > > >
> > > > from within my owfs chip's directory. I get an error message from
> echo.
> > > >
> > > > I have two bus masters: DS9490R (USB) and DS9097E ("passive"). The
> > > > 9097E has the connecter for +12, which I've put on
> it. Unfortunately,
> > > > it looks like OWFS doesn't see it as the E version, but a version
> > > > which does not have +12 which I believe is responsible for it not
> > > > allowing me to write.
> > > >
> > > > I have also opened up one of my 9094R's, lifted the VPP pin and
> > > > applied +12 externally. Unfortunately, I am still unable to write
> > > > through OWFS.
> > > >
> > > > In all my endevors to write so far, the only sucess I've had is to
> > > > bring up my 9097E in windows (on a hardware serial port -- I found
> usb
> > > > serial adaptors don't work), and writing one nibble at a time (more
> > > > that that fail).
> > > >
> > > > Based on reading the data sheet for the DS2490 (the chip the 9094R
> is
> > > > based on), it sounds like it may require a register or other setting
> > > > to be set to enable programming. I looked and looked through owfs
> and
> > > > read every piece of documentation I could find, but could not find
> any
> > > > information on setting the programming enabled info, or even
> > > > retreaving information on wether programming voltage is detected.
> > > >
> > > > So, my questions:
> > > >
> > > > 1) how do I write to EPROMS requiring the +12VPP?
> > > > 2) What adaptors have others sucessfully used?
> > > > 3) Can I configure an adaptor such as the 9094R as write-enabled
> after
> > > > I physically modified it to include +12 VPP? Do I need to?
> > > >
> > > > Any other relevent comments?
> > > >
> > > > Thanks!
> > > >
> > > >
> >
> -------------------------------------------------------------------------
> > > > This SF.net email is sponsored by: Microsoft
> > > > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > > > _______________________________________________
> > > > Owfs-developers mailing list
> > > > Owfs-developers@lists.sourceforge.net
> > > >
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> > > >
> > >
> > >
> >
> >
> >
> -------------------------------------------------------------------------
> > This SF.net email is sponsored by: Microsoft
> > Defy all challenges. Microsoft(R) Visual Studio 2005.
> > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> > _______________________________________________
> > Owfs-developers mailing list
> > Owfs-developers@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/owfs-developers
> >
> >
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Owfs-developers mailing list
> Owfs-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers