Notes On Address-Match Interrupts; Notes On Software Breaks; Note On Differences Between The Actual Mcu And Emulator; Note On The Watchdog Function - Renesas M30290T-EPB User Manual

Emulation probe for m16c/26a, 28, 29 group mcus
Table of Contents

Advertisement

M30290T-EPB 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.
The BRK instruction can be used for the emulator only. You cannot 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 Differences between the Actual MCU and Emulator:

Operations of the emulator system differ from those of actual MCUs as listed below.
(1) Reset condition
Set the time for starting up (0.2 Vcc to 0.8 Vcc) 1 µs or less.
(2) Initial values of internal resource data of an MCU at power-on
(3) Interrupt stack pointer (ISP) after a reset is released
(4) Capacities of the internal memories (ROM and RAM)
The evaluation MCU of this product has RAM of 12 KB (00400h--033FFh) and flash ROM of 4
KB (0F000h--0FFFFh) and 128 KB (E0000h--FFFFFh).
(5) Oscillator circuit
In the oscillator circuit where an oscillator is connected between pins X
does not occur because a converter board is used between the evaluation MCU and the user system.
For notes on when using the oscillator circuit on the user system, refer to "3.1.3 Using the
Oscillator Circuit on the User System" (page 27). It is same for pins X
(6) X
input when resetting the emulator system
IN
When resetting the emulator system, it is necessary to input a clock to the pin X
(7) A-D conversion
The characteristics of the A-D converter differ from those of actual MCU because there are a
converter board and other devices between the evaluation MCU and the user system.
(8) Operation after releasing the reset
After releasing the reset, about max. 350-cycle programs to control the emulator will be executed.
Note that this will be included in the user program execution time and tracing result.

Note on the Watchdog Function:

If the reset circuit of the user system has a watchdog timer, disable it when using the emulator.
IMPORTANT
( 14 / 58 )
and X
, oscillation
IN
OUT
and X
.
CIN
COUT
.
IN

Advertisement

Table of Contents
loading

Table of Contents