Renesas M3028BT2-CPE User Manual page 82

Compact emulator for m16c/tiny series
Table of Contents

Advertisement

M3028BT2-CPE User's Manual
Notes on Address-Match Interrupts:
When you use the address-match interrupt function in a user program, uncheck "Enable the Address Match
Interrupt Break Function" in the MCU tab of the Init dialog box of the emulator debugger. Thus, normal
software breaks are used for the internal RAM and ROM areas of an MCU.
Do not set a software break at an address where an address-match interrupt occurs. Otherwise, a user program
may be run out of control. Set a software or hardware break in the top address in address-match interrupt
processing.
When you single step an address where an address-match interrupt occurs, the program stops after executing the
first instruction after returning from address-match interrupt processing.
Notes on Software Breaks:
Software breaks change the instruction at a specified address to a BRK (00h). Therefore, take note that when
you reference the result of a trace in bus mode, "00h" is displayed.
As the BRK instruction is used for the emulator, do not use it in a user program.
You can neither set nor cancel a software breakpoint in the internal ROM area of an MCU during user program
execution, while you can set or cancel it in the internal RAM area of an MCU.
Note on the Watchdog Function:
If the reset circuit of the user system has a watchdog timer, disable it when using the emulator.
Note on Protect Register:
The protect is not canceled when bit 2 of protect register PRCR (PRC2), which enables writing into the port P9
direction register and the SI/Oi control register, is changed with the below procedure.
(1) Step execution of an instruction setting PRC2 to "1"
(2) Setting a break point between an instruction setting PRC2 to "1" and a point where the port P9 direction
register or the SI/Oi control register is set
(3) Setting PRC2 to "1" by the memory window or script window
Note on Internal Flash ROM of the MCU:
Because the number of write/erase cycles of the internal flash ROM of the MCU is limited, it must be replaced
at the end of its service-life. If the following errors occur frequently when downloading a program, replace the
MCU board.
(1) Flash ROM erase error occurred ERROR (16258)
(2) Flash ROM verify error occurred ERROR (16259)
To purchase products for replacement, contact your local distributor.
REJ10J1457-0300 Rev.3.00 July 22, 2009
IMPORTANT
4. Hardware Specifications
Page 80 of 90

Advertisement

Table of Contents
loading

Table of Contents