Stopping A Program When It Accesses Memory - Renesas M16C/64 User Manual

Emulator mcu unit for m16c/64 group
Table of Contents

Advertisement

R0E530640MCU00 User's Manual
3. Tutorial

3.16 Stopping a Program when It Accesses Memory

To stop a program when it reads or writes a value to a global variable, set up a hardware break as described below.
Choose Event -> Hardware Break from the View menu to display the Hardware Break dialog box.
Open the OR page of the Hardware Break dialog box. In the Editor window, select a global variable that you want to be the
object of a hardware break so that a program is made to stop when it reads or writes a value to the variable, and drag-and-drop
the selected variable into the OR page.
Then click the Apply button.
When you run a program, it will stop running when a value is read or written to the global variable you have set.
Figure 3.28 Hardware Break dialog box
Notes: (1) Only the global variables that are 1 byte or 2 bytes in size can be set.
(2) Local variables cannot be set.
REJ10J1733-0100 Rev.1.00 Apr. 01, 2008
Page 54 of 229

Advertisement

Table of Contents
loading

This manual is also suitable for:

R0e530640mcu00

Table of Contents