Note On Restrictions In Using The Emulator (1/2) - Renesas M30800T-CPE User Manual

Table of Contents

Advertisement

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)
(9) Debug command execution while running the user program
(10) Access-inhibited areas
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 product, the program is stopped with a loop program to a specific address. 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 set hardware breaks within 4 instructions before an address that generate address
matched interrupts. Otherwise, the program will run out of control.
• 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 12 bytes. If there isn't enough user
stack area, using other areas not designed for use as stacks (SFR area, RAM area that stores
data or ROM area) can damage the user program or destabilize emulator control. Therefore,
ensure a maximum +12 bytes of the area used by the user program as user stack area.
Software breaks replace the original command with the BRK command "08
the BRK interrupt. When trace results are viewed in the bus display, "08
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 (address
3C7
) and the function selection register A3 (address 3B5
16
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
If a dump or any other debug command is executed while running the user program, the real-
time capability of the user program cannot be guaranteed.
• The emulator control registers (000020
read and write. Accessing these registers makes the emulator uncontrollable.
• The address FFFFFF
16
to 00003F
16
in this product cannot be read and written normally.
( 12 / 52 )
" that generates
16
" is displayed by
16
) is changed in the following way,
16
) in the SFR area are inhibited against
16

Advertisement

Table of Contents
loading

Table of Contents