User`s manual
M3T-PD32R V.5.01 Release 00 Release Notes
Rev.1.00 10.01.2006 page 16 of 34
REJ10J1495-0100
5.14. On the break function using the pre-execution PC break
[Description]
When the pre-execution PC break is used as an event of a breakpoint, the break function may not be
performed properly.
[Conditions]
This problem occurs if the following four conditions are satisfied:
(1) The target MCU belongs to any of the following groups:
32170, 32171, 32172, 32173, 32174, and 32176
(2) The pre-execution PC break is used as an event of a breakpoint.
(3) The pre-execution PC break is used as an event of a chip event.
(4) The breakpoint and the chip event in (2) and (3) above are set at the same address.
[Example]
If the target program is started with a breakpoint being set in the procedure shown below, no
program break occurs when the instruction at the specified address (1000H, for example) is
executed:
(1) Open the Program window and double-click the mouse's left button in the area for setting a
breakpoint at address 1000H. A breakpoint is set at that address. In Single Chip and External
Expansion Modes of the M3217x group, address 1000H is within the internal ROM area, so the
pre-execution PC break is used as a breakpoint and "b"s are displayed in the breakpoint display
area.
(2) Follow these steps in the Trace-point setting window:
1. Click the CE0 button in the Set Chip Event area. The CE0-Set Chip Event dialog box appears.
2. Perform the following in the CE0-Set Chip Event dialog box:
2.1 Check the Enable check box.
2.2 Select "Preexe-PC 0" in the Event Type combo box.
2.3 Type H'1000 in the Address text box.
2.4 Click the OK button.
3. Click the Set button.
[Workaround]
Don't set a breakpoint and a chip event that use the pre-execution PC break as their events at the
same address.