Skip to main content
Application NoteNxp

How to Enable ETM Trace for i.MXRT10xx Series

Guide for enabling Embedded Trace Macrocell (ETM) high-speed trace functionality on i.MXRT10xx series MCUs using TRACE32 debuggers and IAR Embedded Workbench.

View application note

Overview

This application note provides technical instructions for enabling ETM (Embedded Trace Macrocell) high-speed trace on NXP i.MXRT10xx microcontrollers, including the i.MXRT1010, i.MXRT1020, and i.MXRT1050. It details hardware modifications for validation boards, including specific resistor soldering requirements for JTAG and trace signal lines. The document explains how to configure Lauterbach TRACE32 software, generate compatible .elf files using IAR, and create .cmm scripts to initialize PinMux settings, clocks, and TPIU ports. Additionally, it covers advanced debugging features such as signal integrity analysis using Trace.ShowFocus and program execution tracking with timing diagrams.

Use Cases

  • High-speed real-time software debugging
  • Complex system troubleshooting
  • Code profiling and performance analysis
  • Trace port signal integrity verification

Topics

NXP
i.MXRT10xx
ETM Trace
TRACE32
Lauterbach
uTrace
MIMXRT1010
MIMXRT1050
MIMXRT1020
Embedded Trace Macrocell
Debugging
JTAG

Referenced Parts

MIMXRT1010

NXP

Taking SDK_2.6.1_EVK-MIMX RT1010 as an example, to generate an application, perform the following operations.

i.MXRT1020

NXP

i.MXRT1020 validation board: 1. Program efuse to change the debugging mode to JTAG. 2. Welding Trace related resistance...

IMXRT1050

NXP

i.MXRT1050 validation board: 1. Program efuse to change the debugging mode to JTAG. 2. Welding Trace-related resistance...

How to Enable ETM Trace for i.MXRT10xx Series | Design Resources