(I know this is not completely an OpenOCD question, but I guess this is still the best forum to ask this one.)
We need to program a little bit of this and a little bit of that. We have:
-
ARM controllers (AT91R40008) with external flash (Am29DL163, CFI compliant)
-
different CPLDs (XC2C64A, EPM3128A, LC4256Z)
-
AVRs (ATmega8L)
The ARM and CPLDs are JTAG devices, the AVRs are SPI devices.
We would like to have a solution where we can use the same USB programming system for all devices just by changing the required cable. The system should work at least in Linux but very preferably in OS X and Win as well.
What we do right now is that we have a custom-made parallel port dongle and some proprietary patches to open source software (avrdude, svfplayer, armtool). As parallel ports are no more, we need to move on to USB (which could also provide us with more speed).
So, what we are planning to do is to get some USB-JTAG adapters supported by OpenOCD. (Actually, we have ordered but not received some Amontec dongles.) That should at least get the ARM part done. AFAIK, OpenOCD has been demonstrated to work with FT2232-based adapters in all Win/Lin/OSX.
But then we’ve got some problems with the CPLDs. Amontec has some Windows tools to program them with their JTAGkey, but we need something cross-platform. That spells “open source” in practice. What is the status of SVF with OpenOCD? I know XSVF should work, but we have also Lattice and Altera chips.
And then we have the SPI devices. Is anyone aware of an AVR programmer using the MPSSE of the FTDI chip? Bit-banging might probably be a tad slow, I guess. (Or is it? There is not much data to be programmed, anyway.)
Again, Amontec advertises something about USB/SPI with their JTAGkey, but I guess that only refers to the possibility of using MPSSE. Or is there some code lying around?
Any ideas and suggestions are welcome!