openocd interface config file for ulink

I’ve just bought a ulink jtag and would like to use OpenOCD with it. But I can’t figure out what cfg file to use with it.

Can anyone either point me to a cfg that will work with it, or point me to instructions on how to make my own?

Thanks in advance.

ULINK is not supported in OpenOCD.

4/3!!

Is this because it just hasn’t happened yet, or is there a reason it’s not supported.

Is it possible for me to make my own interface file that would make things work?

ULINK is a closed-source hardware, you’d have to first reverse-engineer it, creating a good protocol description. Than you need to add support for that protocol to OpenOCD and than you can proceed to creating the cfg file.

ULINK is meant to be a part of Keil uVision toolchain, just as JLINK is a part of IAR, and CrossConnect - part of CrossWorks. Some JTAG hardwares were “cracked” - for example JLINK - some were not. From what I’ve read ULINK is not any better than FT2232 based debugger, so why waste time on fighting with ULINK, when you can have fully functional and cheap USB JTAG with FT2232?

4/3!!

OK, good information.

I’m using the makecontroller which I like a whole lot. I want to start using jtag in my debugging.

Do you have any personal recommendations as to the best jtag device to use with OpenOCD/Eclipse?

Thanks In Advance

Whatever suits your needs [; Basically all FT2232 dongles are the same - the difference is only the voltage range, protection, number of leds, UART or RS-232 - JTAG works the same when used with “typical” targets.

I’ve even designed two FT2232 JTAGs myself - a clone of Turtelizer and a clone of JTAGkey. You can find some more info on my webpage.

4/3!!