Getting Started with the Bus Pirate 5 and FlashCat: SPI, I2C, and UART Chip-Level Debugging
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:
- I2C (master and sniffer modes)
- SPI (multiple clock polarities/phases, adjustable speed)
- UART / async serial, including auto-baud-rate detection
- 1-Wire
- JTAG and SWD (for chip debugging and flash dumping)
- Raw bit-banged GPIO for anything not natively supported
- A built-in oscilloscope-lite / logic analyzer mode on some firmware builds, useful for sanity-checking a signal before you try to talk to it
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
- Identifying an unknown chip on a board. Probe its pins with the Bus Pirate's I2C or SPI sniffer mode while the board is powered and operating normally to see what protocol it's speaking and what addresses/commands show up, before you've found a datasheet.
- Reading firmware off a SPI NOR flash chip (the 8-pin SOIC "W25Qxx"-style chips found on nearly every router, IP camera, and consumer IoT device) to dump and analyze firmware, or to recover a device after a failed update bricked it.
- Talking to EEPROMs and sensors directly during prototyping, without writing a single line of firmware — invaluable when you're not sure if a sensor module is wired correctly or simply dead.
- UART console access on boards with an exposed but unlabeled debug header, including auto-detecting the baud rate, which is often the first step in getting a shell on an embedded Linux device.
- Low-level JTAG/SWD access for chip debugging or firmware recovery on microcontrollers that have lost their bootloader, as a cheaper alternative to a dedicated ST-Link or J-Link for occasional use.
Bus Pirate vs. the Tools You Probably Already Own
| Tool | Best at | Not built for |
|---|---|---|
| Flipper Zero | Sub-GHz, NFC/RFID, IR, BadUSB — consumer RF and wireless protocols | Direct 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 fact | Interactively sending commands and getting live responses — it listens, it doesn't talk |
| Bus Pirate 5 / FlashCat | Interactive, bidirectional chip-level access — read, write, probe, and identify, live, from a terminal | Wireless/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
- 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.
- Select a mode (
mat 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. - 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.
- 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.
- 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
- Voltage mismatches are the most common way to damage a target chip or the Bus Pirate itself — always confirm the target's logic voltage with a multimeter or datasheet before connecting, and set the Bus Pirate's I/O voltage to match.
- Reading firmware off, or probing the internals of, hardware you own for repair, interoperability, or research is broadly legal in the US and most jurisdictions, but redistributing extracted proprietary firmware, bypassing DRM/encryption to access content you haven't licensed, or probing a device you don't own or have explicit authorization to test crosses into legally and ethically different territory — treat this like any other reverse-engineering work and keep it to hardware you have the right to examine.
- Static-sensitive components (bare flash chips, exposed debug pads) deserve basic ESD precautions — a grounded mat and wrist strap cost little and prevent an expensive mistake on a board you can't easily replace.
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.