Bus Pirate/es
From DP
Language: | English • Español • 中文(简体) |
---|
- Bus Pirate v3 esta disponible por 30$, incluyendo envío a todo el mundo.
- Bus Pirate v3 está también disponible enAdafruit Industries (USA) Open Source Control Systems (USA) Watterott Electronic (Germany)
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.
- Bus Pirate v4 está disponible ahora por 40$, incluyendo envío a todo el mundo.
- Comparación Bus Pirate v3 vs v4
- Bus Pirate v4 hardware overview
Contents |
Introducción
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 |
- Features overview (original)
- Hardware overview
- Bus Pirate AutoTest del Hardware
- Bus Pirate 101 tutorial (original)
- Bus Pirate 102 tutorial (original)
- Foro Bus Pirate
Linux, Mac
- Conexión con Mac OS X
- Tutorial Bus Pirate y Mac OSX
- Conexión con Ubuntu
- Conexión con Arch Linux
- Crear /dev/bus_pirate en Linux
- Using the Bus Pirate with Fedora 14
Descargas
Descargue las últimas actualizaciones, códigos fuentes y más.Las instrucciones para la actualización del firmware están aquí.
Referencia
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.
- Interfaz de usuario del Bus Pirate
- Guía del menú de opciones
- Visualización de entrada y salida de números HEX/DEC/BIN
- Modos de Bus(firmware principal): 1-Cable, UART, I2C, SPI, raw 2-wire, raw 3-wire, HD44780 LCDs, MIDI
- Modos de Bus (firmware adicional, v5.9+): Teclado de PC, DIO, JTAG
- Referencia de scripts básicos en el Bus Pirate
- Guía de Auto-test de el Bus Pirate
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
- Descripción de pines E/S en el Bus Pirate
- Guía práctica resistencias "pull-up" en el Bus Pirate
- Interfaz de tensión mixta con el Bus Pirate
- Adaptador y Libreria LCD
Varios cables de prueba para las salidas
Guía de Aplicaciones
El Bus Pirate puede ser usado para muchas aplicaciones como programador o debugger.
JTAG
El Bus Pirate es un dispositivo puerto serie lento destinado para la interacción con velocidad normal(humana). NUNCA fue se tuvo la intención de hacer funciones JTAG. Debido a que es de código abierto, barato, y versátil, la comunidad ha desarrollado algunas caracteristicas JTAG en el. Son excelentes para un apuro, pero no se puedes sustituir por un JTAG.
El Bus Pirate soporta el JTAG de 3 formas: con la aplicacion de depuración OpenOCD, como un reproductor de XSVF, y a traves de un interfaz en modo terminal.
JTAG y OpenOCD
The Bus Pirate is supported as a JTAG programmer/debugger by OpenOCD. If your target is supported by OpenOCD it may work. Slowly :)
- Gonemad's Bus Pirate/OpenOCD walk through
- OpenOCD JTAG debugger
- Tutorial by the developer of OpenOCD support
- Bus Pirate OpenOCD walk-through
- Bus Pirate JTAG with OpenOCD
- JTAG posts
- Bus Pirate & OpenOCD forum
- Bus Pirate JTAG connections for OpenOCD
- Debricking Dockstar
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.
- See Bus Pirate AVR Programming - Instructions and resources for AVR programming with the Bus Pirate.
flashrom
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)
- Python Oscilloscope script
- Python Oscilloscope script info
- miniscope v3
- miniscope info
- PirateScope in GIT (Python, Discussion)
Utilities
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
- MMA7455L 3-axis accelerometer (SPI, IC2)
- 3EEPROM explorer board (original), DS2431 (1wire), 24AA (I2C), 25AA (SPI)
- Wii Nunchuck quick guide (original) (I2C)
- iButton serial number (original) (1-Wire)
- 2AA02E48 EEPROM with MAC address (original) (I2C)
- HD44780 character LCD adapter (original) (LCD)
- DS1307 real time clock (original) (I2C)
- NA204SD02 Futaba VFD character display (raw2wire)
- SLE4442 (FedEx Kinko's) smart card update (original) (raw2wire)
- 25AA/25LC serial EEPROM (SPI)
- ShiftBrite with A6281 3 channel LED driver (SPI)
- PCF8563 real time clock calendar (I2C)
- Sure LED matrix (original) (raw3wire)
- AT45DB041D 4Mbit flash memory (original) (SPI)
- HMC6352 digital compass (original) (I2C)
- Parallax RFID reader (original) (UART)
- KS0074 serial LCD (original) (SPI)
- SURE DE-DP014 character matrix (raw3wire)
- 23K256 32K serial RAM (SPI)
- 74F138 binary decoder
- DS28EA00 temperature sensor (1-Wire)
- MCP9800 temperature sensor (I2C)
- DS18S20 temperature sensor (1-Wire) (Original)
- Servo driver demo
Bus Pirate v1a
- LTC2640 digital to analog converter (SPI, raw3wire)
- LTC2631A digital to analog converter (I2C)
- PC keyboard (PC Keyboard)
- DS1807 audio volume potentiometer (I2C)
- SparkFun 4×4 RGB button pad controller (raw3wire)
- DS1801 audio volume potentiometer (SPI)
- MCP6S26 programmable gain amplifier (raw3wire)
Bus Pirate v0a
- 24LC1024 EEPROM (I2C)
- EM406 GPS (UART)
- SLE4442 (FedEx Kinko’s) smart card (raw2 wire)
- DS1077 133MHz programmable oscillator (I2C)
- XC9572XL CPLD (JTAG)
- DS1822 temperature sensor (1-Wire)
- PCF8574 IO Expander (I2C)
- DS2431 1K EEPROM (1-Wire)
- SHT1x/7x humidity and temperature sensor (raw2wire)
- TC74 temperature sensor (I2C)
User submitted hacks and demos
- Wii Motion Plus controller (I2C)
- Nokia 3310 LCD (binary SPI)
- Hack the MD80 firmware to remove the date display (SPI sniffer)
- Program STM32 (raw2wire)
- I2C magnetic compass sensor (I2C)
- TK-1315LA GPS (serial UART)
- SparkFun LED Matrix
- MAX147 ADC (SPI)
- MMA7456L three-axis accelerometer (I2C/SPI)
- FSA03 GPS (serial UART)
- Wavecom GSM modem (serial UART bridge)
- Sure 8×32 LED matrix marquee
- Zeno zit zapper tip reset (I2C)
- 1-Wire iButton (1-Wire)
- Bus Pirate high voltage power supply (PWM)
- Sniffing between smartcard & terminal (serial UART at arbitrary baudrate)
- Bus Pirate BlinkM demo
- AK8975 magnetometer (I2C)
- TMP102 temperature sensor (I2C)
- MMA8453Q accelerometer (I2C)
- Thinkpad T30 password reset (I2C)
- BPv4 HD66717 I2C demo (I2C)
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.
- Pirate-Loader console upgrade application (Linux, Mac, Windows) (original)
- ds30 Loader GUI (original) (Mono/.NET)
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.
- v3a and v3b schematic and partlist
- v3a hardware overview (original)
- v3b hardware overview (original)
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.
- Bus Pirate v4 design overview
- See it come to life, v4 development history and prototypes
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.
Mods
- User created cases
- 2K ohm MOSI pull-up resistor mod
- Modify the FTDI EEPROM, change serial name on OSX
- Create /dev/bus_pirate on Linux
Known Defects
- Bus Pirate v3 preorder 2 & 3 dead MODE LED fix
- Bus Pirate v2go preorder 2 shipped with v2 bootloader only
Manufacturing resources
We maintain a combined bootloader/firmware flash image to assist in manufacturing.
- bpv3-BL44FW510-DUMP.hex is bootloader v4.4 with firmware v5.10
- Latest version in SVN
There is also an automated self-test utility, but it is generally slower than doing it manually
Cases and accessories
- LCD adapter v2 ($9)
- Probe cable ($4.99)
- Synthetos laser-cut acrylic case ($14.99)
- How-to: Assemble the Synthetos case
- User created cases
Source
- Google Code page and SVN repository
- Compile the Bus Pirate firmware (original)
- Spanish, Italian translations
License
- 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.