Get Bus Pirate version from a script

This Perl script demonstrates a way to get the Bus Pirate hardware and firmware version from binary mode. The approach is pretty simple: enter binary mode, reset from binary mode, parse the version information shown on reset (same as ‘i’ in the user terminal). Note that the latest firmware, v2.8, changes the order of version […]

Self-test in binary mode

See the latest version in the documentation wiki. Since v2 the Bus Pirate firmware has included a self-test that verifies the function of pins and peripherals. The latest v2.6-nightly build adds a self-test to the binary bitbang mode. This is a useful way for applications to test the Bus Pirate, and for manufacturing quality control. […]

Bus Pirate binmode Perl test script

Here’s a Perl script that demonstrates the new Bus Pirate binary bitbang mode. You’ll need Perl with Win32::SerialPort or Device::SerialPort, and a Bus Pirate with firmware v2.4 or later. Edit the script to use the correct serial port number and device. We chose Perl because we had never used it before, and we weren’t in […]