Renesas M3028BT2-CPE User Manual page 56

Compact emulator for m16c/tiny series
Table of Contents

Advertisement

M3028BT2-CPE User's Manual
(3) Setting breakpoints
1. Screen after breakpoint setup
REJ10J1457-0300 Rev.3.00 July 22, 2009
3. Usage (How to Use the Emulator Debugger)
Screen after breakpoint setup
There are three types of breakpoints as described below.
- Address match breakpoint
This breakpoint can be set only when you chose to use
the address match break function on the MCU tab of the
Init dialog box.
A breakpoint can be set or cleared by double-clicking in
the address match breakpoint display area in the editor
(source) window. (A blue circle is displayed at the setting
line)
Up to six breakpoints can be set.
The address match break causes the program to stop
before executing the address at which a breakpoint is set.
- Software breakpoint
A software breakpoint can be set or cleared by double-
clicking the software breakpoint display area in the editor
(source) window (A red circle is displayed at the setting
line).
This is rewritten to a break instruction, therefore, because
of rewriting flash ROM, program execution starts with a
delay of several seconds after setting ROM area.
If the breakpoint you set is a software breakpoint, the
program stops before executing the instruction at the set
breakpoint.
- Hardware breakpoint
A hardware breakpoint can be set or cleared by right-
clicking the breakpoint display area.
If the breakpoint you set is a hardware breakpoint, the
program stops after executing the instruction at the set
breakpoint (after several cycles).
Page 54 of 90

Advertisement

Table of Contents
loading

Table of Contents