Software Tracing Function - Renesas IE850A User Manual

Hide thumbs Also See for IE850A:
Table of Contents

Advertisement

E2, IE850A
4.2

Software tracing function

Devices of the RH850 family support debugging instructions for the output of software trace data. Table 4-3
shows the output destinations of software trace data and supported emulators.
Table 4-3
Software Tracing and Supported Emulators
Output Destination of Software Trace Data
Internal trace memory (trace RAM of the target device)
External tracing (Aurora tracing) interface
LPD output
Unlike conventional tracing, the software tracing function does not cater for the setting of events or conditions
so that trace data are output when the settings match the results of program execution; instead, this function
helps the user to embed debugging instructions in the program to be executed as checkpoints or for the
purpose of the output of specific information or register values and output of the history execution as trace
data. Make use of this function as a new way of debugging.
The E2 emulator provides trace data for display and supports LPD output. We also provide several types of
helpful solution functions for the E2. For details, refer to the relevant application notes on the following Web
site.
https://www.renesas.com/us/en/products/software-tools/tools/emulator/e2.html
For details of the debugging instructions and the numbers of clock cycles required to execute them, refer to
the RH850 User's Manual: Debugging Instructions. Table 4-4 gives an overview of these instructions.
Note that the debugging instructions embedded in a program do not affect the CPU internally and there is no
output of software trace data unless an emulator is connected.
Table 4-4
Debugging Instructions for Software Tracing
Debugging Instruction
DBCP
DBTAG imm10
DBPUSH rh-rt
(General-purpose registers are
specified as rh ≤ rt (in ascending
order).)
R20UT4140EJ0300 Rev.3.00
Oct.09.20
E2 emulator and IE850A
IE850A
E2 emulator
Outputs the current PC value as software trace data.
Outputs a 10-bit immediate (imm10) value as software trace data.
Output of the PC value is also selectable.
Outputs the register numbers and values of general-purpose registers from rh
to rt as software trace data.
Output of the PC value is also selectable.
4. Functional overview
Supported Emulator
Function
Page 23 of 41

Advertisement

Table of Contents
loading

Table of Contents