
scj made a wiki about using the Bus Pirate with Arch Linux. It covers creating a udev rule to name the Bus Pirate /dev/buspirate, and communication with minicom, screen, and picocom.
Thanks for the tip!

A new open source hardware project every month
You are currently browsing the archive for the Bus Pirate category.

scj made a wiki about using the Bus Pirate with Arch Linux. It covers creating a udev rule to name the Bus Pirate /dev/buspirate, and communication with minicom, screen, and picocom.
Thanks for the tip!

The OpenOCD project accepted Michal Demin’s patch that adds Bus Pirate support to the popular open source JTAG debugging client. Read the tutorial here. Congratulations Michal!

The Bus Pirate is a topic on Adafruit Industries’ “Ask an Engineer” chat tonight at 10pm ET. If you missed it, they keep previous chat videos in the Adafruit forums.
Tags: Adafruit, ask an engineer

Adafruit Industries now has the Bus Pirate and probe cables in stock and ready to ship. This is the same gear you get at Seeed, but it ships from the US today. Every Bus Pirate sold at Adafruit contributes to further development of the project.
This is our first distribution deal, and it’s really exciting. A special thanks to Adafruit for putting up with our noobness and funky supply chain. We’ll have a “how-to” writeup about the distribution experience soon.
Thank you for supporting this project and making it a success.
Tags: Adafruit, distribution

Bus Pirate firmware v4.2 is available for download. THIS IS FOR BOOTLOADER v4 ONLY. If you haven’t upgraded to the version 4 bootloader, see the v4 bootloader upgrade guide.
Major changes include:
There are two ways to load a new firmware with the v4 bootloader: the ds30 Loader GUI and the pirate-loader console application. Get help or discuss this release in the forum.
Tags: firmware

Michal Demin posted a tutorial for the OpenOCD JTAG debugging support he added to the Bus Pirate.
Some time ago, I have added support to OpenOCD to be able to use Buspirate as JTAG interface. This how-to will show you, how to setup all the things necessary.
Things you will need:
- Buspirate
- Computer with OpenOCD installed
- target with JTAG
- luck :)

Edouard Lafargue let us republish his demonstration of a Noritake GU140×32-7002 Serial VFD screen (may prompt about a secure certificate).
The Noritake VFD used here is a “Show and Tell” 140×32 semi-graphical VFD. This display has the big advantage of being able to display graphics and manage so-called ’user windows’, making it a good choice for stepping up from standard text-based LCDs or VFDs towards a more graphical approach.
This tutorial first shows how to interface with the device using async mode, and then how to use a simple python script to display GIF black and white images on the display.
Demo: is a weekly series that demonstrates devices with the Bus Pirate. Come back next Monday for another new demo. Continue reading the demo below.

W1N9Zr0 posted this full-featured Bus Pirate case in the forum:
Here is my take on a Bus Pirate case. It’s made of a PS2 game case and integrates two breadboards, the bus pirate and an A23 12v battery for PIC programming.
Flickr photoset. Be sure to check out the forum thread if you’re interested in PIC programming with the Bus Pirate, W1N9Zr0 has successfully programmed a few PICs with custom software that uses the raw2wire binmode.
Tags: Bus Pirate, case
0x0064 REM basictest 0x006E LET A=C+16 0x0078 FOR B=1 TO 5 0x007D FOR D=0 TO 2 0x0082 PRINT "A=";A;" B=";B;" D=";D 0x0087 NEXT D 0x008C NEXT B 0x00C8 INPUT "Enter C",C 0x00D2 GOSUB 1000 0x00DC IF C=20 THEN PRINT "C=20!!"; ELSE PRINT "C!=20"; 0x00E6 END 0x03E8 PRINT "C=";C 0x03F2 RETURN 0xFFFF END
Sjaak demonstrated a basic scripting language that could be integrated into the Bus Pirate terminal. Take a look and tell us what you think.
Tags: Development, newterm

In preparation for the v4.2 Bus Pirate firmware release, here’s an instruction guide for upgrading with the ds30 Loader GUI.
Firmware v4+ requires a new bootloader. The new bootloader is an adaptation of the open source ds30 Loader. The new bootloader v4+ uses a new upgrade application, the old P24qp.exe (P24qp.py) will not work with the new bootloader.
This guide describes how to use the ds30 Loader GUI application, it should work with Windows (.NET) and Linux and Mac (Mono). If you’d prefer, there’s also a Pirate-Loader console application for all platforms that doesn’t require .NET or Mono.
Tags: Bus Pirate, ds30 Loader, firmware, upgrades

ROM programmers and motherboard hackers will be happy to know that there’s a new release of Flashrom for Windows, ported by pgeorgi and posted informally in the forum.
Flashrom is an open source utility for working with flash storage chips. It supports a bunch of flash chips commonly used on motherboards to hold the system BIOS. biosflasher (Carl-Daniel Hailfinger) added Bus Pirate support to Flashrom, pgeorgi has been compiling a version for the Bus Pirate on Windows.

