User`s manual

SuperH Family E10A-USB Emulator Section 2 Software Specifications when Using the SH7752
R20UT2163EJ0200 Rev. 2.00 Page 30 of 43
May 23, 2013
Notes on AUD Trace:
1. When the trace display is performed during user program execution, the mnemonics, operands,
or source is not displayed.
2. The AUD branch trace function outputs the differences between newly output branch source
addresses and previously output branch source addresses. The window trace function outputs
the differences between newly output addresses and previously output addresses. If the
previously output address is the same as the upper 16 bits, the lower 16 bits are output. If it
matches the upper 24 bits, the lower 8 bits are output. If it matches the upper 28 bits, the lower
4 bits are output.
The emulator regenerates the 32-bit address from these differences and displays it in the
[Trace] window. If the emulator cannot display the 32-bit address, it displays the difference
from the previously displayed 32-bit address.
3. If the 32-bit address cannot be displayed, the source line is not displayed.
4. In the emulator, when multiple loops are performed to reduce the number of AUD trace
displays, only the IP counts up.
5. In the emulator, the maximum number of trace displays is 65534 lines (32767 branches).
However, the maximum number of trace displays differs according to the AUD trace
information to be output. Therefore, the above pointers cannot be always acquired.
6. The AUD trace acquisition is not available when [User] is selected in the [UBC mode] list box
of the [Configuration] dialog box. In this case, close the [Trace] window.
7. If a completion-type exception occurs during exception branch acquisition, the next address to
the address in which an exception occurs is acquired.
8. Do not specify a window-address and system-bus conditions for tracing at the same time.
Memory Output Trace Functions: This function is activated by selecting the [Use Memory
trace] radio button in the [Trace type] group box of the [Trace mode] page.
In this function, write the trace data in the specified user memory range.
Specify the start address to output a trace for the [Start] edit box in the [User memory area] group
box, and the end address for the [End Address] edit box. Set the trace condition to be used.
Table 2.9 shows the memory-output trace acquisition mode that can be set in each trace function.
Table 2.9 Memory-Output Trace Acquisition Mode
Type Mode Description
Continuous
trace occurs
Realtime trace 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.
Non realtime trace 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.
Trace buffer
full
Trace continue This function overwrites the oldest trace information to store
the latest trace information.
Trace stop After the trace buffer becomes full, the trace information is no
longer acquired. The user program is continuously executed.