Using Trace with Eclipse Plugin
IAR EWARMs C-SPY Plugin can be used to show Trace data in Eclipse.
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
Importing an IAR EWARM Project to Eclipse
- 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