CoLinkEx JTAG/SWD adapter USER MANUAL

Similar documents
Embest Emlink for ARM Cortex-M3. User Manual

ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32

Connecting To and Programming the LPC2148 Blue Board. Method 1 ISP (In-System Programming) w/ Flash Magic

MSP430 JTAG / BSL connectors

ARM JTAG Interface Specifications

JTAGcable II In Circuit Emulator for Atmel AVR microcontrollers. User s Guide REV 1.0. Many ideas one solution

Memec Spartan-II LC User s Guide

SAU510-USB ISO PLUS v.2 JTAG Emulator. User s Guide 2013.

DX-10 tm Digital Interface User s Guide

Universal ByteBlaster

SignalTap Plus System Analyzer

CHAPTER 3 EXPERIMENTAL SETUP

Document Part Number: Copyright 2010, Corelis Inc.

Section 24. Programming and Diagnostics

Tools to Debug Dead Boards

Virtex-II Pro and VxWorks for Embedded Solutions. Systems Engineering Group

DSTREAM ARM. System and Interface Design Reference. Version 4.4. Copyright ARM. All rights reserved. ARM DUI 0499E (ID091611)

Using the XC9500/XL/XV JTAG Boundary Scan Interface

APPLICATION NOTE 4312 Getting Started with DeepCover Secure Microcontroller (MAXQ1850) EV KIT and the CrossWorks Compiler for the MAXQ30

Debugging IDT S-RIO Gen2 Switches Using RapidFET JTAG

Using the XSV Board Xchecker Interface

Entry Level Tool II. Reference Manual. System Level Solutions, Inc. (USA) Murphy Avenue San Martin, CA (408) Version : 1.0.

MSP430-H2618 development board Users Manual

Section 24. Programming and Diagnostics

DMC550 Technical Reference

STB Front Panel User s Guide

Raspberry Pi debugging with JTAG

Overview of BDM nc. The IEEE JTAG specification is also recommended reading for those unfamiliar with JTAG. 1.2 Overview of BDM Before the intr

The user manual of LED display screen and RH-32G control card.

Saving time & money with JTAG

A Primer: ARM Trace. Including: ETM, ETB and Serial Wire Viewer, JTAG and SWD V 2.1

Ashling Product Brief APB219 v1.0.3, 12 th October 2018

APPLICATION NOTE. Atmel AVR32850: ATSAM4L-EK User Guide. Atmel SAM4L. Features. Introduction

User Manual for ASSIST Evaluation & Programming Tool EPT002

XDS560R JTAG Emulator Technical Reference

Booya16 SDR Datasheet

MSP430-HG2231 development board Users Manual

How to overcome/avoid High Frequency Effects on Debug Interfaces Trace Port Design Guidelines

Instruction manual Universal Fieldbus-Gateway UNIGATE IC - RS

Image generator. Hardware Specification

SXGA096 DESIGN REFERENCE BOARD

VNS2200 Amplifier & Controller Installation Guide

VNS2210 Amplifier & Controller Installation Guide

IOCard Displays II Manual. Date:08/03/17 Rev.:2.3

Manual Version Ver 1.0

University Program Design Laboratory Package

SWITCH: Microcontroller Touch-switch Design & Test (Part 2)

The Haply Development Kit

XJTAG DFT Assistant for

3. Configuration and Testing

University Program Design Laboratory Package

JTAG ICE... User Guide

AN1775 APPLICATION NOTE

Comparing JTAG, SPI, and I2C

XDS510USB PLUS JTAG Emulator Technical Reference

uresearch GRAVITECH.US GRAVITECH GROUP Copyright 2007 MicroResearch GRAVITECH GROUP

XJTAG DFT Assistant for

University Program Design Laboratory Package

C8188 C8000 1/10. digital audio modular processing system. 4 Channel AES/EBU I/O. features. block diagram. 4 balanced AES inputs

University of Arizona January 18, 2000 Joel Steinberg Rev. 1.6

Vorne Industries. 87/719 Analog Input Module User's Manual Industrial Drive Itasca, IL (630) Telefax (630)

X-LINE Testing Device STB 01X. Manual.

USER'S MANUAL. Getting started with ALEXAN ATMEL AT89C2051/AT89C4051 Training Module - 1

EZCOM-1. PLC - to - AMS MESSAGE DISPLAY INTERFACE INSTALLATION AND OPERATING INSTRUCTIONS. Rev March, 2001

XJTAG DFT Assistant for

Ten-Tec (865) Service Department:(865)

ATF15xx-DK3 Development Kit... User Guide

2070 PROFINET MODULE

VHDL Upgrading of a TNT2 card

STEVAL-IFN003V1. DC PMSM FOC motor drive. Description. Features

MIDI2DMX PRO. solid state MIDI to DMX converter. wwww.midi2dmx.eu

