Setting 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

CHAPTER 2 DEPENDENCE FUNCTIONS
2.5.6.1

Setting Trace

To perform a trace, follow steps (1) to (3) below. When a program is executed after
completion of the following steps, trace data is sampled.
(1) Enable the trace function.
(2) The event and the sequencer are set.
(3) Perform trace buffer full break setup.
■ Setting Trace
To perform a trace, complete the following setup steps. When a program is executed after completion of the
steps, trace data is sampled.
1) Enable the trace function.
Enable the trace function using the ENABLE TRACE command.
To disable the trace function, use the DISABLE TRACE command.
The trace function is enabled by default when the program is launched.
2) Set up the event and the sequencer.
Use of the trace trigger allows control of the trace sampling, making full use of the limited-size trace
buffer. Such setups should be performed on a necessary base.
The trace trigger can specify the start/stop of trace sampling with the trigger hit as the reason.
When the trace trigger is used, setup is performed by inputting the SET TRACE/TRIGGER command.
3) Perform trace buffer full break setup.
A break can be invoked when the trace buffer becomes full.
To perform setup, use the SET TRACE command. This break feature is disabled when the program starts.
To view the setting, use SHOW TRACE/STATUS.
Table 2.5-4 shows trace related commands in single trace.
Table 2.5-4 Trace Related Commands in Single Trace
SET TRACETRIGGER
CANCEL TRACETRIGGER
SHOW TRACETRIGGER
SET TRACE
SHOW TRACE
SEARCH TRACE
ENABLE TRACE
DISABLE TRACE
CLEAR TRACE
258
Available command
Function
Sets up the trace trigger
Deletes the trace trigger
Displays the trace trigger
Sets trace buffer full break
Displays trace data
Searches for trace data
Enables trace function
Disables trace function
Clears trace function

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents