background image

OLIMEX© 2015

ARM-USB-OCD user's manual

1.4 Comparison of Olimex OpenOCD debuggers

The main difference between ARM-USB-OCD and ARM-USB-OCD-H is the revision of the FTDI 
chip inside – it is almost always recommended to get the -H version since it it much faster (the same
applies for ARM-USB-TINY and ARM-USB-TINY-H).

TINY and OCD debuggers are comparable in speed but the OCD design works with lower-voltage 
targets, can provide power to the target via a barrel jack and has a virtual serial port included – 
suitable for personal computers that lack a native COM port.

Table 1. Olimex OpenOCD debuggers, comparison of features

ARM-USB-TINY

ARM-USB-TINY-H

ARM-USB-OCD

ARM-USB-OCD-H

FTDI chip

FT2232C

FT2232H

FT2232C

FT2232H

Relative debugging 
speed

SLOWER

FASTER

SLOWER

FASTER

Additional power 
option(*)

NO

NO

YES, 5V-9V-12V

YES, 5V

Additional VCP(**)

NO

NO

YES

YES

Target voltage 
range

2.00V – 5.00V

2.00V – 5.00V

2.00V – 5.00V

1.65V – 5.0V 

(*)The OCD debuggers have a DC barrel jack suitable for powering the target autonomously from the JTAG
connector. An extension cable that fits the barrel jack is included in the package. The ARM-USB-OCD can 
provide 5V or 9V or 12V (controlled via jumper), while ARM-USB-OCD-H can only provide 5V. This feature 
is useful when you want to power the target board without establishing the JTAG connection.

(**) Additional virtual COM port – the debugger might be used as convertor of a serial communication to 
USB one. A good addition for newer computer systems that lack built-in COM port.

In case you are still wondering which one you should get: ARM-USB-TINY-H is perfectly fine for
home use, research and development. ARM-USB-OCD-H is the better choice for professional use
and for chain programming of target devices.

Another difference between the devices is the product identification number which is different for 
each different set of debuggers. All four types of OpenOCD debuggers have the same vendor ID. 
However, each of the debugger series listed above has own product ID. These IDs might be seen in 
the table below:

Table 2. Olimex OpenOCD debuggers, FTDI vendor and product IDs

ARM-USB-TINY

ARM-USB-TINY-H

ARM-USB-OCD

ARM-USB-OCD-H

VID (VENDOR ID)

0×15BA

0×15BA

0×15BA

0×15BA

PID (PRODUCT ID)

0×0004

0×002a

0×0003

0×002b

You might need the IDs in several cases but mainly when you want to wipe the drivers with a third 
party program.

Page 7 of 33

Содержание ARM-USB-OCD-H

Страница 1: ...ARM USB OCD H ARM USB OCD OLIMEX OPENOCD ARM JTAG DEBUGGERS USER S MANUAL Document revision D July 2015 All boards produced by Olimex LTD are ROHS compliant...

Страница 2: ...d This document is intended only to assist the reader in the use of the product OLIMEX Ltd shall not be liable for any loss or damage arising from the use of any information in this document or any er...

Страница 3: ...SB OCD 14 3 3 Detailed software setup 14 3 3 1 Getting OpenOCD 15 3 3 2 Drivers and driver installation 16 3 3 3 Driver installation in Windows 17 3 3 4 Driver installation in Linux 19 3 3 5 Driver in...

Страница 4: ...015 ARM USB OCD user s manual CHAPTER 5 REVISION HISTORY AND SUPPORT 31 5 Introduction to the chapter 31 5 1 Document revision 31 5 2 Useful web links and purchase codes 31 5 3 Product support 33 Page...

Страница 5: ...with up to 200mA at 5V Able to power a target board via a standard DC barrel jack cable for the external powering included 2 1 5 5 14mm female connectors at both ends Downloadable Windows installer f...

Страница 6: ...mel AVR debugging AVReAL and AVRdude software tools Yet while these applications of ARM USB OCD are possible we do not provide any support regarding such use Please note that Olimex OpenOCD debuggers...

Страница 7: ...s included in the package The ARM USB OCD can provide 5V or 9V or 12V controlled via jumper while ARM USB OCD H can only provide 5V This feature is useful when you want to power the target board witho...

Страница 8: ...an overview of the board usage and features Chapter 2 provides information about the connectors and the status LEDs Chapter 3 provides a guide for quickly setting up the board and the needed software...

Страница 9: ...d green LED on the top Upon USB connection the LED might power up However it is mainly meant to indicate programming debugging in progress The red LED should blink when you have an on going operation...

