Trace Mode; Trace Trigger Point; Coverage Function; Measurement Of Execution Time - Epson S5U1C63000H6 Manual

Cmos 4-bit single chip microcomputer (s1c63 family in-circuit emulator)
Table of Contents

Advertisement

5 OPERaTIOnS anD FUnCTIOnS OF THE S5U1C63000H6

5.8 Trace Mode

There are following three trace modes available in the S5U1C63000H6.
(1) all bus cycle trace mode
In this trace mode, all bus cycles are traced during run emulation and step emulation until a break occurs.
(2) Specified program counter range trace mode
In this mode, bus cycles within the specified range (or outside the specified range) are traced during run emu-
lation and step emulation until a break occurs. This function is useful for cases of tracing objective work data
only or removing an WAIT routine from the trace.
(3) Single delay trigger
In this mode, starting a run emulation starts tracing for all bus cycles. When the emulation hit the trace trigger
condition, the trace continues for the specified number of bus cycles, and then it stops. The trace information is
displayed after a break occurs.
In the debugger, one of the above modes can be selected by the TM command.

5.9 Trace Trigger Point

In the S5U1C63000H6, a trace trigger point can be specified independent of break points. The trace trigger point is
specified as the program counter conditions of the S1C63000 CPU. A low level pulse is output from the TRGOUT
terminal with the timing of T3 upon coincidence of the specified value and the program counter. The information of
the trace trigger point is also stored into the trace memory. In the single delay trigger mode, the trace trigger point
becomes a condition for stopping the trace.

5.10 Coverage Function

The S5U1C63000H6 can retrieve and display the address information of the program accessed at the execution.
The confirmation of portions whether failure analysis or debugging is completed or not can be done by checking
the program through reference of the coverage information after running the program for a long time. This function
is specified by the CV or CVC command.

5.11 Measurement of Execution Time

The S5U1C63000H6 has a function to measure the time from start to break of the target program or to count the
number of bus cycles. This function is set by the MD command.
(1) Time measurement mode
• Range of time measurement
-1) µs (≈ 2,147 seconds ≈ 36 minutes)
1 µs to 1*(2
31
• Measurement error
±1 µs
• Units of time display
Micro second (µs) units
(2) Bus cycle count mode
• Range of cycle measurement
1 bus cycle to (2
31
-1) bus cycles (= 2*10
• Measurement error
0 cycles
12
9
bus cycles)
EPSOn
S5U1C63000H6 ManUal
(S1C63 Family In-Circuit Emulator)

Advertisement

Table of Contents
loading

Table of Contents