Epson S5U1C63000A User Manual

Page 168

Advertising
background image

CHAPTER 8: DEBUGGER

154

EPSON

S5U1C63000A MANUAL

(S1C63 FAMILY ASSEMBLER PACKAGE)

(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.

Table 8.8.6.2 Command/menu item to display trace information

Function

Command

Menu

Display trace information

td

[View | Trace]

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).

Table 8.8.6.3 Command/menu item to search trace information

Function

Command

Menu

Search trace information

ts

[Trace | Trace Search...]

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.

Table 8.8.6.4 Command/menu item to save trace information

Function

Command

Menu

Save trace information

tf

[Trace | Trace File...]

Advertising