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

Page 196

Advertising
background image

182

CHAPTER 2 DEPENDENCE FUNCTIONS

2.3.6.7

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

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 ful

= nobreak

sampling

= on

<- Trace sampling continues.

code

: enable

verbose

: disable

>>SHOW TRACE/STATUS

en/dis

= enable

buffer full = nobreak

sampling

= end

<- Trace sampling ends.

code

: enable

verbose

: disable

frame no.

= -00805 to

00000

>>SHOW TRACE -52

step no.

address

mnemonic

time stamp

sort_val:

-00655

: FF00D2

LINK

#0E

625

-00651

: 018253

external

read access.

81

500

-00648

: 013254

external

read access.

81

625

-00645

: 000186

internal

write access.

0000

625

.

.

.

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