Spiffie.org Bus Pirate PTH Sources

Schematic & Layout

V1.2

V1.1

Firmware

Bootloader

The Bus Pirate kit uses the Microchip PIC24 serial bootloader, customized by Hack A Day.

To use the bootloader:

  1. Download the bootloader tool from above and firmware from below or the Hack A Day SVN repository.
  2. Extract each ZIP file to it's own location.
  3. In the bootloader folder, open P24qp.ini with a text editor
    • Find the line portindex=.
    • Change the number after the = to the COM port number your bus pirate is hooked to (e.g. portindex=4 for COM4).
    • Save the file.
  4. With the power disconnected, use a jumper to short pins 4 and 5 of the ISP header above the pic and under the og in Fundamental Logic. These force the chip to start it's bootloader program.
  5. Power on the Bus Pirate, notice that neither LED illuminates.
  6. Open P24QP.exe. (make sure the correct COM port is displayed in the lower right status area.)
  7. Click the 'Connect' () button to the right of the red 'x' button.
  8. Once connected (should take no more than a second), click the Open Hex File () button.
  9. In the resulting dialog, find and open v1a-Firmware for BL.hex. The status bar will say HEX file imported…
  10. Click the Write Device () button, it has a tiny down arrow above an IC.
    • The status bar will show Writing: XXXX ()
  11. Once the writing finishes (status bar says 'Finished operation…' and the controls are active again), click the Normal Execution Mode () button (it looks like a play button).
    • Say yes to the dialog. This is why we need to jumper the two ICSP pins.
  12. Remove the jumper from the ICSP header.
  13. Power cycle the bus pirate and use as normal.

Version 1

The Bus Pirate kit uses Hack A Day's stock Bus Pirate v1 firmware. You can browse the SVN repository for hex files or the source.

Below is the firmware shipped with each version: