Please enable JavaScript to view this site.

winIDEA Help

Version: 9.26.23

Renesas RH850

In this topic:

•Debug Features

•Debug & Software Trace (SFT) via LPD4

•Debug & Nexus Trace

•LPD Software Trace (SFT)

•Time & Performance Measurement Unit (TPU)

•ADIO & CAN Trace

 

The information provided in this chapter is intended to be used together with the CPU reference manual provided by the silicon vendor. This chapter assumes knowledge of the CPU functionality and the terminology and concepts defined and explained in the CPU reference manual. Basic knowledge of winIDEA is also necessary. This chapter deals with specifics and advanced details and it is not meant as a basic or introductory text.

 

 

Debug Features

•LPD debug interface

•Hardware execution breakpoints

•Hardware data access breakpoints

•Code & Data Flash programming

•Multi-core support

•Real-time memory access

•Flash Option Bytes programming

•Security Function

•Hot Attach

•Stopping peripherals (e.g. Timers) when stopped

•LPD Software Trace (SFT)

•On-chip Trace Buffer (OCTB) support

•Parallel Nexus trace support

•Aurora trace support

 

Click to enlarge

Simplified RH850 Debug/Trace Block Diagram

 

Click to enlarge

Block Diagram of the RH850 Trace Architecture (without Nexus/AURORA Port)

 

 

Debug & Software Trace (SFT) via LPD4

•Basic and compact System

•Debug Access via LPD

•SFT Support via LPD4

•Trace into On-Chip Trace RAM (on “Large Memory” Devices)

•Optional Analog/Digital I/O Module

 

Click to enlarge

 

 

Debug & Nexus Trace

•High-Performance, versatile System

•Debug Access via LPD

•SFT Support via LPD4

•Trace into On-Chip Trace RAM (on “Large Memory” Nexus Trace Port on Emulation Devices

•Optional Add-On Modules:

oADIO Use case Configuration

oCAN/LIN Use case Configuration

•Nexus Trace Streaming: 16-pin MDO, CPU Clock divider, Single- or Double-Data Rate

 

Click to enlarge

 

 

LPD Software Trace (SFT)

SFT is a RH850-specific trace solution based on Code Instrumentation. SFT messages are generated when the CPU executes dedicated instructions, DBCP, DBTAG and DBPUSH. SFT messages can either be stored in an On-Chip trace RAM (if available) or can be streamed out via the LPD4 interface, operating in SFT streaming mode.

 

Click to enlarge

 

 

Time & Performance Measurement Unit (TPU)

•On-Chip Counter Structure to measure Time (Clock Cycles) and Performance Metrics

•Can be controlled (start/stop) by means of Trigger Event Unit (TEU)

•Counter increment by Stop Events or Debug Clock (LPD Clock)

•Optional CPU Break on Counter Threshold and/or Overflow

•Two Sub-Units: Time Measurement & Performance Measurement

 

Example TPU Measurement: Measure run-time of a function "EE_RUN_Runnable_R1"

•Number of Calls

•Min/Max Execution Time per Call

•Accumulated Execution Time (to calculate average Execution Time)

 

Unit 0

Unit 1

Unit 2

Unit 3

Accumulated Execution Time

Minimum Execution Time

Maximum Execution Time

Number of Function Calls

 

RH850-TPU-Measurement-Config

 

 

ADIO & CAN Trace

A trace recording via the Nexus port allows a time correlation with Analog/Digital or CAN/LIN bus signals captured by means of the ADIO and/or CAN/LIN Add-On Module of the iC7max/iC5700 BlueBox.

 

The picture below shows a correlated Nexus Trace and CAN bus recording. The trace was recorded on a Sensor Fusion demonstrator platform, based on RH850/F1H. The profiler timeline shows a combined trace of CAN bus, program flow, hypervisor virtual machines and multiple AUTOSAR OS Tasks.

 

Click to enlarge

 

 

Copyright © 2026 TASKING