Download Print this page

Renesas HS0005KCU04HE User Manual page 31

Multi-core emulator

Advertisement

(c)
Software trace
When a specific instruction is executed, the PC value at execution and the contents of one
general register are acquired by trace. Describe the Trace(x) function (x is a variable name) to
be compiled and linked beforehand. For details, refer to the SHC/C++ compiler manual.
When the load module is loaded on the emulator and a valid software trace function is
executed, the PC value that has executed the Trace(x) function, the variable for x, and the
source lines are displayed.
Note: The types of events acquired by a trace differ depending on the product. For details on the
specifications of each product, refer to the online help.
(2) Trace acquisition mode
The AUD trace function has the following modes to acquire a trace.
Table 2.2 shows the AUD trace acquisition mode that can be set in each trace function.
Table 2.2 AUD Trace Acquisition Mode
Type
Mode
Continuous
Realtime trace
trace occurs
Non realtime
trace
Trace buffer
Trace continue
full
Trace stop
Description
When the next branch occurs while the trace information is
being output, all the information may not be output. The user
program can be executed in realtime, but some trace
information will be lost.
When the next branch occurs while the trace information is
being output, the CPU stops operations until the information
is output. The user program is not executed in realtime.
This function overwrites the latest trace information to store
the oldest trace information.
After the trace buffer becomes full, the trace information is no
longer acquired. The user program is continuously executed.
Section 2 Emulator Functions
Rev. 1.00 Nov. 26, 2007 Page 11 of 230
REJ10J1766-0100

Advertisement

loading

This manual is also suitable for:

Superh e10a-usb