Trace mode has 4 kinds of following mode.
|Mode||Number of frame|
|Internal trace mode (available with DSU3/DSU4)||128 frames|
|External trace mode (available with DSU3/DSU4)||64K frames|
|Real time mode (available with DSU4)||64K frames|
|Full trace mode (available with DSU4)||64K frames|
- Internal trace mode
This mode is stored trace information into memory for trace with chip.
The program is executed with actual time.
- External trace mode
This mode is stored trace information into memory for trace with adapter board. The program is executed with actual time.
- Real time mode
Full real time mode is possible to execute with actual time of program.
However if the program is branched with over 3 times in 11 cycles, a part of trace data may be lacked.
At chip pf DSU3, real time mode is impossible to specify.
And measurement for number of cycle may be occurred error. When number of cycle is measured, please use internal trace mode or external trace mode.
- Full trace mode
Full trace mode is possible to trace all instruction execution without lacking trace data. However if the program is branched with over 3 times in 11 cycles, it may be not operated with actual time, because the collection of trace data is high priority and then it is inserted wait time to MCU.
At chip of DSU3, full trace mode is impossible to specify.
<How to set of trace mode>
Each trace mode is set by MCU operating mode of [Environment] – [Set of debug environment] - [Debug environment] – [Emulation].
Display of debug environment set
<Case of measurement for number of cycle>
When number of cycle is measured, we recommend to measure with internal trace mode of little measurement error. (In order to be less error, the measurement by LOOP execution is very effective.)
If especially it is measured with the combination of MB2198-01+DSU3+SoftuneV5, the error may be appeared so much. Therefore then please use internal trace mode.
For SoftuneV6, please refer the notification for error by [Comment] button of [Time measurement].
Notification item of time measurement (SoftuneV5/V6)
<Case of confirmation for execution Bus>
Full trace mode is effective.
<Set for time stamp>
If Bus trace with directly adapter board on MB2198-01 is performed (MB91350, MB21260 and etc.), time stamp is recorded in trace. If time stamp is recorded, the trace mode is external trace mode.
At next, trace screen with [Display]-[Trace] is displayed, [time stamp] at right side on screen is displayed. The unit of this value is [ns], and the resolution is 25ns. This value is measured by timer in ICE.