Difference between revisions of "Tracing on TI RM57L843"

From SEGGER Wiki
Jump to: navigation, search
(One intermediate revision by the same user not shown)
Line 1: Line 1:
No longer supported due to lacking information and support from TI.
This article describes how to get started with trace on the TI RM57L843 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 TI RM57L843 MCU implements tracing via pins, so a J-Trace can be used for tracing.
= Minimum requirements =
In order to use streaming trace on the TI RM57L843 MCU devices, the following minimum requirements have to be met:
* J-Link software version V6.32b or later
* Ozone V2.56j 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 project is designed to be used with J-Trace PRO and Ozone to demonstrate streaming trace. The project has been tested with the minimum requirements mentioned above and a RM57L HDK eval board. The sample project comes with a pre-configured project file for Ozone that runs out-of-the box. In order to rebuild the sample project, [https://www.segger.com/embedded-studio.html SEGGER Embedded Studio] can be used.
As no native 19-pin Cortex-M trace connector is available on this eval board the project is set to use 1-bit trace only. Should you have all 4-bit available on your target board you can enable them in Ozone under Tools->TraceSettings...->Trace Port Width = 4-bit.
[[Media:TI_RM57L843_TraceExample.zip | TI_RM57L843_TraceExample.zip]]
'''Note:''' The example is shipped with a compiled .JLinkScriptfile, should you need the original source it can be requested at [mailto:support@segger.com support@segger.com]
To create your own .JLinkScriptfile you can use the following project as reference: [https://wiki.segger.com/Tracing_on_ST_STM32F407_(SEGGER_Cortex-M_Trace_Reference_Board) Tracing on SEGGER_Cortex-M_Trace_Reference_Board]
= Specifics/Limitations =
The RM57L HDK only comes with a 60 pin MIPIETM connector which is not supported by J-Trace PRO. So for this setup wires have been soldered to the pins of the connector for a flying wire setup. Signal TCLK is at pin 13 and TD0 at pin 19.
When designing your hardware for trace support we recommend using the 19-pin Cortex-M trace connector which can be directly connected to a J-Trace PRO so no additional hardware modifications are required to get trace running.
'''Note:'''The RM57L843 device series can only output trace clock speeds up to 55 MHz. Due to this limitation this target device can only be traced reliably with CPU clock speeds up to 110 MHz. CPU clock speeds higher than that can lead to overflows on the trace stream on target device side.
= Tested Hardware =
[[File:RM57L_HDK.jpg|left|thumb|RM57L HDK]]

Revision as of 17:54, 16 January 2019

No longer supported due to lacking information and support from TI.