Skip to main content

Show Posts

This section allows you to view all Show Posts made by this member. Note that you can only see Show Posts made in areas you currently have access to.

Messages - chrismec

3
Bus Pirate Development / Re: Bus Pirate - Community Firmware 7.0
hey all, Is bit bang mode still supported in this community firmware 7.0? **Edit: And if it is still supported how do you get in? I'm needing uart bitbang and from HiZ entering 0x00 twenty times only results in syntax error. Currently working with BP4 on v7.0 or BP3 on v6.1.
6
Bus Pirate Support / Re: Bus Pirate Thanks
Sounds like the BP has become so popular that people who don't even know what it is are buying it! Hats off to Ian and everyone at Dangerous Prototypes for creating this amazing multi-tool. The BP is an essential on my bench and if my house burned down the first things I would buy when the smoke cleared would be: Multimeter, Soldering Iron and a Bus Pirate.
7
Bus Pirate Support / Re: Bus Pirate dead?
Hi balu68! This may be obvious, but I'll throw it out there anyway. Have you tried rebooting your PC? I just experienced a similar problem with my Bus Pirate and immediately thought about your thread. I figured I was in the same boat as you but a quick reboot cleared the issue up. I'll cross my fingers : )
8
Bus Pirate Support / Re: Zeno Zit Zapper Reset
Wow, has it been two years? Time flies when your having fun with a Bus Pirate : ) I love the Bus Pirate Ian. It is an excellent tool, thank you for making your project(s) available to us all.

Quote
You could probably replace the EEPROM with a small PIC or ATMEL 8 pin chip with I2C slave and always reply with valid data :)

I have often thought about doing just that and making a Forever Tip. Never got around to doing it though....Maybe someday
9
Bus Pirate Support / Re: Zeno Zit Zapper Reset
Sry mgolus. I didnt have this post emailing me when replied to. This hack will work with any Zeno or Zeno Pro tip. In fact after some recent investigations I have found that any tip can be transformed into a 240 count tip regardless of its original count. 240 is the max I figured with the max byte value of the 256 byte I2C eeprom being 0xFF. I have more details on my site at: http://http://thechristisens.com/tag/zeno/.

Ian is right, copying a new tip would have been the easiest way to reset the tip. At the time I made it a mission to reset it without buying a new one, so I did it the hard way. Sniffing the bus and analyzing the data.

I reset tips for free now. Just provide return postage and I will set your tip up for 240 uses. Or if you have a ZenoMD I can reset to 150.

The 240 count teraterm macro is:
Code: [Select]
;This is a quick and dirty TeraTerm macro for resetting a Zeno tip to 240 counts.
;with Ian Lesnet's Bus Pirate. www.DangerousPrototypes.com
;
;Load macro once TeraTerm is up and connected to your Bus Pirate.
;
;Requires TeraTerm version 4.27 or later
;
;Bus Pirate Firmware v5.10.
;
;BACKUP YOUR TIP EEPROM BEFORE ATTEMPTING TO RESET IT!




;Ensure HiZ mode
send 13
send 13
send 13
send "m" 13
send 13
wait 'HiZ>'

;Bus Mode
send "m" 13
wait '(1)>'

;I2C
send "4" 13
wait '(1)>'

;Set Speed 5KHz
send "1" 13
wait 'I2C>'

;Power Supplies On
send "W" 13
wait 'Power supplies ON'
wait 'I2C>'

;Pullups On
send "P" 13
wait 'Pull-up resistors ON'
wait 'I2C>'

;Let I2C EEPROM Initialize
pause 1

;Write Data to EEPROM
send "[0xA0, 0,    0x08,0x00,0xF5,0x04,0x97,0x04,0xC4,0x04]" 13
wait 'I2C>'
send "[0xA0, 8,    0x97,0x09,0x1B,0x00,0x42,0x03,0x00,0x64]" 13
wait 'I2C>'
send "[0xA0, 16,  0x0A,0xF0,0x96,0x1E,0x0A,0xA5,0x1E,0xB4]" 13
wait 'I2C>'
send "[0xA0, 24,  0x00,0x78,0x00,0x00,0x00,0x0A,0x00,0x0D]" 13
wait 'I2C>'
send "[0xA0, 32,  0xC8,0xFE,0x3E,0x01,0xC2,0x64,0x32,0x0A]" 13
wait 'I2C>'
send "[0xA0, 40,  0x04,0x4C,0x02,0xBC,0x00,0xE1,0xFF,0xF6]" 13
wait 'I2C>'
send "[0xA0, 48,  0x3C,0xF2,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 56,  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 64,  0x00,0xF4,0x0B,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 72,  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 80,  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 88,  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 96,  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 104,  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 112,  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 120,  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'