STEVAL-ICB004V1. Advanced resistive touchscreen controller demonstration board based on the STMPE811. Features. Description

MACH3 LaserAce Installation Manual Revision 1. MACH3 LaserAce Installation Manual

Alice EduPad for Tiva or MSP432 TI ARM Launchpad. User s Guide Version /23/2017

MXS Strada USER GUIDE

I N S T R U C T I O N D A T A

XJTAG DFT Assistant for

R4 AIS Class B Transponder

Alice EduPad Board. User s Guide Version /11/2017

REMOTE I/O R30 SERIES. PC CONFIGURATOR SOFTWARE Model: R30CFG Ver Users Manual

Remote Diagnostics and Upgrades

Using SignalTap II in the Quartus II Software

Error connecting to the target: TMS320F28379D. 1 Error message on connecting the target.

Configuring FLASHlogic Devices

BTW03 DESIGN CONSIDERATIONS IN USING AS A BACKPLANE TEST BUS International Test Conference. Pete Collins

Technical data. General specifications. Indicators/operating means

LED Array Board.

RF4432 wireless transceiver module

F24X DSK Setup and Tutorial

W0EB/W2CTX DSP Audio Filter Operating Manual V1.12

Foreword: The purpose of this document is to describe how to install and configure Neets 4 relay box

BABAR IFR TDC Board (ITB): system design

How To Build Megavolt s Small Buffered JTAG v1.2

ARM HOW-TO GUIDE Interfacing Traffic Light with LPC2148

Spartan-IIE LC Development Board User s Guide

C8000. sync interface. External sync auto format sensing : AES, Word Clock, Video Reference

Step What to do Expected result What to do if test fails Component tested 1 Visual inspection. Board is accurately assembled

Syntor X Flash Memory Module Revision C

RF4432F27 wireless transceiver module

Model 6010 Four Channel 20-Bit Audio ADC Data Pack

Transcription:

CoLinkEx JTAG/SWD adapter USER MANUAL rev. A Website: www.bravekit.com

Contents Introduction... 3 1. Features of CoLinkEX adapter:... 3 2. Elements of CoLinkEx programmer... 3 2.1. LEDs description.... 4 3. JTAG interface... 4 4. SW interface... 5 5. JTAG connector pins numbers... 5 6. CoLinkEX schematic... 6 7. How to supply target board from CoLinkEx... 7 8. Installation of CoLinkEx... 8 8.1. Install the Driver of CoLinkEx... 8 8.2. Connect CoLinkEx to PC... 10 9. Update the firmware... 10 10. Use CoLinkEX... 11 10.1. How to use CoLinkEx in CoIDE... 11 10.2. How to use CoLinkEx in CoFlash... 14 10.3. How to use CoLinkEx in MDK... 15 2

Introduction CoLinkEx is a hardware-debugging adapter, which supports SW debugging and supports ARM Cortex M devices, it supports debugging in CooCox software and Keil RealView MDK. Main features of LPC1343-HB module. In addition, ColinkEx can supply target board with 3.3V or 5V via JTAG connector 1. Features of CoLinkEX adapter: Support JTAG and SW interfaces for Cortex-M microcontrollers Supported in Coocox IDE (COIDE) and Keil RealView MDK (with plugin) USB-B connector Support firmware upgrade via USB Standard 20-pin JTAG connector Can supply target board with 3.3V or 5V via JTAG connector 4 LEDs for status of programmer Compact size 55х55х18mm 2. Elements of CoLinkEx programmer BUSY LED USB bootloader jumper, JP1 3V3 jumper for supply target board Connect LED ERROR LED USB connector PWR LED 3V3 voltage regulator 3V3 jumper for supply target board 3

2.1. LEDs description. CoLinkEx programmer have four LEDs for status indication PWR show status of programmer power supply Connect status of connection to USB BUSY this LED is ON if programmer in debug mode ERROR this LED is ON if any error is occur 3. JTAG interface CoLinkEx have a standard JTAG connector. The JTAG connector is a 20 way Insulation Displacement Connector (IDC) keyed box header (2.54mm male) that mates with IDC sockets mounted on a ribbon cable The following table lists the CoLinkEx JTAG pinout. Pin Signal TYPE Description 1 3V3 OUT Power 3V3 output for supply target board from voltage regulator of CoLinkEx. Voltage on this pin available, if 3V3 jumper is closed 2,3,11,17 NC - This pin is not connected in CoLinkEx JTAG data input of target CPU. It is recommended that this pin is pulled to a 5 TDI output defined state on the target board. Typically connected to TDI of the target CPU. JTAG mode set input of target CPU. This pin 7 TMS output should be pulled up on the target. Typically connected to TMS of the target CPU JTAG clock signal to target CPU. It is recommended that this pin is pulled to a 9 TCK output defined state of the target board. Typically connected to TCK of the target CPU 13 TDO Input JTAG data output from target CPU. Typically connected to TDO of the target CPU. 15 RESET output Target CPU reset signal. Typically connected to the RESET pin of the target CPU, which is typically called "nrst", "nreset" or "RESET". 19 5V OUT Power This pin can be used to supply power to the target hardware. Voltage on this pin available, if 3V3 jumper is closed 4,6,8,10,12,14,16 GND Ground These pins connected to GND in CoLinkEx. They should also be connected to GND in the target system 4