julky demonstrated a USB->serial bridge for the Parallax RFID reader with the Bus Pirate.
The Parallax board reads passive RFID EM4100 type RFID tags, and outputs the tag ID as simple serial data at 2400bps. It’s the first inexpensive RFID reader to catch on with hobbyists.
Demo: is a weekly series that demonstrates devices with the Bus Pirate. Come back next Monday for another new demo.

Today we’re giving away an assembled Bus Pirate high-voltage programming adapter. It has a 5pin PIC programming header, a 6pin AVR programming header, and a small 13volt boost-converter power supply. A 13volt supply is needed to program PIC 12/16/18F microcontrollers, and clear the RESET fuse in AVRs. It’s doesn’t do much right now though, because there’s no support for it in any programming apps.
This will eventually be available at Seeed Studio, but you can get a preview of the hardware by leaving a comment below. Let us know what you want to do with it, on Monday we’ll send the adapter to a commenter with an interesting idea. If you don’t have any ideas you can endorse another comment, we’ll take popularity into account when we give it away.

Sjaak has been hard at work on a new terminal interface for the Bus Pirate. There are exciting new features like:
This is a massive update to the firmware, and it probably won’t be incorporated until after the next few releases, but this is your chance to try it out now. You can test the latest nightly compile, but remember that this is only a preview, some modes are not ported to the new framework. This firmware requires that you’ve upgraded to the v4+ bootloader.
Read more about the new firmware, see a demo of new features, and help with development, in the forum.
Tags: newterm, terminal update

will_j posted this picture of his Bus Pirate in use as a transparent USB->serial bridge to a Wavecom GSM modem.
Thanks for the tip!
Tags: GSM modem, UART bridge, Wavecom

Sjaak posted this demo of a KS0074 serial LCD in the forum:
I needed to test the SPI library with the newterm branch. I had a nice display from a dead Siemens phone. It uses a KS0074 display (which is an sort of SPI version of the good old HD44780). I found the datasheet and some example code on the internet (sorry only German is available). During the testing I found out the Bus Pirate spits out the bits the other way around then in the code/datasheet.
Demo: is a weekly series that demonstrates devices with the Bus Pirate. Come back next Monday for another new demo.

Torsten got tired of looking up the Bus Pirate IO table in the manual, so he made this handy spec and pin reference card:
Please find attached my version of a quick reference card. The information is, due to the limitation of the sheet not very much. I tried to get the most important infos on it.
It is a LaTeX-file based on the pgf/tikz package. I documented the file in a way that even a LaTeX-novice should be able to modify the colour code to his needs. I created this card with the pcb-board of the Bus Pirate V3 in mind. It will fit exactly under the pcb and thus people can stick it there by double sided tape or whatever.
Anyhow, any changes and suggestions are welcome. I published it under GNU Free Documentation License, thus you can do whatever you like with it.
Thanks for the tip!
See also ecronin’s case sticker, and the new pin reference card category. We’ll keep openly-licensed reference cards in the documents folder of the SVN, feel free to contribute yours.

will_j posted a Bus Pirate script that controls a Sure Electronics 8×32 LED marquee:
Here’s a quick and dirty perl script to display ‘BPv3′ on a Sure Electronics 8×32 LEd Matrix display.
You can also use a 16×24 display if you change the second command code to 44 from 40.
Any improvements gratefully received – i.e. a nice character lookup table process would be good!
View a copy in the Bus Pirate scripts folder. We demonstrated a slightly different Sure LED matrix a in a demo: post a few weeks ago.
Thanks for the tip!

The HMC6352 is a simple compass chip with an I2C interface. If your next unmanned vehicle needs a compass, check out this chip. It has multiple operating modes that balance power use and update frequency. Continuous acquisition provides rapid heading updates, while query acquisitions save power by only measuring only when it’s needed.
Thanks to SparkFun for sending this part to demo. If you don’t want to solder the 24pin lead-less chip yourself, you can get it on a breakout board at SparkFun.
Demo: is a weekly series that demonstrates devices with the Bus Pirate. Come back next Monday for another all new demo.
You can preorder assembled Bus Pirate hardware at Seeed Studio for $30, including worldwide shipping.

Keep your Bus Pirate pins straight with this case sticker[PDF!] designed by ecronin:
I made up a sticker for the combo of the seeed case and breakout harness, thought others might find it useful… Unlike in the above picture, I connect the cable with Black to GND, which puts the two EZHook-like hooks on MISO/MOSI. Thought others might find it handy. It also includes the LED names and a gratuitous barcode since the project lacks a real logo.
Thanks for the link!