Reading Trace Data On-The-Fly; Reading Trace Data On-The-Fly In Single Trace - 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

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]
en/dis
buffer full
sampling
en/dis
buffer ful
sampling
frame no.
step no.
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.
>GO
>>SHOW TRACE/STATUS
= enable
= nobreak
= on
>>SHOW TRACE/STATUS
= enable
= nobreak
= end
= -00805 to
= -00262 to
>>SHOW TRACE -52
address
: FF0125
: 000186
: 1010D6
: 000186
.
CHAPTER 2 DEPENDENCE FUNCTIONS
<- Trace sampling continues.
<- Trace sampling ends.
00000
00000
mnemonic
LINK
#02
internal read access.
external write access.
internal write access.
.
level
1
10E6
1
10E6
1
10D6
1
119

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents