Trace; Tm (Trace Mode Display/Set) - Epson S5U1C63000A User Manual

Cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

CHAPTER 8: DEBUGGER

8.9.14 Trace

tm
(trace mode display/set)
Function
This command sets and displays a trace mode. It allows you to set the following three trace modes
and a trace trigger point (when a specified address is executed, the TRGOUT pin outputs a pulse).
1. Normal trace mode
The data written to the trace memory is always the latest trace information.
2. Single-delay trigger trace mode
One of the following three trace sampling areas can be specified with respect to the trace trigger
point:
• Start:
Trace information is a sample beginning from the trace trigger point.
• Middle: Trace information is a sample from before and after the trace trigger point.
• End:
Trace information is a sample all the way up to the trace trigger point.
3. Address-area trace mode
The execution process is traced as instructions inside or outside a specified address range are
executed. This address range can be specified in up to four locations.
Format
(1) >tm <mode> <trigger> [<option>] [<addr1> <addr2> [ ... <addr7> <addr8>]
(2) >tm
Current type setting
1. normal 2. single delay 3. address area . . . ? <1 | 2 | 3>
Trigger address ? : <trigger>
...... (guidance depends on the above selection, see examples)
>
<mode>:
Trace mode; -n (normal), -s (single delay), or -a (address area)
<trigger>:
Trace trigger address; hexadecimal or symbol (IEEE-695 format only)
<option>:
For single-delay trace mode: s (start) / m (middle) / e (end)
For addres-area trace mode: i (in area) / o (out area)
<addr1–8>:
Address ranges; hexadecimal or symbol (IEEE-695 format only)
Condition:
0
Examples
Format (1)
>tm -n 116
Format (2)
>tm
Normal mode
Trigger Address : 0
1.normal
2.single delay
Trigger address ? :116
>tm
Normal mode
Trigger Address : 0116
1.normal
2.single delay
Trigger address ? :116
1.start
2.middle
>
214
(guidance mode)
trigger, addr1–8
last program memory address
3.address area ...? 1
3.address area ...? 2
3.end ...? 2
... Sets normal trace mode and sets trigger point to 0x0116.
... [1. normal] is selected.
... Trigger address is input.
... [2. single delay] is selected.
... Trigger address is input.
... Trace sampling area is selected.
EPSON
(S1C63 FAMILY ASSEMBLER PACKAGE)
(direct input mode)
S5U1C63000A MANUAL

Advertisement

Table of Contents
loading

Table of Contents