Renesas SH7200 Series Network Card User Manual


 
30
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: Disable [Acquire Break] and set [Acquire Trace] for [Stop].
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] and [Data access] 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: Disable [Acquire Break] and set [Acquire Trace] for [Condition].
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.