Viewing The Trace Information; Opening The [Trace] Window; Acquiring Trace Information - Renesas H8 Series User Manual

Microcomputer development environment system
Hide thumbs Also See for H8 Series:
Table of Contents

Advertisement

5.8

Viewing the Trace Information

The emulator acquires the results of each instruction execution into the trace buffer as trace information and
displays it in the [Trace] window. The conditions for the trace information acquisition can be specified in the
[Trace Acquisition] dialog box.
Since trace information in bus-cycles is acquired by the hardware circuit and stored in the trace buffer, the
realtime operation is retained. The [Trace] window displays the content of the trace buffer, which records up to
32,768 bus cycles from the last program run and is always updated.
5.8.1

Opening the [Trace] Window

To open the [Trace] window, choose [View -> Code -> Trace] or click the [Trace] toolbar button (
5.8.2

Acquiring Trace Information

When the emulator does not set the acquisition condition of the trace information, all bus cycles are acquired by
default without any condition (free trace mode).
In the free trace mode, trace acquisition is started with the execution of the user program and stopped by halting
the user program. The acquired trace information is displayed in the [Trace] window.
This window displays the following trace information items:
[PTR]:
[Address]:
[Instruction]:
[Data]:
[R/W]:
[Area]:
74
Figure 5.29 [Trace] Window
Cycle number in the trace buffer. When the most recent record is record 0, earlier
record numbers go backwards (-1, -2, ...). If a delay count has been set, the cycle
number where the trace stop condition has been satisfied is record 0. For the cycle
(during delay) executed until the trace has stopped, earlier record numbers go forward
(+1, +2, ...) the most recent record.
Address (6-digit hexadecimal)
Disassembled code of the executed instruction
Data bus value, displayed as 2-digit or 4-digit hexadecimal
Whether access was read (RD) or write (WR)
Memory area being accessed; ROM, RAM, 8- or 16-bit I/O, 8- or 16-bit EXT
(external), or DTC RAM (not available when a time stamp is acquired)
).

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/300h tiny seriesH8/3664 e6000

Table of Contents