Difference between revisions of "Tracing on NXP iMX RT685S"

From SEGGER Wiki
Jump to: navigation, search
(Streaming trace)
m
Line 2: Line 2:
   
 
This article describes how to get started with trace on the NXP iMX RT600 MCU. This article assumes that there is already a basic knowledge about trace in general (what is trace, what different implementations of trace are there, etc.). If this is not the case, we recommend to read '''Trace''' chapter in the J-Link User Manual (UM08001).
 
This article describes how to get started with trace on the NXP iMX RT600 MCU. This article assumes that there is already a basic knowledge about trace in general (what is trace, what different implementations of trace are there, etc.). If this is not the case, we recommend to read '''Trace''' chapter in the J-Link User Manual (UM08001).
The NXP iMX RT1050MCU implements tracing via pins, so a J-Trace can be used for tracing.
+
The NXP iMX RT600 MCU implements tracing via pins, so a J-Trace can be used for tracing.
   
 
= Minimum requirements =
 
= Minimum requirements =

Revision as of 02:40, 4 February 2020

This article describes how to get started with trace on the NXP iMX RT600 MCU. This article assumes that there is already a basic knowledge about trace in general (what is trace, what different implementations of trace are there, etc.). If this is not the case, we recommend to read Trace chapter in the J-Link User Manual (UM08001). The NXP iMX RT600 MCU implements tracing via pins, so a J-Trace can be used for tracing.

Minimum requirements

In order to use trace on the NXP iMX RT600 MCU devices, the following minimum requirements have to be met:

  • J-Link software version V6.45e or later
  • Ozone V2.62a or later (if streaming trace and / or the sample project from below shall be used)
  • J-Trace PRO for Cortex-M HW version V1.0 or later

Sample project

Streaming trace

The following sample projects are designed to be used with J-Trace PRO and Ozone to demonstrate streaming trace. The projects have been tested with the minimum requirements mentioned above an eval board with trace pins connected is not available at this time. The sample projects come with a pre-configured project file for Ozone that runs out-of-the box. In order to rebuild the sample projects, SEGGER Embedded Studio can be used.

The following example project is generic without any PLL init and can be used with any iMX RT 685 device: NXP_iMXRT685_Trace_Example.zip

Note: The examples are shipped with a compiled .JLinkScriptfile, should you need the original source it can be requested at support@segger.com

How to create your own JLinkScript is explained here: https://wiki.segger.com/How_to_configure_JLinkScript_files_to_enable_tracing

Additionally as currently there are no eval boards available for this particular device as a reference design, make sure to take certain design considerations into account. Try to design the trace lanes as short as possible and make them approximately the same length from MCU to trace header. Do not connect any party to the trace lanes that might impact the timing behaviour of high frequency signals (capacitors, diodes or inductors). A recommend design reference are our Trace Reference Boards.