background image

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

Summary of Contents for ARM-USB-OCD

Page 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...

Page 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...

Page 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...

Page 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...

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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: