CHAPTER 8: DEBUGGER
S5U1C63000A MANUAL
EPSON
153
(S1C63 FAMILY ASSEMBLER PACKAGE)
(1) Normal trace mode
In this mode, the trace information on all bus cycles is taken into the trace memory during program
execution. Therefore, until a break occurs, the trace memory always contains the latest information on
bus cycles up to the one that is executed immediately beforehand.
(2) Single delay trigger trace mode
In this mode as in other modes, trace is initiated by a start of program execution. When the address
(trace trigger point) that is set by the tm command is executed, trace is performed beginning from that
point before being halted according to the next setting, which is also set by the command.
• If the trace trigger point is set to "start"
Trance is halted after sampling trace information for 8,192 cycles beginning from the trace trigger
point. In this case, the trace information at the trace trigger point is the oldest information stored
in the trace memory.
If the program stops before tracing all 8,192 cycles, trace information on some cycles preceding the
trace trigger point may be left in the trace memory within its capacity.
Execution started
Trace trigger point
Trace sampling range
8,192 cycles
Fig. 8.8.6.1 Trace range when "start" is selected
• If the trace trigger point is set to "middle"
Trace is halted after sampling trace information for 4,096 cycles beginning from the trace trigger
point. In this case, the trace information of 4,096 cycles before and after the trace trigger point are
sampled into the trace memory.
If the program stops before tracing all 4,096 cycles, trace information for the location 4,096 cycles
before the trace trigger point may be left in the trace memory, according to its capacity.
Execution started
Trace trigger point
Trace sampling range
(4,096 cycles)
4,096 cycles
Fig. 8.8.6.2 Trace range when "middle" is selected
• If the trace trigger point is set to "end"
Trace is halted after sampling trace information at the trace trigger point. In this case, the trace
information at the trace trigger point is the latest information stored in the trace memory.
If the program stops before tracing the trace trigger point, the system operates in the same way as
in normal mode.
Execution started
Trace trigger point
Trace sampling range
8,192 cycles
Fig. 8.8.6.3 Trace range when "end" is selected
If the program is halted in the middle of single delay trigger trace, bus cycles are traced from the
beginning when trace is executed next.
Trace modes
Three trace modes are available, depending on the method for sampling trace information.
Table 8.8.6.1 Trace mode setup command
Function
Command
Menu
Set trace mode
tm
[Trace | Trace Mode Set...]
Summary of Contents for S5U1C63000A
Page 4: ......
Page 14: ......
Page 304: ......
Page 305: ...S1C63 Family Assembler Package Quick Reference ...