Hi

I'm working on a custom 1-wire slave (IR sender for some air con 
units), and I picked the DS2431 to emulate for exposing a memory mapped 
interface to the IR sender. The IR sender (already done) and DS2431 code 
is coming together nicely in a 12F683 at 4MHz.  The master is a LinkUSB, 
which now reports 1.5 for the firmware, so I patched the link driver to 
recognise it as a version 1.4 device.

So far my slave shows up in the file system, and reading data from it 
works, though isn't required. I have a problem when implementing the 
write scratchpad feature though, as a DS2431 should TX an inverted CRC16 
of the received command, address and data, but there are no read slots 
coming from the master for the CRC after it sends the 8 bytes of 
scratchpad data. I may have missed something, but I'm not sure what and 
would appreciate any pointers. It appears that the CRC would simply 
dropped by a slave as it cannot be sent. I also get a CRC error on a 
read scratchpad operation at the moment, but that may well be an error 
in my slave, though I have the CRC16 algorithm correct and tested.

Last, the selection of a DS2431 is arbitrary, and if there's any 
recommendation for a different memory oriented part to emulate then the 
choice can easily be changed. It just needs to be a part that has about 
8 bytes or so of writeable address space.

Nick


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to