Skip to content

BusPirate/Bus_Pirate

 
 

Repository files navigation

Bus Pirate

The Bus Pirate is an open source hacker multi-tool that talks to electronic stuff. It's got a bunch of features an intrepid hacker might need to prototype their next project.

This community firmware was forked from the official Dangerous Prototypes firmware due to perceived lack of interest in upkeep of the Bus Pirate firmware. This repository represents the hard work of community members to sustain and continue the legacy of the Bus Pirate device.

As of this writing (Dec, 2016), it is our opinion that this repository contains the latest code for the Bus Pirate boards version 3 and 4.

Protocols

  • 1-Wire
  • I2C
  • SPI
  • JTAG
  • Asynchronous serial
  • MIDI
  • PC keyboard
  • HD44780 LCD
  • 2- and 3-wire libraries with bitwise pin control
  • Scriptable binary bitbang, 1-Wire, I2C, SPI, and UART modes.

Features

  • 0 - 5.5v tolerant pins
  • 0 - 6v measurement probe
  • 1Hz - 40MHz frequency measurement
  • 1kHz - 4MHz pulse-width modulator, frequency generator
  • On-board multi-voltage pull-up resistors
  • On-board 3.3v and 5v power supplies with software reset
  • Macros for common operations
  • Bus traffic sniffers (SPI, I2C)
  • A bootloader for easy firmware updates
  • Transparent USB→serial mode
  • 10Hz - 1MHz low-speed logic analyzer
  • Servo driver
  • Can program many AVR microcontrollers
    • Supported by AVRdude
    • Can emulate the AVR STK500 v2 with alternate ST500 Clone firmware
    • Programs FPGAs and CPLDs with alternate XSVF firmware
  • Scriptable from Perl, Python, etc.
  • Public domain (Creative Commons Zero) source. Prototype with the Bus Pirate, then use the code in your project however you want.

Application Support

The Bus Pirate is used through a simple terminal interface, but these applications also support the Bus Pirate as a programming device, etc.

  • AVRDude AVR programmer (AVRDude v5.8+, firmware v4 (any) or v5.9+)
  • OpenOCD JTAG debugger
  • flashrom bios/flash programmer

Purchasing

Firmware Flashing

Refer to building-and-flashing-firmware to see how to build and flash this firmware.

About

Community driven firmware and hardware for Bus Pirate version 3 and 4

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 69.6%
  • C++ 9.6%
  • Assembly 9.6%
  • Python 5.0%
  • C# 2.8%
  • Perl 1.8%
  • Other 1.6%