;Bus Mode Menu
send "m" 13
wait '(1)>'

;Set HiZ
send 13
unlink
10
Bus Pirate Support / Re: Zeno Zit Zapper Reset
Still using reset tips without any issues. Tips are still as effective as ever.

I have updated the macros for firmware 5.10.

60 Count Tip Reset Macro
Code: [Select]
;This is a quick and dirty TeraTerm macro for resetting a 60 count Zeno tip.
;with Ian Lesnet's Bus Pirate. www.DangerousPrototypes.com
;
;Load macro once TeraTerm is up and connected to your Bus Pirate.
;
;Requires TeraTerm version 4.27 or later
;
;Test on Bus Pirate Firmware v5.10
;
;BACKUP YOUR TIP EEPROM BEFORE ATTEMPTING TO RESET IT!
;


;Ensure HiZ mode
send 13
send 13
send 13
send "m" 13
send 13
wait 'HiZ>'

;Bus Mode
send "m" 13
wait '(1)>'

;I2C
send "4" 13
wait '(1)>'

;Set Speed 5KHz
send "1" 13
wait 'I2C>'

;Power Supplies On
send "W" 13
wait 'Power supplies ON'
wait 'I2C>'

;Pullups On
send "P" 13
wait 'Pull-up resistors ON'
wait 'I2C>'

;Let I2C EEPROM Initialize
pause 1

;Write Data to EEPROM
send "[0xA0, 0,  0x08, 0x00, 0x41, 0x04, 0x97, 0x04, 0xC4, 0x04]" 13
wait 'I2C>'
send "[0xA0, 8,  0x97, 0x09, 0x1B, 0x00, 0x36, 0x03, 0x00, 0x64]" 13
wait 'I2C>'
send "[0xA0, 16, 0x0A, 0xF0, 0x96, 0x1E, 0x0A, 0xA5, 0x1E, 0xB4]" 13
wait 'I2C>'
send "[0xA0, 24, 0x00, 0x78, 0x00, 0x00, 0x00, 0x0A, 0x00, 0x0D]" 13
wait 'I2C>'
send "[0xA0, 32, 0xC8, 0xFE, 0x3E, 0x01, 0xC2, 0x64, 0x32, 0x0A]" 13
wait 'I2C>'
send "[0xA0, 40, 0x04, 0x4C, 0x02, 0xBC, 0x00, 0xE1, 0xFF, 0xF6]" 13
wait 'I2C>'
send "[0xA0, 48, 0x3C, 0xB2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 56, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 64, 0x00, 0x3E, 0xC1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 72, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 88, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 96, 0x54, 0x0A, 0x00, 0x01, 0x82, 0x44, 0x5F, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 104,0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 112,0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 120,0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'

;Bus Mode Menu
send "m" 13
wait '(1)>'

;Set HiZ
send 13
unlink



90 Count Tip Reset Macro
Code: [Select]
;This is a quick and dirty TeraTerm macro for resetting a 90 count Zeno tip.
;with Ian Lesnet's Bus Pirate. www.DangerousPrototypes.com
;
;Load macro once TeraTerm is up and connected to your Bus Pirate.
;
;Requires TeraTerm version 4.27 or later
;
;Bus Pirate Firmware v5.10, Macro is currently untested on actual 90 count tip.
;
;BACKUP YOUR TIP EEPROM BEFORE ATTEMPTING TO RESET IT!
;
;Thanks to Ben McClosky for the 90 Count Tip eeprom dump.



;Ensure HiZ mode
send 13
send 13
send 13
send "m" 13
send 13
wait 'HiZ>'

;Bus Mode
send "m" 13
wait '(1)>'

;I2C
send "4" 13
wait '(1)>'

;Set Speed 5KHz
send "1" 13
wait 'I2C>'

;Power Supplies On
send "W" 13
wait 'Power supplies ON'
wait 'I2C>'

;Pullups On
send "P" 13
wait 'Pull-up resistors ON'
wait 'I2C>'

;Let I2C EEPROM Initialize
pause 1

