M30870T2-CPE User’s Manual
3. Usage (Emulator Debugger)
REJ10J0766-0400 Rev.4.00 February 16, 2006
7 Editor (Source) window after you have stopped the user program
(3) Setting breakpoints
1. Screen after breakpoint setup
Editor (Source) window
The position at which the user program has stopped is
marked by a yellow arrow.
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 eight 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 64 of 102