Renesas SH7210 Series Uživatelský manuál Strana 66

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 90
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 65
60
Using the Event Condition restricts the condition; the following three items are set as the internal
trace conditions.
Table 3.13 Trace Conditions of the Internal Trace
Item Acquisition Information
Trace halt Acquires the internal trace until the Event Condition is satisfied. (The
trace content is displayed in the [Trace] window after a trace has been
halted. No break occurs in the user program.)
Trace acquisition Acquires only the data access where the Event Condition is satisfied.
Point-to-point Traces the period from the satisfaction of Event Condition 5 to the
satisfaction of Event Condition 4.
To restrict trace acquisition to access 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 the Event Condition should be
acquired by setting the [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 4] dialog box.
Zobrazit stránku 65
1 2 ... 61 62 63 64 65 66 67 68 69 70 71 ... 89 90

Komentáře k této Příručce

Žádné komentáře