Dangerous Prototypes

Dangerous Prototypes => Bus Pirate Development => Topic started by: pietja on December 12, 2011, 08:43:31 pm

Title: Bus Pirate demo board v5
Post by: pietja on December 12, 2011, 08:43:31 pm
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.
Title: Re: Bus Pirate demo board v5
Post by: ian on December 12, 2011, 08:52:54 pm
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 ;)
Title: Re: Bus Pirate demo board v5
Post by: Sjaak on December 24, 2011, 12:49:55 pm
[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:

Quote
| 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.

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01052048096session_write_close ( )...(null):0
20.01082179672ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01082180448Database_MySQL->query( ).../DatabaseHandler.php:119
40.05592319168Database_MySQL->error( ).../Db-mysql.class.php:273