Trace - Fujitsu SOFTUNE User Manual

Fr family softune workbench
Table of Contents

Advertisement

CHAPTER2 Dependence Functions
2.3.7

Trace

This section describes the trace function of the emulator debugger (MB2198).
The program execution history can be analyzed in detail using the data recorded by
trace.
■ Trace Buffer
One data unit stored in the trace buffer is called a frame.
Table 2.3-6
Table 2.3-6 Number of frames in emulator debugger (MB2198) trace buffer
MCU operation mode
Full trace
Real time
Internal trace
External trace
The trace buffer is in the form of a ring. When it becomes full, it records the next data by automatically
overwriting the oldest buffered data.
■ Trace Data
Data sampled by the trace function is called trace data.
The following data are sampled:
• Address (32 bits)
• Data (32-bit; during data access only)
• Status Information
- Data type: Instruction execution/read/write
- Access data size (during data access only): Word/halfword/byte
• Access status Size: Read/write/code
• Execution time difference from next frame (in 25 ns increments)
- This data is available only when an evaluation chip with the external trace bus interface is used with
the external trace mode.
However, actually, the trace buffer stores the following data items:
- Code execution: Only address information for time before and after branching
- Data access:
128
shows the trace buffer capacity for each operation mode.
DSU3
64Kbyte
64Kbyte
64 to 512 frames
65536 frames
Only information for access to address range specified by trace filter function
DSU4
256Kbyte
256Kbyte
64 to 512 frames
Varies depending on the
evaluation chip used.
65536 frames
Remarks

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents