OLIMEX ARM-USB-OCD Скачать руководство пользователя страница 10

OLIMEX© 2015

ARM-USB-OCD user's manual

2.2.2 JTAG connector

The JTAG connector is a 20-pin male one. It has the standard ARM JTAG 20 at 2.54mm (0.1'') 
pitch, specified by IEEE 1149.1. There is a female-female ribbon cable included in the box of 
ARM-USB-OCDfor easier connection to the target board.

There is a small mark over the connector that indicates where the first pin is located. It might be 
difficult to spot it at first glance (because of the casing) so please also consider that the cable that 
comes with the debugger has the first wire colored in red.

The pinout of the JTAG connector is shown in the next table (#3): 

Table 3. JTAG connector pinout

PIN # Signal name

PIN # Signal name

1 VREF

2 VREF

3 TTRST_N

4 GND

5 TTDI

6 GND

7 TTMS

8 GND

9 TTCK

10 GND

11 TRTCK

12 GND

13 TTDO

14 GND

15 TSRST_N

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-OCD would attempt to power it by 5V at pin
19 of the connector. Please note that the USB standard allows limited amount of power. Powering 
the board from the debugger is not always reliable (especially if the target board has a lot of power-
hungry peripherals). It is recommended to use external power supply for bigger target boards.

If instead of the standard 20-pin 2.54mm (0.1'') JTAG connector your board has the mini version – 
the 10-pin 1.27mm (0.05'') – then you might use the ARM-JTAG-20-10 adapter which is sold 
separately. This adapter does not provide SWD capabilities (look for ARM-JTAG-SWD for such an 
expansion). The ARM-JTAG-20-10 adapter can be used with debuggers manufactured by other 
companies as long as they follow the standard 20-pin JTAG layout suggested by ARM Holdings.

Page 10 of 33

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

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

Отзывы: