ARM-USB-TINY-H, ARM-USB-TINY
OLIMEX OPENOCD ARM JTAG DEBUGGERS
USER’S MANUAL
Document revision F, July 2015
All boards produced by Olimex LTD are ROHS compliant
OLIMEX© 2015
ARM-USB-TINY user's manual
DISCLAIMER
© 2015 Olimex Ltd. Olimex®, logo and combinations thereof, are registered trademarks of Olimex Ltd.
Other product names may be trademarks of others and the rights belong to their respective owners.
The information in this document is provided in connection with Olimex products. No license, express
or implied or otherwise, to any intellectual property right is granted by this document or in connection
with the sale of Olimex products.
The hardware designs of the devices, subjects of this manual, are proprietary. The design files would not be
distributed nor shared with the end customer.
The products described in this manual are intended to work with open source software software.
It is possible that the pictures in this manual differ from the latest revision of the board.
The product described in this document is subject to continuous development and improvements. All
particulars of the product and its use contained in this document are given by OLIMEX in good faith.
However all warranties implied or expressed including but not limited to implied warranties of
merchantability or fitness for purpose are excluded. 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 error or omission in such information or any incorrect use of the
product.
This product is intended for use for engineering development, demonstration, or evaluation purposes only
and is not considered by OLIMEX to be a finished end-product fit for general consumer use. Persons
handling the product must have electronics training and observe good engineering practice standards. As
such, the goods being provided are not intended to be complete in terms of required design-, marketing-,
and/or manufacturing-related protective considerations, including product safety and environmental
measures typically found in end products that incorporate such semiconductor components or circuit boards.
Olimex currently deals with a variety of customers for products, and therefore our arrangement with the user
is not exclusive. Olimex assumes no liability for applications assistance, customer product design, software
performance, or infringement of patents or services described herein.
THERE IS NO WARRANTY FOR THE DESIGN MATERIALS AND THE
COMPONENTS USED TO CREATE ARM-USB-TINY-H OR ARM-USB-TINY.
THEY ARE CONSIDERED SUITABLE ONLY FOR THE RESPECTIVE
PRODUCTS.
Page 2 of 30
OLIMEX© 2015
ARM-USB-TINY user's manual
Table of Contents
DISCLAIMER............................................................................................................. 2
CHAPTER 1: OVERVIEW........................................................................................5
1. Introduction to the chapter.................................................................................5
1.1 Features.............................................................................................................. 5
1.2 Functional description and purpose of the board.......................................... 6
1.3 What is OpenOCD?...........................................................................................6
1.4 Comparison of Olimex OpenOCD debuggers................................................ 7
CHAPTER 2: DEVICE DESCRIPTION..................................................................9
2. Introduction to the chapter.................................................................................9
2.1 Status LED......................................................................................................... 9
2.2 Ports and connectors.........................................................................................9
2.2.1 USB type B connector....................................................................................................................................9
2.2.2 JTAG connector..............................................................................................................................................9
CHAPTER 3: SETTING UP ARM-USB-TINY......................................................11
3. Introduction to the chapter...............................................................................11
3.1 Basic system setup............................................................................................11
3.2 Detailed hardware setup................................................................................. 11
3.2.1 Enabling SWD interface for ARM-USB-TINY......................................................................................... 12
3.3 Detailed software setup...................................................................................12
3.3.1 Getting OpenOCD........................................................................................................................................13
3.3.2 Drivers and driver installation....................................................................................................................14
3.3.3 Driver installation in Windows................................................................................................................... 14
3.3.4 Driver installation in Linux.........................................................................................................................16
3.3.5 Driver installation in MAC OS X............................................................................................................... 17
3.3.6 How to uninstall and clean-up previously installed drivers.....................................................................18
3.4 Basic OpenOCD connection........................................................................... 18
3.4.1 Simple target connection via FTDI drivers................................................................................................19
3.4.2 Simple target connection via LibUSB drivers........................................................................................... 19
3.4.3 Simple SWD target connection with ARM-JTAG-SWD.......................................................................... 20
3.5 Advanced OpenOCD practices.......................................................................20
3.5.1 Using multiple ARM-USB-TINY interfaces...............................................................................................20
3.5.2 Changing the VID and PID of the debugger..............................................................................................22
3.6 IAR Embedded Workbench for ARM...........................................................22
3.7 Rowley Crossworks for ARM.........................................................................23
3.8 CooCox IDE..................................................................................................... 25
3.9 Olimex Open Development Suite (ODS) package........................................ 26
3.10 Other software tools...................................................................................... 26
CHAPTER 4: FREQUENTLY ASKED QUESTIONS.......................................... 27
CHAPTER 5: REVISION HISTORY AND SUPPORT........................................ 28
5. Introduction to the chapter...............................................................................28
Page 3 of 30
OLIMEX© 2015
ARM-USB-TINY user's manual
5.1 Document revision........................................................................................... 28
5.2 Useful web links and purchase codes.............................................................29
5.3 Product support............................................................................................... 30
Page 4 of 30
OLIMEX© 2015
ARM-USB-TINY user's manual
CHAPTER 1: OVERVIEW
1. Introduction to the chapter
Thank you for choosing an OpenOCD debugger manufactured by OLIMEX LTD. This document
provides information about two of the ARM debuggers manufactured by OLIMEX LTD – ARM-
USB-TINY and ARM-USB-TINY-H.
ARM-USB-TINY and ARM-USB-TINY-H are very similar in features and hardware design.
Because of that when one of them is mentioned in this document it is safe to assume that the
information applies for both debuggers, unless it is specifically stated otherwise.
1.1 Features
ARM-USB-TINY has the following features:
•
•
•
•
•
•
•
•
•
•
Debugs all ARM microcontrollers with JTAG interface supported by OpenOCD
Uses ARM's standard 2×10 pin JTAG connector
Supports ARM targets working in voltage range 2.0 – 5.0 V DC
Supported by the open-source community and OpenOCD debugger software
Downloadable Windows installer for full featured and open source tools as alternative to the
commercial ARM development packages: GCC C compiler, OpenOCD debugger and
Eclipse IDE.
Works with IAR EW for ARM via GDB server
Works with Rowley Crossworks IDE
Works with CooCox IDE
Supported in Windows, Linux and Mac
Dimensions (50×40)mm ~ (2×1.6)" + 20 cm ~ (8") JTAG cable
ARM-USB-TINY-H has this specific features over the ARM-USB-TINY:
•
High speed USB 2.0 with lower latency time, RTCK adaptive JTAG clock up to 30Mhz and
higher throughput achieve x3-x5 times faster programming speed than ARM-USB-TINY
Since the only difference between ARM-USB-TINY and ARM-USB-TINY-H is the speed of
programming (ARM-USB-TINY-H being faster) consider that mentioning one of the devices in the
text in those document refers for both TINY and TINY-H, unless specified otherwise.
Page 5 of 30