Ts (trace search), 16 command file – Epson S5U1C63000A User Manual

Page 233

Advertising
background image

CHAPTER 8: DEBUGGER

S5U1C63000A MANUAL

EPSON

219

(S1C63 FAMILY ASSEMBLER PACKAGE)

ts

(trace search)

Function

This command searches trace information from the trace memory under a specified condition. The
search condition can be selected from three available conditions:

1. Search by executed address

In this mode, you can specify a program memory address. The debugger searches the cycle in

which the specified address is executed.

2. Search for a specified memory read cycle

In this mode, you can specify a data memory address. The debugger searches the cycle in which

data is read from the specified address.

3. Search for a specified memory write cycle

In this mode, you can specify a data memory address. The debugger searches the cycle in which
data is written to the specified address.

Format

(1) >ts <option> <address>

(direct input mode)

(2) >ts

(guidance mode)

1. pc address 2. data read address 3. data write address ...? <1 | 2 | 3>

Search address ?: <address>

(Search result is displayed)

>

<option>:

Condition type (program address, data read address or data write address); pc/dr/dw

<address>: Search address; hexadecimal or symbol (IEEE-695 format only)

Display

The search results are displayed in the [Trace] window if it is opened; otherwise, the results are
displayed in the [Command] window in the same way as for the td command.

Format (1)

>ts pc 116

Trace searching ... Done!
trace fetch fetch register flag data trace
cycle addr code disasm A B X Y EICZ addr data SP in
00010 0116 08FE ldb %ext,0xfe F 1 0007 AAAA 0000 ---- --
>

Format (2)

>ts

1.pc address 2.data read address 3.data write address ...? 1

Search address ?:116

Trace searching ... Done!
trace fetch fetch register flag data trace
cycle addr code disasm A B X Y EICZ addr data SP in
00010 0116 08FE ldb %ext,0xfe F 1 0007 AAAA 0000 ---- --
>

When command execution results are being output to a log file by the log command, the search
results are displayed in the [Command] window as well as output to the log file even when the
[Trace] window is opened.

Advertising