4. SW interface CoLinkEx JTAG connector is also compatible to ARM.s Serial Wire Debug (SWD). Pin Signal TYPE Description 1 3V3 OUT Power 3V3 output for supply target board from voltage regulator of CoLinkEx. Voltage on this pin available, if 3V3 jumper is closed 7 SWDIO Input/Output Single bi-directional data pin. A pull-up resistor is required. ARM recommends 100 kohms 9 SWCLK Output Clock signal to target CPU. It is recommended that this pin is pulled to a defined state on the target board. Typically connected to TCK of target CPU. 13 SWO Output Serial Wire Output trace port. (Optional, not required for SWD communication.) These pins connected to GND in CoLinkEx. 4,6,8,10,12,1 GND Ground They should also be connected to GND in the 4,16 target system 5. JTAG connector pins numbers Numbers of JTAG connector pins showed on photo below 3 1 19 2 4 20 5

6. CoLinkEX schematic 6

7. How to supply target board from CoLinkEx With CoLinkEx adapter, you can supply target board with 3.3V/400mA or 5V/400mA via JTAG connector. 3V3 jumper 5V jumper 7.1. Power supply with 3.3V For using this function, you must close 3V3 jumper. In this case, 3.3V from on-board voltage regulator will be connected to pin 1 of JTAG connector. On target board 3.3V power supply bus must be connected to pin 1 of JTAG connector. 7.2. Power supply with 5V For using this function, you must close 5V jumper. In this case, 5V from USB will be connected to pin 19 of JTAG connector. On target board, 5V power supply bus must be connected to pin 19 of JTAG connector. 7

8. Installation of CoLinkEx 8.1. Install the Driver of CoLinkEx You can download driver from http://www.coocox.org/colinkex.htm Do the operations shown in the following picture 8

9

8.2. Connect CoLinkEx to PC When you connect CoLinkEx to PC, it will ask you to install the driver to system for the new detected devices. Then you may need to specify the path for CoLinkEx Driver. After you installed the driver, in the device manager, you will found CooCox(COM x)under Port and CooCox CoLinkEx Debug Interface under USB Controller. If there is a? in front of the two devices, it means that the driver have not been installed to the system or install failed; if there isn t CooCox Port, it means that your CoLinkEx firmware and driver is old version. 9. Update the firmware You can download firmware from http://www.coocox.org/colinkex.htm How to update the firmware: 9.1. Short-circuit JP1 (activation of USB bootloader) 9.2. Connect CoLinkEx to the PC. Wait for the PC enumerates the removable disk whose label is "CRP2 ENABLD" or "CRP DISABLD". If it does not, you could press the reset button (BP1) for several times or power on again. 9.3. Delete the firmware.bin file in removable disk 9.4. Copy the downloaded firmware: ColinkEx_firmware_v0.4.bin into the removable disk 9.5. Disconnect JP1, power on again, then CoLinkEx will work normally 10

10. Use CoLinkEX Now CoLinkEx support CoIDE, CoFlash and CoMDKPlugin. The following is the configuration to use CoLinkEx in this software 10.1. How to use CoLinkEx in CoIDE After create CoIDE Project, click Debug Configuration button 11

In debug configuration page, select CoLinkEx, and set other parameters In Download page, configure the flash algorithm 12

After compile the project, click the download button to Download code to Flash Click Debug button to debug the program. 13

10.2. How to use CoLinkEx in CoFlash Open CoFlash, select a chip, e.g. (LPC11C14x301 from NXP), then select CoLinkEx in the adapter; modify the Port, Max Clock for the adapter if you need. You can refer to the following picture Switch to Download page to execute Download, Erase, Verify, Blank Check, etc 14

10.3. How to use CoLinkEx in MDK Before using CoLinkEx in Keil MDK you must install «CoLinkEx plugin for MDK» from http://www.coocox.org/colinkex.htm Open MDK Project, Click Target options to configure the project Debug -> Use, open the configuration dialog and selects "CooCox Debugger". 15

Click "Settings", and then select the CoLinkEx as the adapter. You can also modify the Port, Max Clock for the adapter, Reset, Cache, Trace or Semihosting Options, etc. Switch to Flash Download to set the flash options and the flash algorithm. 16

Then, if you debug your program in flash, you also have to configure "Utilities" by selecting "CooCox Debugger" for Flash Programming Now you can use CoLinkEx to download and debug in MDK 17