Reading Trace Data On-The-Fly - Fujitsu SOFTUNE F2 MC-16 User Manual

Software for developing programs for the f2 mc-16 family of microprocessors / microcontrollers
Hide thumbs Also See for SOFTUNE F2 MC-16:
Table of Contents

Advertisement

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
buffer ful
sampling
code
verbose
>>SHOW TRACE/STATUS
en/dis
buffer full = nobreak
sampling
code
verbose
frame no.
>>SHOW TRACE -52
step no.
sort_val:
-00655
-00651
-00648
-00645
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.
182
= enable
= nobreak
= on
<- Trace sampling continues.
: enable
: disable
= enable
= end
<- Trace sampling ends.
: enable
: disable
= -00805 to
00000
address
mnemonic
: FF00D2
LINK
: 018253
external
: 013254
external
: 000186
internal
.
#0E
read access.
read access.
write access.
.
.
time stamp
625
81
500
81
625
0000
625

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents