wiki.flashrom.org
Open in
urlscan Pro
2a01:4f8:121:1254::2
Public Scan
URL:
https://wiki.flashrom.org/Bus_Pirate
Submission: On March 11 via manual from US — Scanned from DE
Submission: On March 11 via manual from US — Scanned from DE
Form analysis
1 forms found in the DOM/index.php
<form action="/index.php" id="searchform" class="vector-search-box-form">
<div id="simpleSearch" class="vector-search-box-inner" data-search-loc="header-navigation">
<input class="vector-search-box-input" type="search" name="search" placeholder="Search flashrom" aria-label="Search flashrom" autocapitalize="sentences" title="Search flashrom [alt-shift-f]" accesskey="f" id="searchInput">
<input type="hidden" name="title" value="Special:Search">
<input id="mw-searchButton" class="searchButton mw-fallbackSearchButton" type="submit" name="fulltext" title="Search the pages for this text" value="Search">
<input id="searchButton" class="searchButton" type="submit" name="go" title="Go to a page with this exact name if it exists" value="Go">
</div>
</form>
Text Content
BUS PIRATE From flashrom Jump to navigation Jump to search This wiki is retired Our website is https://www.flashrom.org, instructions on how to add or update documentation are here All wiki content available in read-only mode at wiki.flashrom.org Bus Pirate v3, front Bus Pirate v3, back Recovering a bricked SPI based device using a Bus Pirate 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. CONTENTS * 1 Connections * 2 Usage * 3 Troubleshooting * 4 Speedup CONNECTIONS The table below shows how a typical SPI flash chip (sitting in the center of the table) needs to be connected (NB: not all flash chips feature all of the pins below, but in general you should always connect all input pins of ICs to some defined potential (usually GND or VCC), ideally with a pull-up/down resistor in between). Most SPI flash chips require a 3.3V supply voltage, but there exist some models that use e.g. 1.8V. Make sure the device in question is compatible before connecting any wires. NB: Some rather rare SPI flash chips (e.g. Atmel AT45DB series) have a completely different layout, please beware. Description Bus Pirate Dir. Flash chip Dir. Bus Pirate Description (not) Chip Select CS → 1 /CS VCC 8 ← +3.3v Supply Master In, Slave Out MISO ← 2 DO (IO1) /HOLD (IO3) 7 ← +3.3v (not) hold (see datasheets) (not) Write Protect +3.3v → 3 /WP (IO2) CLK 6 ← CLK The SPI clock Ground GND → 4 GND DI (IO0) 5 ← MOSI Master Out, Slave In USAGE $ flashrom -p buspirate_spi:dev=/dev/device,spispeed=frequency Example: $ flashrom -p buspirate_spi:dev=/dev/ttyUSB0,spispeed=1M TROUBLESHOOTING In case of problems probing the chip with flashrom - especially when connecting chips still soldered in a system - please take a look at this page. In circuit programming it often possible, so long as no other devices on the SPI bus are trying to access the device. SPEEDUP A beta firmware build exists, to speed up the buspirate. See this post on dangerousprototypes.com: http://dangerousprototypes.com/forum/viewtopic.php?f=40&t=3864&start=15#p41505 http://dangerousprototypes.com/docs/Bus_Pirate#Firmware_upgrades Retrieved from "https://wiki.flashrom.org/index.php?title=Bus_Pirate&oldid=1811" NAVIGATION MENU PERSONAL TOOLS * Log in NAMESPACES * Page * Discussion English VIEWS * Read * View source * View history More NAVIGATION * Home * Recent wiki changes * Hardware support * Programmer support * Latest release * Downloads * Development Guidelines * Contact * FAQ TOOLS * What links here * Related changes * Special pages * Printable version * Permanent link * Page information * This page was last edited on 3 April 2013, at 16:21. * Privacy policy * About flashrom * Disclaimers *