I am purchasing a Logic16, but since that is going to take about 10 days to get here, I needed a logic analyser in a hurry.
Using an Arduino Mega (actually a Seeduino Mega) I have a working logic analyser with 6 inputs, 7K of samples and 1MHz speed - plenty enough to debug a simple SPI interface I can slow down.
- http://www.lxtreme.nl/ols/ - a Java (windows, mac and linux tested) logic analyser software. This also has support for protocol analysis. You can see what is expected on SPI very quickly
- An Arduino Mega - you can use an Arduino 168/328 based system but it will be limited to 1K and 4 inputs.
- Arduino Firmware - https://github.com/gillham/logic_analyzer
- Once you wire it up, make sure the arduino is powered, or the pins will cause problems on the existing circuit.
- The driver config files (you have to copy them across from the firmware page to the Java code) has a bug, which inverts all the bits - you can find my patch here - https://github.com/scottp/logic_analyzer
TODO: Some pictures, connections, output from charts, and review of Logic16