Hi,
I’ve recently written 8051 C code that somewhat emulates a FT245BM as it is used in Altera’s USB-Blaster (just another USB-JTAG interface). The FT245 is less complex compared to the FT2232 and has no MPSSE; Altera uses an additional CPLD to accelerate JTAG transfers. Just today I evaluate if it’s reasonable to add support for the USB-Blaster to OpenOCD, and maybe I’ll publish some code for OpenOCD within the next few days.
http://www.ixo.de/info/usb_jtag/
The code is for Cypress FX2 USB Controller, but Antti Lukats wrote me it should be possible to port it to the SiLabs C8051F326. I don’t know if he succeeded yet, though… Furthermore, the emulation is not complete, but is complete enough so that the FTDI DLL and libftdi don’t crash and it can be used with Altera tools in Windows and Linux.
Maybe you can base your SiLabs code on my FX2 code?
Regards,
Kolja Waschk