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

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 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.
[Example]
>GO
>>SHOW TRACE/STATUS
en/dis
buffer full
sampling
>>SHOW TRACE/STATUS
en/dis
buffer full
sampling
frame no.
step no.
>>SHOW TRACE -52
step no.
\sub5:
-00052
-00051
-00050
-00049
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.
230
= enable
= nobreak
= on
= enable
= nobreak
= end
= -00805 to
00000
= -00262 to
00000
address
mnemonic
: FF0125
LINK
: 000186
internal
: 1010D6
external
: 000186
internal
<- Trace sampling continues.
<- Trace sampling ends.
#02
1
read access.
10E6
write access.
10E6
write access.
10D6
level
1
1
1

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents