156
(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)
Summary of Contents for H8 Series
Page 4: ......
Page 6: ......
Page 20: ...viii...
Page 21: ...Emulator Debugger Part...
Page 22: ......
Page 26: ...4...
Page 40: ...18...
Page 46: ...24...
Page 148: ...126 Figure 6 8 Editor Window Break Status...
Page 202: ...180...
Page 250: ...228...
Page 262: ...240...
Page 271: ......