So, at that point, I had openocd 0.3.1, built for libftdi drivers, which crashed on running xilinx svf files,and could not communicate with my ft2232 board (as my 0.3.1 was libftdi only, and my ft2232 board was installed with ftd2xx drivers).
The SAME drivers I was using to build openOCD, only then did it actually create the makefile, and I was able to build. It refused to build using the libftdi drivers, OR the latest ftd2xx ones, until I eventually cleaned my system of ALL usb drivers, plugged in my ft2232 board, and installed the latest ft2dxx drivers for it.
I used this wonderful tutorial to help me understand how to do it, and whats going on: However, it seems he didn't enable the USB-blaster in any build (not complaining, just an obseravtion) so I had to build it myself on windows XP using cygwin - this took 6 hours lol. I originally used a windows installer from freddie chopins page:
ergo - OpenOCD 0.3.1 was useless to me for CPLD work.Ĭoming back to it, I decided to install the latest openOCD 0.4.0. As this was a prebuilt openocd, I could not use ftd2xx drivers, only libftdi. OR if it is a problem with the way it communicates with the drivers. I am not sure if this is a problem with openOCD reading certain SVF files/lines. The same SVF file worked fine using Xilinx IMPACT with a parallel cable. It did this at the same point on the SVF file in question so it wasn't random noise on the lines,or a hardware issue. I recieved an error the 'unexpected TDO' followed by 'cannot write MPSSE commands'.
I ran a couple of xilinx generated SVF files I created for a XC9536 crashed openOCD when they were run. I had also used the above setup to configure one XC95144XL CPLD using an svf file - altohugh this took several attempts. ftd2xx) and a small hardware mistake on my part. Turns out I had issues with drivers (namely open source libftdi vs. Hope someone can shed some light on this,Īpologies for the late reply,I haven't done much work with ARM or CPLD's until a few days ago, when this saga started againīefore I made the first post in this topic I had managed to successfully use openocd 0.3.1, with a jtagkey-like interface to debug my At91SAM7256 board from omilex. I would love to get this working, as I'm still having 'issues' with my FT2232 programer (JTAGkey based clone) - which could be hardware, or software,I don't know.
I realise there is a patch for a 'USB blaster clone' on this page:īut I do'nt know how to use it with either version of OpenOCD. I have only ever successfully used the latter version, it is the same one used in Jim Lynch's wonderful tutorial. I have tried the bove commands but it is not recognised as an interface. The following VID/PID is for Kolja Waschk's USB JTAG: Currently, only one vid, pid pair may be given, e.g.
If not specified, default values are used. The vendor ID and product ID of the FTDI FT245 device. Config Command: usb_blaster_vid_pid vid pid This setting is only valid if compiled with FTD2XX support. If not specified, the FTDI default value is used. Provides the USB device description (the iProduct string) of the FTDI FT245 device. Config Command: usb_blaster_device_desc description
These interfaces have several commands, used to configure the driver before initializing the JTAG scan chain: USB JTAG/USB-Blaster compatibles over one of the userspace libraries for FTDI chips.