8 reading trace data on-the-fly, Reading trace data on-the-fly – FUJITSU SOFTUNE F2 MC-16 User Manual

Page 133

Advertising
background image

119

CHAPTER 2 DEPENDENCE FUNCTIONS

2.2.8.8

Reading Trace Data On-the-fly

Trace data can be read while executing a program. However, this is not possible during
sampling. Disable the trace function or terminate tracing before attempting to read trace
data.

Reading Trace Data On-the-fly in Single Trace

To disable the trace function, use the DISABLE TRACE command. Check whether or not the trace function

is currently enabled by executing the SHOW TRACE command with /STATUS specified, or by using the

built-in variable, %TRCSTAT.

Tracing terminates when the delay count ends after the sequencer has terminated. If Not Break is specified

here, tracing terminates without a break operation. It is possible to check whether or not tracing has

terminated by executing the SHOW TRACE command with /STATUS specified, or by using the built-in

variable, %TRCSAMP.

To read trace data, use the SHOW TRACE command; to search trace data, use the SEARCH TRACE

command. Use the SET DELAY command to set the delay count and break operation after the delay count.

[Example]

>GO

>>SHOW TRACE/STATUS

en/dis

= enable

buffer full

= nobreak

sampling

= on

<- Trace sampling continues.

>>SHOW TRACE/STATUS

en/dis

= enable

buffer ful

= nobreak

sampling

= end

<- Trace sampling ends.

frame no.

= -00805 to

00000

step no.

= -00262 to

00000

>>SHOW TRACE -52

step no.

address

mnemonic

level

\sub5:

-00052

: FF0125

LINK

#02

1

-00051

: 000186

internal read access.

10E6

1

-00050

: 1010D6

external write access.

10E6

1

-00049

: 000186

internal write access.

10D6

1

.

.

.

If the CLEAR TRACE command is executed with the trace ending state, trace data sampling can be re-

executed by re-executing the sequencer from the beginning.

Advertising