Fujitsu SOFTUNE F2 MC-16 User Manual page 182

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
■ Trace Filter
To make effective use of the limited trace buffer capacity, in addition to the code fetch function, a trace filter
function is incorporated to provide a means of acquiring information about data accesses to a specific region.
The data trace filter function allows the following values to be specified for two regions:
- Address
- Address mask
- Access attribute (read/write)
Another function can be used so that sampling of redundant frames occupying two or more trace frames, such
as SLEEP and READY, can be reduced to sampling of one frame.
■ Trace Trigger Setup
When preselected conditions are met during MCU bus operation monitoring, a trigger for starting a trace can
be generated. This function is called a trace trigger.
For the use of the trace trigger function, specify the code (/CODE) and data access (/READ/WRITE).
Up to 8 trace triggers can be preset each for code attribute and data access attribute. However, actually, the
maximum number of trace triggers is determined as indicated below because the common hardware is used
with events.
Current trace trigger maximum constant
For the trace trigger setup conditions that can be defined, see Table 2.3-4.
For trace trigger setup, use the following commands:
- SET TRACETRIGGER :
- CANCEL TRACETRIGGER :
- SHOW TRACE/STATUS :
Figure 2.3-3 shows a trace sampling operation.
168
Figure 2.3-2 Frame Numbering at Tracing
= 8 - (current data monitoring break count setting + current event count setting)
Sets trace trigger
Deletes trace trigger
Displays trace setup status
.
.
.
.
-3
-2
-1
0 (Trigger point)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents