User`s manual
SuperH™ Family E10A-USB Emulator Section 2 Software Specifications when Using the Emulator
R20UT2188EJ0100 Rev. 1.00 Page 18 of 24
Aug 09, 2012
To restrict trace acquisition to access for only a specific address or specific function of a program,
an Event Condition can be used. Typical examples are described below.
• Example of halting a trace with a write access (M-bus) to H’FFF80000 by the user program as
a condition (trace halt):
Set the condition to be acquired on [I-Trace mode].
Set the following in the [Event Condition 1] or [Event Condition 2] dialog box:
Address condition: Set [Address] and H’FFF80000.
Bus state condition: Set [M-Bus] and [Write].
Action condition: Deselect the [Acquire Break] checkbox and select [Stop] from the
[Acquire Trace] list box.
• Example of acquiring the write access (M-bus) only to H’FFF80000 by the user program (trace
acquisition condition):
Select [M-Bus & Branch] from [Type] and enable [Write] on [Acquisition].
Set the following in the [Event Condition 1] or [Event Condition 2] dialog box:
Address condition: Set [Address] and H’FFF80000.
Bus state condition: Set [M-Bus] and [Write].
Action condition: Deselect the [Acquire Break] checkbox and select [Condition] from the
[Acquire Trace] list box.
For the trace acquisition condition, the condition to be acquired by Event Condition should be
acquired by [I-Trace mode].
• Example of acquiring a trace for the period while the program passes H’1000 through H’2000
(point-to-point):
Set the condition to be acquired on [I-Trace mode].
Set the address condition as H’1000 in the [Event Condition 5] dialog box.
Set the address condition as H’2000 in the [Event Condition 4] dialog box.
Set [I-Trace] as [Ch5 to Ch4 PtoP] in the [Combination action (Sequential or PtoP)] dialog
box.
When point-to-point and trace acquisition condition are set simultaneously, they are ANDed.
(2) Notes on Internal Trace
• Timestamp
The timestamp is the clock counts of Pφ (48-bit counter). Table 2.11 shows the timing for
acquiring the timestamp.
Table 2.11 Timing for the Timestamp Acquisition
Item Acquisition Information Counter Value Stored in the Trace Memory
M-bus data access Counter value when data access (read or write) has
been completed
Branch Counter value when the next bus cycle has been
completed after a branch
I-bus Fetch Counter value when a fetch has been completed
Data access Counter value when data access has been completed
F-bus Fetch Counter value when a fetch has been completed










