Notes On Using This Product For Debugging Other Than M16C/62A; Note On Restrictions In Using The Emulator (1/2) - Renesas Compact Emulator M30620T-CPE User Manual

Compact emulator for m16c/62 group m16c/62a
Table of Contents

Advertisement

Notes on Using this Product for Debugging Other than M16C/62A:

• This emulator is equipped with M30622SAFP (M16C/62A Group) as an evaluation MCU and
emulates M16C/62A Group MCUs. In some functions of there are differences between the MCUs
of M16C/62A Group and the MCUs of other than M16C/62A Group.
Therefore when you use this emulator for debugging an MCU of other than M16C/62A Group, be
careful about the differences of functions of each MCU.
For details on the functions of each MCU, see datasheets and user's manuals of each MCU.
• This product cannot be used in the operating frequency and the operating power voltage exceeding
the guaranteed range.

Note on Restrictions in Using the Emulator (1/2):

• The following restrictions apply to this emulator.
(1) Debug command execution when the BCLK is stopped
(2) MCU status during program hold
(3) Interrupts during single step execution
(4) Address matched interrupt
(5) Stop and wait modes
(6) Stack area
(7) Trace results for addresses that set software breaks
(8) Protect register (PRC2)
IMPORTANT
When the BCLK is stopped, debug commands (break, dump, single-step, forced stop, etc.)
cannot be executed. The BCLK can stop in the following cases.
• When the target clock is not oscillating
• When the target MCU is on hold
• When the target MCU is in the stop mode
With this emulator, the program can be stopped by putting the MCU on hold. Note that, in this
case, peripheral circuits are still operating.
Interrupts are disabled during single step execution. Accordingly, interrupt processing is not
performed even if an interrupt request is sent.
Do not set software breaks for an address for which an address matched interrupt is set. In step
execution, do not execute addresses that generate address matched interrupts.
Do not use a single step for the command that shifts to the stop mode. Operation does not shift
to the wait mode when the command that shifts to the wait mode is executed as a single step.
With this emulator, user stacks specified by ISP consume 4 bytes. If there isn't enough user
stack area, using other areas not designed for use as stacks (SFR area, RAM area that stored
data or ROM area) can damage the user program or destabilize emulator control. Therefore,
ensure a maximum +4 bytes of the area used by the user program as user stack area.
Software breaks replace the original command with the BRK command that generates the
BRK interrupt. When trace results are viewed in the bus display, "00
fetching (by command) the address that sets the software break, however in the reverse
assembly display, the "BRK" command is displayed.
When the protect register (PCR2) that enables writing in the port P9 direction register and the
SI/O3 and 4 control registers is changed in the following way, the protect is not cancelled.
1) When the "command that sets PRC2 to '1' is executed (step execution)"
2) When the program is executed with a break point set between the "command that sets
PRC2 to '1'" and "when the register to be protected is set"
3) When "PRC2 is set to '1'" in the Dump or Script windows
( 12 / 52 )
" is displayed by
16

Advertisement

Table of Contents
loading

Table of Contents