Renesas M3028BT2-CPE User Manual page 73

Compact emulator for m16c/tiny series
Table of Contents

Advertisement

M3028BT2-CPE User's Manual
Note on Access Prohibited Area:
You cannot use internally reserved areas. Write signals to the areas will be ignored, and values read will be
undefined.
Notes on Stack Area:
With this product, a maximum 8 bytes of the interrupt stack is consumed as a work area. Therefore, ensure the
+8 byte maximum capacity used by the user program as the interrupt stack area.
If the interrupt stack does not have an enough area, do not use areas which cannot be used as a stack (SFR area,
RAM area which stores data, or ROM area) as a work area. Using areas like this is a cause of user program
crashes and destabilized emulator control.
With this product, the interrupt stack pointer (ISP) is set at 00500h and used as a stack area after a reset is
released.
Notes on Reset Vector Area:
Memory in the emulator main unit is always selected as a reset vector area (FFFFCh--FFFFFh) in order to
operate the evaluation MCU in the emulator-dedicated mode. Set the contents of the reset vector area in one of
the following ways.
(1) Download a user program to an area including the reset vector area.
(2) Set the reset vector using a memory window of the emulator debugger etc.
You can change data in the reset vector area only when the user program is stopped.
Do not access the reset vector area as data. It may not be accessed properly.
Note on Accessing Addresses 00000h and 00001h:
With the M16C/Tiny Series MCUs, when a maskable interrupt is generated, the interrupt data (interrupt number
and interrupt request level) stored in addresses 00000h and 00001h are read out. Also, the interrupt request bit is
cleared when address 00000h or 00001h is read out. Consequently, when the address 00000h or 00001h readout
instruction is executed or when address 00000h or 00001h is read out in the cause of a program runaway, a
malfunction occurs in that the interrupt is not executed despite the interrupt request, because the request bit of
the highest priority interrupt factor enabled is cleared.
Note on Operating Frequency:
You cannot use this product with a main clock (X
1MHz, contact your local distributor.
Note on Timeout Setting:
If you download, execute or single-step a program at a low operating frequency, a communication timeout error
may occur.
Execute the command shown below in the Script Window after starting the emulator debugger.
[Command]
Once this command is executed, it remains effective the next time you start the emulator debugger. Therefore,
you do not need to execute this command again.
If the error still occurs in this setting, contact your local distributor.
REJ10J1457-0300 Rev.3.00 July 22, 2009
IMPORTANT
-X
) less than 1MHz. To use it with a main clock less than
IN
OUT
_settimeout 300, 300
4. Hardware Specifications
Page 71 of 90

Advertisement

Table of Contents
loading

Table of Contents