ARM-JTAG-SWD from Olimex

Hi,

I’m trying to figure out how make openocd works with ARM-USB-OCD-H and JTAG-SWD adapter from Olimex.

But I’m a newbie with openocd and I’ve no idea about where I could do it.

Could it work just by defining the correct config file?

Is there some dev to do and include in openocd?

Cordially

JTAG-SWD: I don’t think openocd supports this yet.

ARM-USB-OCD-H: The Windows version from Freddie Chopin’s site has support for the ARM-USB-OCD_H compiled in.

If you’re building from source, look at the output of configure --help, and then at the Debug Adapter Hardware and Debug Adapter Configuration chapters in the [openocd docs. You’ll want to enable support for one of the FT2232 drivers.

OpenOCD includes a config file for the ARM-USB-OCD_H. Look at the Config File Guidelines chapter of the docs. If you’re using an openocd.cfg file, include a line

find interface/olimex-arm-usb-ocd-h.cfg

From the command line use

openocd -f path/to/olimex-arm-usb-ocd-h.cfg -f path/to/your_target.cfg

That same Config File Guidelines chapter lists a lot of boards for which openocd includes pre-packaged config files.](Top (OpenOCD User’s Guide))