I have an XC9500XL breakout board and a Bus Pirate v4. I'm pretty sure I can't upload the BPv3 CPLD programmer firmware to my v4. What are my options for programming the CPLD?
Hi sowbug,
I'm sorry, the XSVF player used to program the CPLDs is not currently available for the Bus Pirate v4 yet.
[quote author="ian"]I'm sorry, the XSVF player used to program the CPLDs is not currently available for the Bus Pirate v4 yet.[/quote]
Anything the community can do to speed things up? I'm more of an AVR type, but if the effort is on the order of adding jtag.c and xapp058 dependencies to the Makefile and testing, then I could see getting involved.
We have two choices. One it to integrate it into the main Bus Pirate firmware as an optional mode. The other is to adapt the xapp058 code to the USB stack on its own for a stand alone. I'm not sure which makes more sense at this time. The eventual goal is for it to be integrated.
I just dumped all the jtag files into the BPv4 firmware. It compiled first go because all the goodness was correctly handled in the header files. There is no further intergration with the usb stack required as it is all done in baseIO.
If the serviceuser() function is replaced with jtag() it may just work as a custom XSVF player. If not it would have to be close to working I would think...
The zip file is here http://http://www.newfoundelectronics.com/JTAG_BPv4_6_1.zip
Thanks JTR. I will try to roll this into a new release, or add it as a mode to the upcoming firmware release.
I'm now able to program my XC9572XL breakout board with an Arduino. I've put the source up on GitHub (http://https://github.com/sowbug/JTAGWhisperer).
I'd have finished it on Saturday, but like a goofball I'd had the board attached to a 5-volt supply, leaving me to question basic truths about software development over the past few days.
Nice work, and thanks for the shout out on you github page.