;Write Data to EEPROM
send "[0xA0, 0,    0x08,0x00,0x5F,0x04,0x97,0x04,0xC4,0x04]" 13
wait 'I2C>'
send "[0xA0, 8,    0x97,0x09,0x1B,0x00,0x38,0x03,0x00,0x64]" 13
wait 'I2C>'
send "[0xA0, 16,   0x0A,0xF0,0x96,0x1E,0x0A,0xA5,0x1E,0xB4]" 13
wait 'I2C>'
send "[0xA0, 24,   0x00,0x78,0x00,0x00,0x00,0x0A,0x00,0x0D]" 13
wait 'I2C>'
send "[0xA0, 32,   0xC8,0xFE,0x3E,0x01,0xC2,0x64,0x32,0x0A]" 13
wait 'I2C>'
send "[0xA0, 40,   0x04,0x4C,0x02,0xBC,0x00,0xE1,0xFF,0xF6]" 13
wait 'I2C>'
send "[0xA0, 48,   0x3C,0x92,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 56,   0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 64,   0x00,0x56,0xA9,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 72,   0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 80,   0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 88,   0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 96,   0x4C,0x54,0x41,0x30,0x31,0x35,0x32,0x30]" 13
wait 'I2C>'
send "[0xA0, 104,  0x33,0x33,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 112,  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'
send "[0xA0, 120,  0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF,0xFF]" 13
wait 'I2C>'

;Bus Mode Menu
send "m" 13
wait '(1)>'

;Set HiZ
send 13
unlink
11
Bus Pirate Support / Zeno Zit Zapper Reset
Below is a TeraTerm macro for resetting a 60 count Zeno Tip. Additional info can be found at http://thechristisens.com/2009/11/zeno-tip-reset/

Code: [Select]
[size=4];This is a quick and dirty TeraTerm macro for resetting a 60 count Zeno tip.
;with Ian Lesnet's Bus Pirate.
;
;Adjust your .ini file for proper Bus Pirate serial port settings.
;
;Requires TeraTerm version 4.27 or later
;
;Only tested with Bus Pirate Firmware v3.0


MyPort = 5

connect '/C=MyPort'
mpause 500
;Just Because
send 13
wait 'HiZ>'
;Bus Mode
send "m" 13
wait '(1) >'
;I2C
send "4" 13
wait '(1) >'
;Software I2C
send "1" 13
wait '(1) >'
;Fast I2C
send "2" 13
wait 'I2C>'
;Pullups Menu
send "p" 13
wait '(1) >'
;Pullups On
send "2" 13
wait 'Pull-up resistors ON'
;Power Supplies On
send "W" 13
wait 'POWER SUPPLIES ON'
;Let I2C EEPROM Initialize
pause 1
;Write Data to EEPROM
send "[0xA0, 0,  0x08, 0x00, 0x41, 0x04, 0x97, 0x04, 0xC4, 0x04]" 13
wait 'I2C>'
send "[0xA0, 8,  0x97, 0x09, 0x1B, 0x00, 0x36, 0x03, 0x00, 0x64]" 13
wait 'I2C>'
send "[0xA0, 16, 0x0A, 0xF0, 0x96, 0x1E, 0x0A, 0xA5, 0x1E, 0xB4]" 13
wait 'I2C>'
send "[0xA0, 24, 0x00, 0x78, 0x00, 0x00, 0x00, 0x0A, 0x00, 0x0D]" 13
wait 'I2C>'
send "[0xA0, 32, 0xC8, 0xFE, 0x3E, 0x01, 0xC2, 0x64, 0x32, 0x0A]" 13
wait 'I2C>'
send "[0xA0, 40, 0x04, 0x4C, 0x02, 0xBC, 0x00, 0xE1, 0xFF, 0xF6]" 13
wait 'I2C>'
send "[0xA0, 48, 0x3C, 0xB2, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 56, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 64, 0x00, 0x3E, 0xC1, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 72, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 80, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 88, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 96, 0x54, 0x0A, 0x00, 0x01, 0x82, 0x44, 0x5F, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 104,0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 112,0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
send "[0xA0, 120,0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF]" 13
wait 'I2C>'
;Bus Mode Menu
send "m" 13
wait '(1) >'
;Set HiZ
send 13
unlink[/size]


Edited: 04 July 2011, Changed picture sizes.

( ! ) 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.02712418568session_write_close ( )...(null):0
20.02762550136ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.02762550912Database_MySQL->query( ).../DatabaseHandler.php:119
40.08532689624Database_MySQL->error( ).../Db-mysql.class.php:273