User`s manual
SuperH Family E10A-USB Emulator Section 2 Emulator Functions
R20UT0870EJ1000 Rev. 10.00 Page 10 of 292
Aug 10, 2012
2.2.2 AUD Trace Function
This is the large-capacity trace function that is enabled when the AUD pins are connected to the
emulator. When an event that starts trace acquisition occurs, the trace information is output in
realtime from the AUD pins. This function is only available on the E10A-USB emulator with
model name HS0005KCU02H.
Counting each set of a branch source instruction and branch destination instruction as one branch,
the maximum amount of information acquired by a trace is 32,767.
(1) Trace acquisition event
The following events can be acquired by the AUD trace function.
(a) Branch generation information
The branch source and branch destination addresses are acquired.
(b) Memory access information within the specified range
Memory access in the specified range can be acquired by trace.
Two memory ranges can be specified for channels A or B. The read, write, or read/write cycle
can be selected as the bus cycle for trace acquisition.
This function is called the window trace function.
(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.
Notes: 1. This function cannot be supported with some versions of the SHC/C++ compiler.
Since the supported version differs depending on the device to be debugged, refer to
section 2.2.2, Trace Functions, in the additional document, Supplementary Information
on Using the SHxxxx.
2. 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.










