Trace Function; Counts Of The Execution Counter - Epson S5U1C33001H1400 Manual

In-circuit debugger for s1c33 series microcomputers
Table of Contents

Advertisement

(2) Break functions that suspend the target program after several instructions are executed
For details on break functions, refer to the "Debugger" section in the "S5U1C33001C
Manual (C Compiler Package for S1C33 Family)".
10.1.5

Trace function

Note that the trace function in the S5U1C33001H has the following restrictions.
Furthermore, refer to the technical information of the trace function ("Implementation of
the PC Trace Function" and "Implementation of the Bus Trace Function").
(1) The S5U1C33001H PC trace function can trace only instruction execution cycle
(2) Be aware that the trace function cannot be used when it is disabled using the DIP
(3) There are certain functional limitations to the PC trace function that are due to the
(4) Be aware that the trace function cannot be used when using the 4-pin cable to connect
(5) Be aware that the bus trace function cannot be used when using the 10-pin cable to
10.1.6

Counts of the execution counter

The S5U1C33001H's execution counter is normally subject to the errors shown in the table
below. These errors must be taken into account when calculating execution times.
Note that execution and break overhead adds the prefetch cycles for two additional
instructions, making the counters usable for only relatively long intervals. For short
intervals, use the clock cycle counts from the trace function.
Execution counter
Cycle counter
μs-unit time counter
Second-unit time counter
S1C33 Family In-Circuit Debugger
S5U1C33001H1400 Manual (Rev. 0.20)
from the instruction in which the cause of the break occurred
Data break, area break, bus break
information. Note that data access (read/write) information cannot be traced. When the
target system uses the S1C33 model in which a C33 core that supports the bus trace
function is embedded, data read/write information can be traced.
switch. For enabling/disabling the trace function using the DIP switch, refer to "Trace
function setting" in the "DIP Switches" section.
analysis procedure being implemented in software. Refer to "Implementation of the
PC Trace Function" section and the "S5U1C33001C Manual (C Compiler Package for
S1C33 Family)" for more information.
the target system to the S5U1C33001H.
connect the target system to the S5U1C33001H.
Table 7 Execution counter error
EPSON
10. PRECAUTIONS
Count error
±4 bus clock cycles
±50 ns
±1 μs
33

Advertisement

Table of Contents
loading

Table of Contents