Skip to main content
  • Products
  • Evaluate our Software
  • Downloads
  • Free Utilities
  • Purchase
  • Support
  • About Us
  • Blog
  • Forum
  • Search
    • Contact Us
    • Forum
    • Wiki
    • Web Shop
    • Newsletter
    • RSS
  •   Jobs
  •   Videos
  •   Blog
  •   Sustainability
  • J-Link Debug Probes
  • Using Trace with Eclipse
  • Technology
  • Accessories
  • Tools
  • Models
J-Link product icon SEGGER blue stack

Using Trace with Eclipse Plugin

IAR EWARMs C-SPY Plugin can be used to show Trace data in Eclipse.

  1. 1.Requirements
  2. 2.Setup
  3. 3.Importing an IAR EWARM Project to Eclipse
  4. 4.Starting a Trace Session

Requirements

  • IAR Embedded Workbench (Supported Versions: 6.50x, 7.20x, 7.30x [see http://eclipse-update.iar.com])
  • Java Runtime Environment: JRE 7
  • An Eclipse version supported by IAR. (see http://eclipse-update.iar.com)
  • We recommend to always install the latest J-Link Software and Documentation package to make sure that the latest J-Link DLL is used.

Tested configurations:

  • EWARM 6.50b + Eclipse 3.7
  • EWARM 7.30a + Eclipse 4.4.1

Setup

Download and extract the IAR Plugin suiting the version of Embedded Workbench being used from http://eclipse-update.iar.com. In Eclipse,

  • Select Help | Install new Software
  • Press Add
AddLocalZip

  • Press local
  • Select the extracted folder and enter a name of your choice, e.g. "IAR Plugin"
  • Check IAR Compiler and Debugger Support
  • Make sure your Internet connection is online.
  • Click Next
AddingPlugin_WIP

  • Click Next
  • Accept the License Terms (IAR Software / Eclipse Foundation)
  • If a warning about unsigned content shows up, click OK.
  • Press Yes to restart Eclipse
  • If shown, dismiss the welcome message.
SelectJLink

Importing an IAR EWARM Project to Eclipse

If a normal Eclipse project is used, this step can be skipped.

  • Select File | Import
  • Click the '+' next to IAR Embedded Workbench
  • Select Import IAR Embedded Workbench project
  • Click Next
ImportProject

  • Click Browse and select the .ewp or .eww file of your project
  • Click Finish
ImportedProject

  • Select Project | Select Device
  • Click Browse and select the target CPU.

Starting a Trace Session

  • Select Run | Debug Configurations
  • If necessary, create a Debug Configuration
    • Choose IAR C-SPY Debugger for ARM Launcher as Preferred Launcher
  • Select the tab Setup
  • Select J-Link/J-Trace in the Driver dropdown menu.

  • Press Apply
  • Press Debug

In the Debug Perspective,

  • Select Window | Show View | Other | C-Spy Trace | C-Spy Trace (ETM)
  • Press OK
  • Activate the Trace Output by clicking the Power On Symbol in the Trace Window
  • The Eclipse Session should look like as follows:
TraceSession

More Information

Purchase

  • Pricing

Technology

  • Control Panel
  • Flash Breakpoints
  • Flash Download
  • Interface Description
  • J-Link SDK
  • J-Link DSK
  • Monitor-mode Debugging
  • Power Profiling
  • Real Time Transfer (RTT)

Tools

  • J-Run
  • Ozone - J-Link Debugger
  • J-Link Configurator
  • J-Link Remote Server
  • J-Link Commander
  • J-Mem
  • J-Link SWO Viewer
  • J-Scope
  • J-Flash
  • J-Flash SPI
  • J-Link RDI
  • RTT Viewer
  • SystemView
  • Terms of Use
  • Third Party applications

Models

  • Model Overview
  • J-Link PRO
  • J-Link ULTRA+
  • J-Link WiFi
  • J-Link PLUS
  • J-Link BASE
  • J-Link EDU Mini
  • J-Link OB

About us

  • The Company
  • Partners
  • Job Offers
  • Media
  • Contact us

Support

  • Technical Support
  • Blog
  • Forum
  • Wiki

Downloads

  • Application Notes
  • Embedded Studio
  • embOS
  • emCompress
  • emCrypt
  • emFile
  • emLib
  • emLoad
  • emModbus
  • emNet
  • emPower
  • emSecure
  • emSSH
  • emSSL
  • emUSB-Device
  • emUSB-Host
  • emVNC
  • emWin
  • Flasher
  • Free Utilities
  • IoT
  • J-Link / J-Trace
  • Linux Studio
  • SystemView
  • CE / REACH

Social Media

Headquarters

SEGGER Microcontroller GmbH

Ecolab-Allee 5
40789 Monheim am Rhein, Germany
info@segger.com
Tel.: +49-2173-99312-0
Fax: +49-2173-99312-28

Locations

USA: SEGGER Microcontroller Systems LLC

Boston area
101 Suffolk Lane
Gardner, MA 01440, USA
us-east@segger.com
Tel.: +1-978-874-0299
Fax: +1-978-874-0599

Silicon Valley
Milpitas, CA 95035, USA
us-west@segger.com
Tel.: +1-408-767-4068

China: SEGGER Microcontroller China Co., Ltd.

Room 218, Block A, Dahongqiaoguoji
No. 133 Xiulian Road
Minhang District, Shanghai 201199, China
china@segger.com
Tel.: +86-133-619-907-60

ISO 9001 certified

ISO 9001

30+ years of experience

First-class embedded software tools since 1992
  • Imprint
  • Disclaimer
  • Privacy Policy

© 2023 SEGGER - All rights reserved.