Great news!
Was it the CRC check in OW_r_data that was the problem?
//Gunnar
Gunnar Karlsson
HotSwap Stockholm AB
Landsvägen 39 | SE-172 63 Sundbyberg, Sweden
Mobile +46 73 9614069 | Switchboard +46 8 4787600
[email protected]<mailto:[email protected]> |
www.hotswap.eu<http://www.hotswap.eu/>
From: Paul Alfille
[mailto:[email protected]]<mailto:[mailto:[email protected]]>
Sent: den 6 september 2012 04:46
To: Gunnar Karlsson; OWFS (One-wire file system) discussion and help
Subject: Re: [Owfs-developers] problem writing to ds2502
Found the error -- using CRC16 rather than CRC8. Writing fix and will include
in next version. Thanks for finding this error!
Paul Alfille
On Wed, Sep 5, 2012 at 12:14 PM, Gunnar Karlsson
<[email protected]<mailto:[email protected]>> wrote:
Thanks for the quick response.
Yes, I have 12V for eprom writing.
And I can write to a ds2406 so I think that part works.
And yes, I have a bus master, can't recall the name now but it is the same as
in the serial and USB devices that is quite common.
//Gunnar
0739614069
Paul Alfille <[email protected]<mailto:[email protected]>> wrote:
I don't recall if the writing has been tested recently. As a first pass, do you
have a bus master that can generate the 12V needed for EEPROM programming? They
aren't common.
See http://datasheets.maximintegrated.com/en/ds/DS2502.pdf page 2.
Paul Alfille
On Wed, Sep 5, 2012 at 8:23 AM, Gunnar Karlsson
<[email protected]<mailto:[email protected]>> wrote:
Hi
First: thanks for a great program/library/whatever :-)
Second: my question
I cannot write to the eprom on a ds2502 using owfs (owhttpd). It works writing
to the eprom in a ds2406. I cannot find any reference to the eprom status bytes
in the code, is the ds2502 fully supported? anyone else that have had any luck
writing to a ds2502?
(just modifying ow_2502.c so it looks more like ow_2505.c with reading/writing
to status does not seem to be enough)
Kind regards
//Gunnar
Gunnar Karlsson
HotSwap Stockholm AB
Landsvägen 39 | SE-172 63 Sundbyberg, Sweden
Mobile +46 73 9614069<tel:%2B46%2073%209614069> | Switchboard +46 8
4787600<tel:%2B46%208%204787600>
[email protected]<mailto:[email protected]> |
www.hotswap.eu<http://www.hotswap.eu>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Owfs-developers mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Owfs-developers mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/owfs-developers
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers