Renesas M3028BT-EPB Computer Hardware User Manual


 
M3028BT-EPB User’s Manual 3. Usage (Emulator Debugger)
REJ10J1459-0200 Rev.2.00 Sep 16, 2006
(3) Setting breakpoints
1. Screen after breakpoint setup
Breakpoint setup screen
There are three types of breakpoints as described below.
- Address match breakpoint (A)
This breakpoint can be set only when you check “Enable
the Address Match Interrupt 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 53 of 86