Bus Pirate/es

From DP

(Difference between revisions)
Jump to: navigation , search
Line 62: Line 62:
===Scripting en modo Binario===
===Scripting en modo Binario===
El Bus Pirate tiene un [[Bitbang|modo de acceso binario]] que puede ser utilizado con software o scriptos. Hay [http://code.google.com/p/the-bus-pirate/source/browse/#svn/trunk/scripts de ejemplo en C, Python, Perl, y mas] en el repositorio SVN.
El Bus Pirate tiene un [[Bitbang|modo de acceso binario]] que puede ser utilizado con software o scripts. Hay [http://code.google.com/p/the-bus-pirate/source/browse/#svn/trunk/scripts de ejemplo en C, Python, Perl, y mas] en el repositorio SVN.
Protocolo modo binario, páginas: [[Bitbang|bitbang]], [[SPI_(binary)|SPI]], [[I2C_(binary)|I2C]], [[UART_(binary)|UART]], [[1-Wire_(binary)|1-Wire]], and [[raw-wire_(binary)|raw-wire]].
Páginas de protocolo modo binario: [[Bitbang|bitbang]], [[SPI_(binary)|SPI]], [[I2C_(binary)|I2C]], [[UART_(binary)|UART]], [[1-Wire_(binary)|1-Wire]], and [[raw-wire_(binary)|raw-wire]].
Una guía para empezar a utilizar la librería Python pyBusPirateLite: [[Bus_Pirate_Scripting_in_Python|Bus Pirate Scripting in Python]]
Una guía para empezar a utilizar la librería Python pyBusPirateLite: [[Bus_Pirate_Scripting_in_Python|Bus Pirate Scripting in Python]]
===I/O header and hardware===
===Entradas/Salidas y hardware===
* [[Bus Pirate I/O Pin Descriptions]]
* [[Bus Pirate I/O Pin Descriptions | Descripción de pines E/S en el Bus Pirate]]
* [[Practical guide to Bus Pirate pull-up resistors]]
* [[Practical guide to Bus Pirate pull-up resistors | Guía práctica resistencias "pull-up" en el Bus Pirate ]]
* [[Mixed voltage interfacing with the Bus Pirate]]
* [[Mixed voltage interfacing with the Bus Pirate | Interfaz de tensión mixta con el Bus Pirate]]
* [[Bus_Pirate_LCD_adapter_v2|LCD library and adapter]]
* [[Bus_Pirate_LCD_adapter_v2|Adaptador y Libreria LCD]]
===Various probe cable pinouts===
===Various probe cable pinouts===

Revision as of 09:40, 10 February 2012

Language: English  • Español • ‪中文(简体)‬


El "Bus Pirate" es una multi-herramienta, de código abierto, con la que podrás comunicarte con aparatos electrónicos. Posee un montón de característica que un intrépido hacker podría necesitar para el prototipado de sus próximos proyectos. Este manual es un esfuerzo para vincular toda la información disponible del Bus Pirate en un solo lugar.

Una primera partida de Bus Pirate v4 esta ahora disponible para los primeros usuarios y testers. Creemos que el v3 sigue siendo la mejor opción para la mayoría de las personas, pero el v4 es el camino hacia el futuro.



Project Summary
Name: Bus Pirate/es
Buy it: Get one for $30 at Seeed Studio
Price: $30
Status: Mature
Manufacturing: Shipping
Forum: Bus Pirate/es Forum

Linux, Mac


Descargue las últimas actualizaciones, códigos fuentes y más.Las instrucciones para la actualización del firmware están aquí.


Modo Terminal

El Bus Pirate se accede desde unas líneas de comenados en un terminal de serie. El Bus Pirate se inicia siempre en modo de alta impedancia(Hi-Z), un modo seguro con todas las salidas inhabilitadas. Está pensado para proteger los dispositivos conectados para condiciones más allá de sus especificaciones. A partir de ahí, un modo de bus puede ser seleccionado para utilizar el Bus Pirate con un protocolo específico.

Scripting en modo Binario

El Bus Pirate tiene un modo de acceso binario que puede ser utilizado con software o scripts. Hay de ejemplo en C, Python, Perl, y mas en el repositorio SVN.

Páginas de protocolo modo binario: bitbang, SPI, I2C, UART, 1-Wire, and raw-wire.

Una guía para empezar a utilizar la librería Python pyBusPirateLite: Bus Pirate Scripting in Python

Entradas/Salidas y hardware

Various probe cable pinouts

Application guides

Several applications can use the Bus Pirate as a programmer or debugger.


The Bus Pirate is a slow serial port device intended for human-speed interaction. It was NEVER intended to do JTAG duties. Because it's open source, cheap, and versatile, the community hacked various JTAG features into it. They're great in a pinch, but no substitute for the real thing!

The Bus Pirate supports JTAG in three ways: with the OpenOCD debug application, as an XSVF player, and through a user-mode terminal interface.

JTAG and OpenOCD

The Bus Pirate is supported as a JTAG programmer/debugger by OpenOCD. If your target is supported by OpenOCD it may work. Slowly :)

FPGA and CPLD programming

As a stand-alone XSVF player to program CPLDs/FPGAs. This requires a simple firmware swap.

JTAG terminal mode

The -extras firmware has a the old user terminal JTAG mode from the Hack a Day demo. This was removed from the main firmware because nobody used it - it isn't particularly useful to enter JTAG commands manually.

AVR programming

The Bus Pirate can be used to program Atmel AVR microcontrollers. AVRDUDE version 5.8 and later support the Bus Pirate as a programmer directly. AVRDude is the most common software for programming AVR microcontrollers. Many packages such as WinAVR and the Arduino IDE bundle a version of AVRDude.

There is also an alternate firmware that can be installed on to Bus Pirate to make it an STK500 v2 AVR programmer clone.


A flash chip programmer for Linux and Windows.

Logic Analyzer with SUMP

The Bus Pirate can act as a low speed logic analyzer using a SUMP-compatible protocol. Jawi's latest OLS client includes extended support for the Bus Pirate.

Oscilloscope (very low speed)


Chip demonstrations

Here's a comprehensive list of Bus Pirate chip demonstrations. It includes Ian's old demonstrations from Hack a Day, and the most recent demos from Dangerous Prototypes. Tutorials are arranged by Bus Pirate hardware version.

Bus Pirate v2&v3

Bus Pirate v1a

Bus Pirate v0a

User submitted hacks and demos

Firmware upgrades

Instructions for changing the firmware in a Bus Pirate over USB.

Updating Bus Pirate v4

Updating Bus Pirate v3

With firmware v5.9 we ran out of space in hardware v3.
We can't fit all the new goodness in one firmware.
Firmware release v5.9+ includes a bonus firmware with some extra modes.
Bootload the BPv3-Firmware-vx.x-extras.hex file to try the new modes.
Currently: digital IO mode (DIO), JTAG, PC keyboard, more

This section is for Bus Pirate v3.x with bootloader version 4+. See the next section for more bootloader information.

Follow these instructions to load new firmware, older firmware (v4+ only), the extras firmware, or the XSVF player firmware.

Bus Pirate v3 bootloader upgrades

The bootloader is a small program in the Bus Pirate that installs the firmware upgrade. The bootloader itself can also be upgraded with a small amount of effort. This is not normally required.

Program with a programmer

How to put the bootloader in a new chip or replace a damaged bootloader.

Hardware documentation

Bus Pirate v3.x


A minor update to v3 available from June 2011. All changes are cosmetic, v3.5 works exactly the same a v3a/b.

v3a and v3b were available from October 2009 to June 2011. A similar version is sold by SparkFun.

v3.x is based on the original v2go circuit using a PIC24FJ64GA002 microcontroller.

Bus Pirate v4.x


v4 is currently in development. The first batch is available, but the hardware is still experimental.

Legacy hardware

Bus Pirate v2go was the first USB Bus Pirate. Around 1000 were sold as a fundraiser for Hack a Day. The PCB is black.

v1a and v0a were serial port Bus Pirate prototypes. Fundamental Logic briefly sold a through-hole kit for v1a.


Known Defects

Manufacturing resources

We maintain a combined bootloader/firmware flash image to assist in manufacturing.

There is also an automated self-test utility, but it is generally slower than doing it manually

Cases and accessories




  • PCB art: CC-0
  • Bootloader: GPL (from ds30 Loader project)
  • Firmware: CC-0
  • The Bus Pirate pinout, menu, and command tables are released into the public domain.