Displaying A Trace (When Time Stamping Is Available) - Renesas H8 Series User Manual

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

Advertisement

(10) Remove the event points that have been set and clear the trace information. Click the right-hand mouse
button on the [Event] window to display a popup menu. Select [Delete All] from this menu to remove all of
the event points that have been set. Click the right-hand mouse button on the [Trace] window to display a
further popup menu. Select [Clear] from this menu to clear the trace information.

6.16.2 Displaying a Trace (when Time Stamping is Available)

The following procedure is for obtaining and displaying, with time stamps, trace information on cycles of
writing to memory locations in the specified address range.
(1) Clicking the right-hand mouse button on the [Trace] window displays a popup menu. Select [Acquisition...]
from this menu to display the [Trace Acquisition] dialog box (see figure 6.41, [Trace Acquisition] dialog
box).
(2) Register the address range for trace acquisition as an event condition. Click the [Add...] button in the [Trace
Events] group box on the [General] page to display the [Breakpoint/Event Properties] dialog box (see figure
6.42, [Breakpoint/Event Properties] dialog box).
(3) Click the [Range] radio button in the [Address] group box on the [General] page of the [Breakpoint/Event
Properties] dialog box. Use the [Locals] window to refer to the address on the line where variable a, which is
defined within the tutorial function, is allocated (H'00FFEF80 in this example) and enter this address
in the [Address Lo] edit box. Then enter an address, which is H'27 added to that entered in the [Address Lo]
edit box (H'00FFEFA7 in this example), in the [Address Hi] edit box. This procedure sets the memory
range for variable a of the tutorial function.
(4) Click the [Write] radio button in the [Direction] group box to set a write cycle for the specified range. This
completes the setting of a memory range. Click the [OK] button to close the [Breakpoint/Event Properties]
dialog box.
Figure 6.49 [Breakpoint/Event Properties] Dialog Box (after Setting an Event)
156

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/300h tiny seriesH8/3664 e6000

Table of Contents