beautypg.com

Renesas M3062PT2-EPB User Manual

Page 60

background image

M3062PT2-EPB User’s Manual

3. Usage (How to Use the Emulator Debugger)

REJ10J0868-0200 Rev.2.00 January 16, 2006



(4) Setting break points

1. Screen after software breakpoint setup

Breakpoint setup screen

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 in 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 60 of 102

This manual is related to the following products: