← How-Tos
electronics 4 days ago ◑ 20 views ◯ 5 min read

Getting Started with the Bus Pirate 5 and FlashCat: SPI, I2C, and UART Chip-Level Debugging

bus pirateflashcatspii2cuarthardware hackingflash dumpingreverse engineeringdebugging

Flipper Zero, Proxmark3, and HackRF get most of the attention in maker hardware-hacking circles, but none of them is actually the right tool for the most common bench task: talking directly to an unknown chip's SPI, I2C, or UART pins to figure out what it is and what it's saying. That's the Bus Pirate's job, and the current Bus Pirate 5 (and its smaller sibling, the Bus Pirate 5 XL) plus the companion FlashCat adapter are a genuinely different category of tool from the radio- and RFID-focused gear most makers already own.

What the Bus Pirate Actually Is

The Bus Pirate is an open-source (originally Dangerous Prototypes, now maintained by the community and sold by several small-batch sellers) universal serial interface tool. It connects to a PC over USB and presents a terminal you talk to directly — type commands, get responses — with no companion app required. Version 5 is a ground-up redesign on an RP2040, with a color screen, a built-in logic analyzer, and support for a much wider set of protocols than the original v3/v4 hardware:

FlashCat is a companion USB programmer/adapter (and the name of the accompanying flashing software) built around the same idea: a cheap, universal way to read, write, and identify SPI/I2C NOR and NAND flash chips, EEPROMs, and microcontroller flash — the kind of chip-level work that comes up constantly when repairing routers, reverse-engineering IoT devices, or recovering a bricked board.

What You'd Actually Use This For

Bus Pirate vs. the Tools You Probably Already Own

ToolBest atNot built for
Flipper ZeroSub-GHz, NFC/RFID, IR, BadUSB — consumer RF and wireless protocolsDirect wired bus access to an unknown chip on a PCB; its GPIO exists but is a secondary feature, not the core design focus
Logic analyzer (Saleae-style)Capturing and decoding traffic you can already see, visually, after the factInteractively sending commands and getting live responses — it listens, it doesn't talk
Bus Pirate 5 / FlashCatInteractive, bidirectional chip-level access — read, write, probe, and identify, live, from a terminalWireless/RF work entirely — it has no radio

In practice these tools are complementary rather than competing: a logic analyzer tells you what a bus is doing, and a Bus Pirate lets you join the conversation.

Getting Started

  1. Connect over USB — the Bus Pirate 5 enumerates as a standard USB serial device, so any terminal program (or the dedicated Bus Pirate terminal app, which adds command history and protocol-specific helpers) works on Windows, macOS, or Linux without drivers on most systems.
  2. Select a mode (m at the prompt on classic firmware, or the menu system on v5's screen) for the protocol you need: I2C, SPI, UART, 1-Wire, and so on.
  3. Wire up the target: ground first, then the protocol's data/clock lines, then power last if you're powering the target from the Bus Pirate itself — and double-check voltage. The Bus Pirate 5 supports adjustable I/O voltage (commonly 1.8V-5V ranges depending on hardware revision), but mismatching it against a 3.3V-only target is a quick way to damage the chip you're trying to read.
  4. Use the built-in scan/probe commands for your mode — for I2C, a bus scan will list every responding address, which is usually the fastest way to identify what's actually on an unlabeled board.
  5. For flash dumping specifically, FlashCat's companion software handles chip auto-detection against its flash ID database and writes the dump straight to a binary file for analysis in a hex editor or firmware extraction tool.

Safety and Legal Notes

For the price of a mid-range multimeter, a Bus Pirate 5 and a FlashCat adapter turn "what is this chip and what is it saying" from a guessing game into a five-minute bench task — and they're a natural next step once you've outgrown probing boards with alligator clips and a multimeter alone.