|Dangerous Prototypes Bus Pirate|
Using an forked version of the Open Logic Sniffer (available here) you can setup a Bus Pirate to act a digital logic analyzer. Not a substitute for a dedicated logic analyzer, but can do the trick if necessary. Amazingly enough the client runs on Windows, Mac OS X, Linux, and Solaris.
There are a few things to remember when setting up the OLS software when using it with a Bus Pirate. I am assuming you have installed the FTDI driver and hooked up the device via USB. I also highly recommend a nice set of logic probes to use with the pin header.
- First make sure the correct device is selected by following Capture > Device > OpenBench LogicSniffer.
- Next, select Capture > Begin Capture. This will lead to a pop-up window with three tabs. Make the following adjustments under the “Connection” tab:
- Connection Type: Serial Port
- Analyzer port:
- Port Speed: 115200 bps
- Device type: Bus Pirate OLS mode
- Now select the “Acquisition” tab and make sure the following is set:
- Number scheme: Default
- Sampling clock: Internal
- Sampling rate: 1.000 MHz
- Channel groups: Make sure ‘0’ has a tick mark.
- Recording size: 4.00kB
- If triggering is desired, select the “Triggers” tab. Make the following changes:
- Trigger Enabled: Make sure it has a tick mark.
- There is a “Mask” row of 32 tick marks. Make sure the 2 least significant bits (bit 0 and bit 1) have a tick mark. These are the two right-most checkboxes.
- Make sure device under inspection is running.
- Last click the “Capture” button at the bottom of the pop-up window.
- Viola! You will be presented the following: