IAR SYSTEMS I-jet User Manual

IAR SYSTEMS I-jet User Manual

Debug probes for arm cores
Hide thumbs Also See for I-jet:

Advertisement

IAR Debug Probes User
Guide
I-jet®, I-jet Trace, and I-scope™
for Arm Limited's
Arm Cores
IARprobesArm-9

Advertisement

Table of Contents
loading

Summary of Contents for IAR SYSTEMS I-jet

  • Page 1 IAR Debug Probes User Guide I-jet®, I-jet Trace, and I-scope™ for Arm Limited’s Arm Cores IARprobesArm-9...
  • Page 2 IAR Systems assumes no responsibility for any errors or omissions. In no event shall IAR Systems, its employees, its contractors, or the authors of this document be liable for special, direct, indirect, or consequential damage, losses, costs, charges, claims, demands, claim for lost profits, fees, or expenses of any nature or kind.
  • Page 3: Table Of Contents

    Indicators .................... 20 Adapters ..................... 21 I-jet Trace ......................37 Introduction ....................37 The I-jet Trace CM and I-jet Trace A/R/M in-circuit debugging probes ....................37 Requirements ..................38 Target connections ................39 Working with I-jet Trace ..............39 Setup and installation ................. 40 Connecting the target system .............
  • Page 4 Technical specifications ............... 42 The I-jet Trace package ..............42 Model specifications ................42 Hardware revision history ..............44 Connectors ..................45 Indicators .................... 47 Adapters ..................... 48 Designing target boards for ETM trace ..........52 General PCB layout guidelines ............53 I-scope ........................
  • Page 5: I-Jet

    I-jet Introduction ● Working with I-jet ● Technical specifications ● Introduction These topics are covered: The I-jet in-circuit debugging probe ● Requirements ● Supported core families ● Target connections ●...
  • Page 6: The I-Jet In-Circuit Debugging Probe

    Introduction THE I-JET IN-CIRCUIT DEBUGGING PROBE I-jet connects to the target board via a JTAG, SWD, or cJTAG connection, and to the host computer via the USB port. C-SPY debugger C-SPY driver USB connection I-jet JTAG, SWD or cJTAG I-jet communicates using USB 2.0. (USB 1.0 is also supported but not recommended.) The I-jet in-circuit debugging probe is also referred to as a debug probe, debug adapter, or JTAG in-circuit emulator by different tool vendors.
  • Page 7: Requirements

    The I-jet in-circuit debugging probe has full support for on-chip trace—ETB (Embedded Trace Buffer), MTB (Micro Trace Buffer), and TMC (Trace Memory Controller). REQUIREMENTS I-jet needs to be controlled by the IAR C-SPY® Debugger which comes with the IAR Embedded Workbench® IDE. SUPPORTED CORE FAMILIES These cores are currently supported: Arm7 ●...
  • Page 8: Working With I-Jet

    For information about debugging using I-jet, see the C-SPY® Debugging Guide for Arm. SETUP AND INSTALLATION Software Before you can use I-jet, you need to install IAR Embedded Workbench for Arm. For information, see the Installation and Licensing Quick Reference Guide and the Licensing Guide. Probe setup I-jet does not require any special driver software installation.
  • Page 9: Updating The Probe Firmware

    I-jet Power up your evaluation board If you have an evaluation board that is prepared for it, you can power the board via I-jet through pin 19 on the standard ARM-20 connector, or pin 11/13 on the small MIPI-20 connector. Target power of up to 420 mA can be supplied from I-jet with overload protection.
  • Page 10 Working with I-jet In the EmuDiag dialog box, click Update Firmware. IAR Debug Probes User Guide I-jet®, I-jet Trace, and I-scope™...
  • Page 11 I-jet In the Open dialog box, browse to the folder of arm\bin\jet\firmware\i-jet your IAR Embedded Workbench installation. In one of the subfolders, select the firmware file that you want to use and click Open.
  • Page 12 Working with I-jet The update log information is displayed in the EmuDiag dialog box. When the firmware update is complete, a message is displayed. IAR Debug Probes User Guide I-jet®, I-jet Trace, and I-scope™...
  • Page 13: Technical Specifications

    MIPI-10 JTAG cable ● USB 2.0 Micro B cable ● ADA-MIPI20-ARM20 adapter ● Welcome letter ● MODEL SPECIFICATIONS These are the specifications of I-jet: USB speed 480 Mbps (USB 2.0) USB connection Micro-B Target connection MIPI-20, MIPI-10 Adapters included ADA-MIPI20-ARM20...
  • Page 14: Jtag Timing Specification

    ● with 20-pin MIPI headers. Pin 7 on each end is keyed with a white plug. A 6-inch cable with a 20-pin MIPI connector on one side (to connect to I-jet), and a ● 10-pin MIPI connector on the other side for connection to Cortex-M targets with 10-pin headers.
  • Page 15: Hardware Revision History

    Table 1: I-jet JTAG port timing specifications is the maximum delay from the falling edge of TCK and a valid level on the I-jet output signals, TDI and TMS. The target MCU will sample these signals on the following rising edge of TCK and so the minimum setup time for the target, relative to...
  • Page 16: Target Interface

    The JTAG/SWD - MIPI-10 cable ● The JTAG/SWD - MIPI-20 cable I-jet comes with a 6-inch cable with 20-pin MIPI connectors on both ends for the Cortex-M devices with 20-pin MIPI headers. Pin 7 on each end is keyed with a white plug: The mating connector for a target board has the pitch size 0.05 in (1.27 mm).
  • Page 17 I/O, output JTAG mode set input of target CPU. This pin should be pulled up on the target. Typically connected to TMS of the target CPU. This pin is a GND pin connected to GND in I-jet. It should also be connected to GND in the target system.
  • Page 18 Input Trace data pin 0. This pin can be used as used secondary SWO. SWO2 This pin is a GND pin connected to GND in I-jet. It should also be connected to GND in the target system. 16 Not TRACEDATA[1] Input Input Trace data pin 1.
  • Page 19 I-jet The JTAG/SWD - MIPI-10 cable I-jet also comes with a 6-inch cable with a 20-pin MIPI connector on one side (to connect to I-jet) and a 10-pin MIPI connector on the other side for connection to Cortex devices with 10-pin headers. Pin 7 on each end is keyed with a white plug: The mating connector for a target board has the pitch size 0.05 in (1.27 mm).
  • Page 20: Indicators

    Output nRESET or TRST. Table 4: MIPI-10 pin definitions (Continued) INDICATORS I-jet has three LED indicators on the top, marked TPWR, DBG, and USB. The following indicators and their statuses are described in detail: The TPWR indicator (Target power) ●...
  • Page 21: Adapters

    MIPI-20 connector and the target MIPI-20 connector. You can use it to reduce the risk of damage to the I-jet debug probe associated with power ground loops, voltage spikes, electrostatic discharge (ESD), and noisy power and ground lines generated by targets which drive high-current motors and other machinery.
  • Page 22 Compatible with I-jet ● Supports JTAG, SWD, and SWO debug modes ● Compatible with I-jet Trace in JTAG, SWD, and SWO modes only (ETM trace is ● not supported) Powered entirely by I-jet via pins 11 and 13 on the MIPI-20 header ●...
  • Page 23 The JTAG interface on the target side automatically adapts to the voltage given on ● the target VTREF pin (2.5 V-5 V). Because of the isolation barrier, the I-jet side uses its own voltage, independent of the target voltage. This is for information only and has no effect on the target JTAG operation.
  • Page 24 Touching any exposed circuitry on the target, the adapter, cables, or the I-jet probe can cause injury or death. IAR Systems or the manufacturer shall not be liable for any damages related to the use of this probe. IAR Debug Probes User Guide...
  • Page 25 I-jet The ADA-MIPI20-ARM20 adapter The ADA-MIPI20-ARM20 adapter is included with I-jet. It converts the MIPI-20 I-jet cable to the legacy ARM-20—0.1 in × 0.1 in (2.56 mm x 2.56 mm) pitch—JTAG headers. This is a diagram of the adapter: These are the pin definitions of the ADA-MIPI20-ARM20 adapter:...
  • Page 26 VTref is normally fed from Vdd on the target hardware and might have a series resistor (though this is not recommended). VTref is used by I-jet to detect if target power is active and to set JTAG signal voltage reference for level translators.
  • Page 27 Table 9: ADA-MIPI20-ARM20 adapter pin definitions (Continued) The R2 pull-down on pin 17 of the I-jet MIPI20 connector is a signal to I-jet that a legacy ADA-MIPI20-ARM20 adapter is being used. Other adapters will have different resistors so that I-jet can identify them if needed. A solid GND on this pin means that no adapter is being used, and that the MIPI cable is connected directly between the I-jet and the target board.
  • Page 28 Technical specifications This is a diagram of the ADA-MIPI20-TI14 adapter: IAR Debug Probes User Guide I-jet®, I-jet Trace, and I-scope™...
  • Page 29 EMU0 Emulation 0 Depending on the device, EMU pins support boot modes and other features. I-jet does not use this pin but it is routed to the TRACEDATA[2] pin on the MIPI20 connector. For proper booting, this pin should be pulled up on the target.
  • Page 30 TSM-107-01-F-DV. For more information, see the manufacturer's web page: http://www.samtec.com/products/tsm. The ADA-MIPI20-cTI20 adapter The ADA-MIPI20-cTI20 adapter adapts the I-jet standard MIPI-20 cable pinout to the Texas Instruments compact 20-pin JTAG interface used on some newer OMAP, DaVinci, and other TMS320, TMS470, and TMS570 target boards.
  • Page 31 I-jet The adapter has the MIPI-20 male header on top for connecting the I-jet MIPI-20 cable, and a cTI-20 style female header (socket) on the bottom. The cTI-20 JTAG header is a 20-pin, double-row, high-density 0.05 in × 0.1 in (1.27 mm × 2.56 mm) pitch connector with a key (plug) in position 6 to prevent misconnections.
  • Page 32 Input Power Should be tied to the I/O voltage of the target device. Detect Used by I-jet to detect if target power is active and to set the JTAG signal voltage reference for level translators. EMU0 Emulation 0 Depending on the device, EMU pins support boot modes and other features.
  • Page 33 I-jet This is the pinout of the target cTI20 JTAG header. Pin 6 should be missing to indicate the proper orientation. nTRST TDIS TVD (PD) TCKRTN EMU0 EMU1 nSYSRST EMU2 (NC) EMU3 (NC) EMU4 (NC) These are the top view dimensions of the ADA-MIPI20-cTI20 adapter: 0.74 in (18.9 mm)
  • Page 34 FTR-110-51-S-D-06. For more information, see the manufacturer's web page, http://www.samtec.com/products/ftr. The ADA-MIPI20-STSWD6 adapter The ADA-MIPI20-STSWD6 adapter converts the I-jet standard MIPI-20 cable pinout to the ST SWD 6-pin female connector header. The target header has pins spaced at 0.1 in (2.56 mm). The adapter has 6-pin female...
  • Page 35 I-jet This is a diagram of the ADA-MIPI20-STSWD6 adapter: These are the pin definitions for the ADA-MIPI20-STSWD6 adapter: I-jet Name Description direction No connection - not used. Output SWCLK SWD clock signal to the target CPU. It is recommended /TCK that this pin is pulled to a defined state of the target board.
  • Page 36 Yellow Input VTref The target reference voltage. Used by I-jet to check whether the target has power, to create the logic-level reference for the input comparators, and to control the output logic levels to the target. It is normally fed from the target’s VDD voltage.
  • Page 37: I-Jet Trace

    USB 2.0 is also supported, but not recommended due to slower speed and smaller power delivery. I-jet Trace CM and I-jet Trace A/R/M have all the features of I-jet, but with enhanced performance and ETM (Embedded Trace Macrocell) support, which allows for real-time tracing of the instruction and data over a 1, 2 or 4-bit trace bus on Cortex-M devices.
  • Page 38: Requirements

    Introduction I-jet Trace CM connects to the target board via a MIPI-20 header. By default, I-jet Trace A/R/M connects to the target via the Mictor-38 headers, but it also supports the MIPI-20 headers. The probes connect to the host computer via the USB port.
  • Page 39: Target Connections

    ● adapters I-jet Trace CM comes with a MIPI-20 connector on the front panel, and with MIPI-20 and MIPI-10 cables, as well as a legacy Arm-20 adapter. I-jet Trace A/R/M comes with an adapter board with a Mictor-38 connector that plugs directly into the target board.
  • Page 40: Setup And Installation

    Working with I-jet Trace SETUP AND INSTALLATION Software Before you can use I-jet Trace, you need to install IAR Embedded Workbench for Arm. For information, see the Installation and Licensing Quick Reference Guide and the Licensing Guide. Probe setup I-jet Trace does not require any special driver software installation. Normally, all drivers for I-jet Trace are automatically installed as part of the IAR Embedded Workbench installation.
  • Page 41: Using Trace

    5 V DC power supply. I-jet Trace A/R/M must use the supplied (5 V DC at 2 A) power adapter to power a target board. When it is not powering the target, I-jet Trace A/R/M does not need the external power supply as long as it is connected to the USB3 port.
  • Page 42: Technical Specifications

    USB3 A to micro-B cable ● ADA-MIPI20-ARM20 adapter ● Welcome letter ● The I-jet Trace A/R/M package also contains: Mictor-38 adapter board attached to two 60-wire flat cables ● MODEL SPECIFICATIONS These are the specifications of I-jet Trace: USB speed 4.8 Gbps (USB 3 SuperSpeed)
  • Page 43 MIPI-20 (ETM, JTAG, cJTAG, SWO, and SWD) MIPI-10 (JTAG and SWD) Arm-20 (JTAG and SWD) Mictor-38 (I-jet Trace A/R/M only) (ETM, JTAG, cJTAG, SWO, and SWD) 5 V DC, 2 A, 0.05 in x 0.14 in (1.3 mm× 3.5 mm)
  • Page 44: Hardware Revision History

    Storage temperature 32-176°F (0-80°C) I-Jet Trace A/R/M features In addition to the above model specifications, I-jet Trace A/R/M has these features: Support for ETMv3, ETMv4, and PTM/PFT trace and debug interfaces on any Arm ● Cortex-A/R/M device equipped with CoreSight Trace port support of up to 350 MHz double data rate (DDR) (700 Msamples/s for ●...
  • Page 45: Connectors

    USB connector. It can be used whenever the host computer is unable to deliver the necessary power to I-jet Trace and to the target board. The external power supply must deliver 5 V DC at 1 A minimum for I-jet Trace CM and 2 A minimum for I-jet Trace A/R/M.
  • Page 46 The MIPI-20 pinout for I-jet Trace CM is the same as for I-jet. I-jet Trace A/R/M comes with two 60-pin flat cables that terminate in an adapter board with a Mictor-38 male connector that is designed to plug in directly into the target board.
  • Page 47: Indicators

    The mating connector for Mictor-38 on target board is AMP/Tyco 5767054-1. INDICATORS I-jet Trace has four LED indicators on the top, marked TRC, TPWR, DBG, and USB. The following indicators and their statuses are described in detail: The TRC indicator ●...
  • Page 48: Adapters

    The ADA-MICTOR-MIPI60 adapter ● The ADA-MIPI20-MICTOR adapter The ADA-MIPI20-MICTOR adapter coverts the I-jet Trace CM standard MIPI-20 cable pinout to the high-speed Mictor 38-pin trace connector used on some target boards. IAR Debug Probes User Guide I-jet®, I-jet Trace, and I-scope™...
  • Page 49 I-jet Trace The adapter has the MIPI-20 male header on top for connecting the I-jet Trace CM MIPI-20 cable and the Mictor-style male header that straddles the edge of the PCB. This Mictor connector (AMP/Tyco 576006-1) mates with target boards with a female Mictor connector with pitch size 0.025 in (0.064 mm).
  • Page 50 The ADA-MICTOR-MIPI60 adapter converts the I-jet Trace A/R/M standard Mictor-38 pinout to the MIPI-60 trace connector used on some target boards.The adapter has the Mictor-38 female connector on top for connecting the I-jet Trace A/R/M and the MIPI-60-style male header on the bottom.
  • Page 51 I-jet Trace Signal Signal VREF DEBUG nSRST RTCK nTRST DBGRQ Table 21: ADA-MICTOR-MIP160 adapter pinout...
  • Page 52: Designing Target Boards For Etm Trace

    For best results, it is recommended that the ETM trace signals be simulated for signal integrity on a routed PCB by HyperLinx (or similar signal integrity SW). IAR Debug Probes User Guide I-jet®, I-jet Trace, and I-scope™...
  • Page 53: General Pcb Layout Guidelines

    I-jet Trace Such SI tools will take into consideration the output impedance and rise and fall times of the MCU trace port lines, the length, geometry, and impedance of the PCB traces, the geometry of the layer stack as well as the dielectric properties of the PCB materials to give a simulated graph of the resulting waveform at the trace connector or any other place along the path.
  • Page 54 They also make the trace impedance matching easier and more consistent. Trace signal requirements I-jet Trace supports DDR (Double Data Rate) clocking mode, which means the data is output on both edges of the TRACECLK signal. To compensate for variations in MCU ETM logic and target board PCB layouts, I-jet Trace contains logic to delay the TRACECLK and each TRACEDATA signal for up to 2.5 ns in 78 ps steps.
  • Page 55 Important: The minimum setup and hold times in the table are not as important as the length of the data valid time, because the logic inside the I-jet probe can delay the TRACECLK and TRACEDATA signals as needed, up to 2.5 ns. To get the best results, the trace valid data (Tds + Tdh) should be as long as possible.
  • Page 56 Technical specifications IAR Debug Probes User Guide I-jet®, I-jet Trace, and I-scope™...
  • Page 57: I-Scope

    Output). THE I-SCOPE PROBE IAR I-scope for I-jet/I-jet Trace plugs in between the I-jet/I-jet Trace in-circuit debugging probe and the target board. I-scope adds detailed current and voltage measurement capability to I-jet/I-jet Trace. These measurements can be done at any...
  • Page 58: Current And Voltage Measurement Using I-Scope

    (marked I+ and I-) across a shunt resistor on the target board. This figure shows how I-scope is connected to I-jet and to the target board: IAR Debug Probes User Guide...
  • Page 59 I-scope This figure shows how I-scope is connected to I-jet Trace and to the target board: Many hardware engineers add small shunt resistors to the board to measure (using a digital voltmeter) the currents taken by specific logic blocks or devices. This method is mainly used in early stages of development.
  • Page 60: Working With I-Scope

    SETUP AND INSTALLATION Connect I-scope to I-jet/I-jet Trace using the supplied MIPI-20 cable. Connect the target to I-scope using the MIPI-20 cable that came with I-jet/I-jet Trace. Start IAR Embedded Workbench and select your project. To measure current, connect the I+ and I- leads across the shunt resistor on your board.
  • Page 61: The I-Scope Package

    I-scope THE I-SCOPE PACKAGE The I-scope package contains: I-scope probe ● Short MIPI-20 flat cable for attaching to I-jet/I-jet Trace ● Two probes consisting of three flying test leads each ● Six grabbers ● Welcome letter ● EXTERNAL CHARACTERISTICS This figure shows the I-scope probe and its connections and switches:...
  • Page 62: I-Scope Probe Specification

    VTRef Target reference voltage LED will turn green when the target voltage is > 1.65 V. This is the minimum target voltage at which the I-jet/I-jet Trace will operate. Ready LED will turn yellow as soon as the power probe is enabled. After I-jet/I-jet Trace calibrates the probe, the RDY LED will turn green to indicate that I-scope is ready to be used.
  • Page 63 I-scope ADC resolution 12 bits Maximum sampling rate 200 ksps V1, V2, V3 voltage channels range 0 to 6 V V1, V2, V3 voltage channels 1.49 mV (1 LSB) resolution V1, V2, V3 voltage channels 2.98 mV (2 LSB) accuracy 110 mV Maximum differential voltage between I+ and I- probes...

This manual is also suitable for:

I-jet traceI-scope

Table of Contents