Categories

JTAG XSVF player for the Bus Pirate

Posted on Monday, April 25th, 2011 in Bus Pirate, CPLD, firmware, FPGA, JTAG by Ian

A new alternative firmware for the Bus Pirate programs JTAG devices like the CPLD development boards using standard (X)SVF programming files.  We also whipped up a PC utility that sends the files to the Bus Pirate from the command prompt. Download the package here.

SVF is a common programming format used in manufacturing. It’s a human-readable list of JTAG instructions that program a chip. The programmer doesn’t actually know anything about the target device, the SVF file just tells it what JTAG instructions to execute and the reply to expect. The tools from several manufacturers can output an SVF-compatible programming file. SVF is used with many devices, but is most commonly used with FPGAs, CPLDs, and other programmable logic.

XSVF is a compressed version of SVF that works better with small devices (like the Bus Pirate). An SVF to XSVF converter is included with the XSVF player firmware.

More info and updated programming instructions are on the wiki. There’s work on a Linux app in the forum.

This entry was posted on Monday, April 25th, 2011 at 12:15 pm and is filed under Bus Pirate, CPLD, firmware, FPGA, JTAG. 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.

5 Responses to “JTAG XSVF player for the Bus Pirate”

  1. mikem says:

    Is this an update to the one that has been posted here for a while now?

    • Ian says:

      It’s still the original package from when the CPLDs were released last month. Today we did a massive update to the wiki so mere mortals can follow the instructions (was basically beta before), so we thought a post was in order.

      • mikem says:

        ok. So, along those lines, is there a theoretical limit of the number of times i can re-flash the firmware on the bus piratev3? Since I only have one, I tend to go back and forth between the custom JTAG firmware listed above, and the latest standard release firmware.

        Mike

      • Ian says:

        I think you have at least 100,000 swaps, probably closer to 1,000,000. I’d have to check the datasheet to be sure, but these are also based on temperature extremes. When we did the flash destroyer experiment the EEPROM (not flash…) lasted 12 times longer than rated.

  2. mikem says:

    ok, thank you.

    Keep up the great work!

    Mike

Leave a Reply

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

Recent Comments

  • Bob: Jambalaya rocks.
  • KH: I should point out something... well, lead acid car batteries are designed to be well-charged all the time. The plates (which are patterned and thin)...
  • David Haile: You are a smart person and absolutely correct. That kind of current needs a lead acid car battery behind it. Still, it does have its...
  • KH: The solution discussed in the linked article is wrong. It's a largish Lipo (2500mAh) and he thinks 77uA is acceptable... ha ha ha ha ha....
  • Dave: I never had to opportunity to learn or use this stuff when I was in college (I'm sooo old that op-amps were just being developed...