Страница 10: ...16 GND 17 NOT CONNECTED 18 GND 19 TARGET SUPPLY 20 GND Pins 1 and 2 of the JTAG connector are voltage reference that probes if the target is already powered by another source If it is not the ARM USB...

Страница 11: ...ers The cable can be used between the barrel jack of the debugger and the barrel jack of the target board The DC barrel jack has a 2 0mm thick inner pin and 6 3mm hole diameter The inner pin carries t...

Страница 12: ...OLIMEX 2015 ARM USB OCD user s manual Page 12 of 33 ARM USB OCD H powering LPC P11C24 via the PWR_OUT jack...

Страница 13: ...r It is recommended to do so before the purchase of the debugger SWD interface is supported only if you use the additional adapter mentioned in sub chapter 3 5 Rowley Crossworks for ARM 3 2 Detailed h...

Страница 14: ...ce 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 too...

Страница 15: ...inue reading below If you wish to compile OpenOCD under Windows you would need a proper software tool to compile the sources Since you can t use most Linux tools which were used during the creating of...

Страница 16: ...drivers are written and distributed by FTDI a Scottish company and they are considered proprietary piece of software Because the initial idea of the OpenOCD is to be fully open source as its name ind...

Страница 17: ...epend on which version of OpenOCD you are using There is a difference in the driver installation if you are using OpenOCD 0 8 0 or newer and if you are using versions prior to OpenOCD 0 8 0 The driver...

Страница 18: ...here the driver archive was extracted Upon successful installation you would probably need to repeat the whole process until all unrecognized entries in Windows Device Manager disappear This usually m...

Страница 19: ...ot pluggable devices and then gives the group read and write access Make sure your user is in the plugdev group my user was in it by default Create a file etc udev rules d olimex arm usb ocd h rules P...

Страница 20: ...t probably wrong The directory structure of the driver package changes frequently so you might need to first find the files This guide works for driver version 1 2 2 Use command line terminal to do th...

Страница 21: ...erformed by sending direct commands to the board After establishing the basic connection described below you can open new terminal and run a telnet connection The telnet would accept commands on port...

Страница 22: ...ay to communicate with your target if you use an OpenOCD version prior to 0 8 0 Note that the interface cfg is located at a different place compared to the previous example with FTDI drivers openocd f...

Страница 23: ...and how to change the vendor and product identification numbers VID and PID of the device 3 5 1 Using multiple ARM USB OCD interfaces In OpenOCD there is a specific parameter that allows the usage of...

Страница 24: ...e the following olimex arm usb ocd h1 cfg interface ftdi ftdi_device_desc Olimex OpenOCD JTAG ARM USB OCD H 1 ftdi_vid_pid 0x15ba 0x002b ftdi_serial OLWWV0SZ olimex arm usb ocd h2 cfg interface ftdi f...

Страница 25: ...ewhere and point manually the installer to that location How to use MProg 1 You need to be sure that you are using FTDI D2XX drivers not libUSB not WinUSB etc 2 Start MProg 3 Select the FT223H tab in...

Страница 26: ...It offers excellent support for Olimex OpenOCD debuggers Furthermore there are ready examples for a number of Olimex ARM boards that shortens the development time required It is recommended to use FT...

Страница 27: ...LED Inversion Mask 0 0000 Running LED Mask 0 0800 PID 0 002b VID 0 15ba The correct VID and PID for your device might be found in table 2 in case you missed it The SWD interface via ARM JTAG SWD migh...

Страница 28: ...i hosting since it isn t stable yet Enable caching for faster debugging the host address for the GDB is local host e g 127 0 0 1 and the port is 2009 The configuration might be seen on the pictures be...

Страница 29: ...the Open Source tools used in Olimex ODS once you get the idea Unfortunately Olimex is unable to provide any support for the Olimex ODS we can t give you any custom configurations neither makefiles ne...

Страница 30: ...out of luck You either have write it yourself or ask politely somebody at the OpenOCD community to do it for you Q I can t write proper makefile for my board under your Eclipse like IDE Can you pleas...

Страница 31: ...of the power jack Improved the description of the additional female female plug cable 13 14 18 20 C 10 04 15 Added information on how to run multiple debuggers in the same computers Added information...

Страница 32: ...ps www olimex com Products ARM JTAG ARM USB TINY ARM JTAG 20 10 https www olimex com Products ARM JTAG ARM JTAG 20 10 ARM JTAG SWD https www olimex com Products ARM JTAG ARM JTAG SWD USB A B CABLE htt...

Страница 33: ...l coffee on them during your work when they are powered Please note that warranty do not cover problems caused by improper use shorts over voltages ESD shock etc If the board has warranty label it sho...

Отзывы: