Ian talked shortly about the new Bus Pirate demo board v5 in his Bus Pirate development week video (http://http://dangerousprototypes.com/2011/12/12/bus-pirate-development-week-day-1/) and that 1-Wire days are numbered.
From an old project i remembered there are a couple of 1-Wire slave library on the net.
https://github.com/smurfix/owslave (https://github.com/smurfix/owslave)
http://www.fabiszewski.net/1-wire-slave/ (http://www.fabiszewski.net/1-wire-slave/)
Maybe its an idea to have the new demo board support 1-Wire as well, this could also be useful to replace hard to get parts with a micro-controller to bridge from 1-Wire to a more supported bus like SPI or I2C.
fantastic, thank you. That is a killer link. Exactly what we need for mode 4 of the demo board.
Thanks also for sitting through my long geeky video ;)
[quote author="pietja"]Ian talked shortly about the new Bus Pirate demo board v5 in his Bus Pirate development week video (http://http://dangerousprototypes.com/2011/12/12/bus-pirate-development-week-day-1/) and that 1-Wire days are numbered.
From an old project i remembered there are a couple of 1-Wire slave library on the net.
https://github.com/smurfix/owslave (https://github.com/smurfix/owslave)
http://www.fabiszewski.net/1-wire-slave/ (http://www.fabiszewski.net/1-wire-slave/)
Maybe its an idea to have the new demo board support 1-Wire as well, this could also be useful to replace hard to get parts with a micro-controller to bridge from 1-Wire to a more supported bus like SPI or I2C.[/quote]
I have ported the project from Bartek Fabiszewiski to the current demoboard and it works like a charm. There is one showstopper for us though we cannot use it as Maxim won't allow onewire slaves not made by them. Their story, as I understand it, is every device has an unique number and that ensures the integrity of the bus. I couldn't find any legal documents on their site and they didn't gave me one when I asked for it.
their reply:
| As to the official stance of Maxim on customers creating their
| own 1-Wire slave devices:
|
| "The 1-Wire protocol is proprietary to Maxim. Maxim goes to
| great lengths to ensure that each 1-Wire slave device we
| manufacture has a unique serial number. There are no
| restrictions on customers creating new 1-Wire master devices, but
| does restrict creating 1-Wire slave devices and do not offer any
| licensing agreements."
|
| The only exceptions to this is:
|
| 1) using the MAXQ1004 microcontroller. It can be used as a
| 1-Wire slave:
| http://www.maxim-ic.com/maxq1004 (http://www.maxim-ic.com/maxq1004)
|
| 2) using 1-Wire switches as a "bus" to talk to a microprocessor.
| Thus, the 1-Wire switch is the slave (but you are performing work
| with the micro behind the switch).
| DS2406:
| http://www.maxim-ic.com/ds2406 (http://www.maxim-ic.com/ds2406)
| DS2408:
| http://www.maxim-ic.com/ds2408 (http://www.maxim-ic.com/ds2408)
Any lawyers around? :) As I love to have 1wire support on the demoboard.