Categories

Get Bus Pirate version from a script

Posted on Friday, October 23rd, 2009 in binmode, Bus Pirate, scripts by Ian

version-pl2

This Perl script demonstrates a way to get the Bus Pirate hardware and firmware version from binary mode. The approach is pretty simple: enter binary mode, reset from binary mode, parse the version information shown on reset (same as ‘i’ in the user terminal).

Note that the latest firmware, v2.8, changes the order of version info in the display. The current formatting will be retained for the foreseeable future. If this inconsistency with earlier versions is a problem for your script, you could search the output for key words that precede the version strings (“Firmware v” and “Bus Pirate v”) for a more robust identification routine.

Submit your scripts by the end of this weekend for a Bus Pirate probe cable kit.

This entry was posted on Friday, October 23rd, 2009 at 2:30 pm and is filed under binmode, Bus Pirate, scripts. You can follow any responses to this entry through the RSS 2.0 feed. You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Recent Comments

  • Geert Jordaens: I'm not sure what kind of licensing I have to add since it is a fairly straight forward implementation of the adaptive Huffman Decoding. For...
  • erich: For anyone interested, I've added some c++ code for adaptive huffman decoding in the git repository.
  • Sjaak: I would add some more protection in the used trigger file (on the serverpilot site) then not using a standard name :) hopefully they use...
  • Pete Castagna: My friend Charlie who worked in synthesizers at a DOD type of place made a modification to this avalanche pulse generator that allowed him to...
  • Sam Catchpole: Yes please :D