Difference between revisions of "Bus Pirate"

From flashrom
Jump to: navigation, search
(Add image.)
(Add links, quick trouble shooting section.)
Line 1: Line 1:
The Bus Pirate is an open source design for a multi-purpose chip-level serial protocol transceiver and debugger.  Flashrom supports the Bus Pirate for SPI programming.  It also has  [http://dangerousprototypes.com/docs/Bus_Pirate_binary_SPI_sniffer_utility SPI sniffing] functionality, which may come in useful for analysing chip or programmer behaviour.
+
The [http://dangerousprototypes.com/docs/Bus_Pirate Bus Pirate] is an open source design for a multi-purpose chip-level serial protocol transceiver and debugger.  Flashrom supports the Bus Pirate for [http://dangerousprototypes.com/bus-pirate-manual/bus-pirate-spi-guide/ SPI programming].  It also has  [http://dangerousprototypes.com/docs/Bus_Pirate_binary_SPI_sniffer_utility SPI sniffing] functionality, which may come in useful for analysing chip or programmer behaviour.
  
 
They are available for around US$30 from various sources.
 
They are available for around US$30 from various sources.
  
 
[[File:Lycom-pe115-flashrom-buspirate-2.jpg|320px|thumb|left|Recovering a bricked SPI based device using a Bus Pirate]]
 
[[File:Lycom-pe115-flashrom-buspirate-2.jpg|320px|thumb|left|Recovering a bricked SPI based device using a Bus Pirate]]
 +
 +
'''Trouble Shooting'''
 +
 +
The Bus Pirate has various options for SPI communication.  Many SPI chips support the JEDEC standard identify command, which can be issued from the Bus Pirate prompt like this:
 +
 +
<code>[0x9f r:4]</code>
 +
 +
You'll need to refer to the flash chip datasheet to see how it should respond to this.
 +
 +
In circuit programming it often possible, '''so long as no other devices on the SPI bus are trying to access the device.'''

Revision as of 09:11, 22 June 2011

The Bus Pirate is an open source design for a multi-purpose chip-level serial protocol transceiver and debugger. Flashrom supports the Bus Pirate for SPI programming. It also has SPI sniffing functionality, which may come in useful for analysing chip or programmer behaviour.

They are available for around US$30 from various sources.

Recovering a bricked SPI based device using a Bus Pirate

Trouble Shooting

The Bus Pirate has various options for SPI communication. Many SPI chips support the JEDEC standard identify command, which can be issued from the Bus Pirate prompt like this:

[0x9f r:4]

You'll need to refer to the flash chip datasheet to see how it should respond to this.

In circuit programming it often possible, so long as no other devices on the SPI bus are trying to access the device.