OpenOCD with Ulink2

Hello,

I’m newbie to OpenOCD use. I have installed the OpenOCD version 0.6.1 installed. Does it support Ulink2 JTAG adapter?

The release notes says it has Ulink driver in it. Maybe I’m not looking at the right place but I don’t see cfg file. How can I use it with this JTAG? Does anyone have used it with Ulink2 ?

Many thanks!

Hello,

I am also still new to openocd, but I read a lot the last days. The Ulink2 is not supported to my knowledge.

https://forum.sparkfun.com/viewtopic.php?t=16757

by Freddie Chopin » Tue Aug 11, 2009 4:36 pm

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?

PS: There is a ULink cfg locaed at tcl/interface/ but I am not sure if it works… But you can test it…

Cheers

MaTT

As Matt has pointed out ULINK2 is currently not supported, we do support the ULINK1 - how good the support is I do not know.

However with the arrival of CMSIS-DAP we will in the future be able to support the ULINK2, afraid no timescales at the moment but it is being worked on.

Cheers

Spen

Thanks for taking time to reply guys! I appreciate it.

It makes sense to use FT2232 instead which is known working option.