Tracing on Renesas Synergy R7FS5D5

From SEGGER Wiki
Jump to: navigation, search

This article describes how to get started with trace on the Renesas Synergy R7FS5D5 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 Renesas Synergy R7FS5D5 MCU implements tracing via pins , so a J-Trace can be used for tracing.

Minimum requirements

In order to use trace on the Renesas Synergy R7FS5D5 devices, the following minimum requirements have to be met:

  • J-Link software version V6.40 or later
  • Ozone V2.60h 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 projects

ETB

The following sample project is designed to be used with any J-Link or J-Trace debug probe and Ozone to demonstrate ETB trace. The project has been tested with the minimum requirements mentioned above on a Synergy TB-S5D5 equipped with a R7FS5D5 MCU. 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, SEGGER Embedded Studio can be used.

Renesas_Synergy_S5D5_ETB_Trace.zip

Note: The ETB does not support streaming trace.

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 Synergy TB-S5D5 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, SEGGER Embedded Studio can be used.

Note: As the evaluation board does not have trace pins connected by default, modifications had to be applied to the board, to make trace available. In this case a flying wire setup with 1-bit trace configured has been used.

Renesas_Synergy_S5D5_Trace_Example.zip

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

To create your own .JLinkScriptfile you can use the following project as reference: Tracing on SEGGER_Cortex-M_Trace_Reference_Board

Tested Hardware

Synergy TB-S5D5