Epson S5U1C63000A User Manual page 168

Cmos 4-bit single chip microcomputer manual
Table of Contents

Advertisement

CHAPTER 8: DEBUGGER
(3) Address-area trace
In this mode, trace information is taken into the trace memory only when instructions within (or
outside) a specified address range are executed. This address range can be set in up to four locations
by the tm command. Whether you want trace to be performed within or outside that address range
can also be specified by a command.
Trace trigger address
The tm command sets a trace trigger address regardless of the trace mode specified. When the
[Source] window is open, the address thus set is marked by a "T" at the beginning of the address.
When the program executes that address, the ICE outputs a low-level pulse from its TRGOUT pin.
Displaying and searching trace information
The sampled trace information can be displayed in the [Trace] window by a command. If the [Trace]
window is closed, the information is displayed in the [Command] window. In the [Trace] window, the
entire trace memory data can be seen by scrolling the window. The trace information can be displayed
beginning from a specified cycle.
The display contents are as described above.
It is possible to specify a search condition and display the trace information that matches a specified
condition.
The search condition can be selected from the following three:
1. Program's execution address
2. Address from which data is read
3. Address to which data is written
When the above condition and one address are specified, the system starts searching. When the trace
information that matches the specified condition is found, the system displays the found data in the
[Trace] window (or in the [Command] window if the [Trace] window is closed).
Saving trace information
After the trace information is displayed in the [Trace] window using the td or ts commands, the trace
information within the specified range can be saved to a file.
154
Table 8.8.6.2 Command/menu item to display trace information
Function
Display trace information
Table 8.8.6.3 Command/menu item to search trace information
Function
Search trace information
Table 8.8.6.4 Command/menu item to save trace information
Function
Save trace information
Command
Menu
td
[View | Trace]
Command
Menu
ts
[Trace | Trace Search...]
Command
Menu
tf
[Trace | Trace File...]
EPSON
(S1C63 FAMILY ASSEMBLER PACKAGE)
S5U1C63000A MANUAL

Advertisement

Table of Contents
loading

Table of Contents