![OLIMEX ARM-USB-OCD Скачать руководство пользователя страница 14](http://html1.mh-extra.com/html/olimex/arm-usb-ocd/arm-usb-ocd_user-manual_730916014.webp)
OLIMEX© 2015
ARM-USB-OCD user's manual
There are whole families of low-density microcontrollers that have only SWD interface. ARM-
USB-OCD can't be used out-of-the-box with such targets! Make sure your microconontroller's
datasheet specifically mentions it has JTAG interface.
When aiming to use ARM-USB-OCD for SWD-only targets please refer to the hardware and
software notes about SWD.
The additional adapter for 10-pin 1.27mm connector is also sold separately.
The additional tools mentioned above might be found at the following links:
https://www.olimex.com/Products/Components/Cables/USB-A-B-CABLE/
https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-SWD/
https://www.olimex.com/Products/ARM/JTAG/ARM-JTAG-20-10/
3.2.1 Enabling SWD interface for ARM-USB-OCD
ARM-USB-OCD debuggers lacks SWD interface by hardware design but such can be added. You
can use the ARM-JTAG-SWD adapter to enable the SWD interface of ARM-USB-OCD debuggers.
Connect the adapter to Olimex programmers in the following way:
JTAG debugger – SWD interface – JTAG ribbon cable – Target;
i.e. connect the SWD adapter directly to the programmer with no cable in-between them!
3.3 Detailed software setup
ARM-USB-OCD might be used with a wide range of software tools. Customers have reported
successful usage of ARM-USB-OCD under Windows, Linux and Mac.
The typical usage of ARM-USB-OCD is within an open-source environment. However, despite that
the unit is sold under the “OpenOCD” tag and its OpenOCD compatibility, the ARM-USB-OCD
debugger has far wider software support. Most of the commercial integrated development
environments had already sensed the potential behind the cheap and wide-spread OpenOCD
debuggers and had implemented ways of the interacting with such debuggers in their products.
Some of the popular commercial IDEs that work fine with ARM-USB-OCD are IAR EW for ARM
and Rowley Crossworks for ARM. The debugger also works with the free CooCox IDE.
Please note that the instructions below might not be accurate by the time of reading. OpenOCD is a
community-driven open source project and things might change drastically between release version.
It is always advisable to refer to the official documentation of OpenOCD for latest instructions.
There are a such instructions on the OpenOCD web-site.
Page 14 of 33