Renesas SuperH HS0720KCU01HE User Manual

Page 37

Advertising
background image

31

Notes on Internal Trace:

• Timestamp

The timestamp is the clock counts of B

φ (48-bit counter). Table 2.12 shows the timing for

acquiring the timestamp.

Table 2.12 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

• Point-to-point

The trace-start condition is satisfied when the specified instruction has been fetched.
Accordingly, if the trace-start condition has been set for the overrun-fetched instruction (an
instruction that is not executed although it has been fetched at a branch or transition to an
interrupt), tracing is started during overrun-fetching of the instruction. However, when
overrun-fetching is achieved (a branch is completed), tracing is automatically suspended.
If the start and end conditions are satisfied closely, trace information will not be acquired
correctly.
The execution cycle of the instruction fetched before the start condition is satisfied may be
traced.
When the I-bus is acquired, do not specify point-to-point.
Memory access may not be acquired by the internal trace if it occurs at several instructions
immediately before satisfaction of the point-to-point end condition.

• Halting a trace

Do not set the trace end condition for the sleep instruction and the branch instruction that the
delay slot becomes the sleep instruction.

Advertising