Notes On Map References And Settings; Note On Setting The Work Area - Renesas Emulation Pod M306H2T-RPD-E User Manual

Emulation pod for m16c/6h group m306h2
Table of Contents

Advertisement

Notes on MAP References and Settings:

• For details on referencing and setting MAP information, see user's manual of the emulator
debugger.
• Be sure to set the SFR area to EXTERNAL (an external section).
• When setting 0FFFCh - 0FFFFh to EXTERNAL:
This product uses the 4 bytes area 0FFFCh - 0FFFFh as the stack area. If this 4 bytes memory cannot
be read or written to, reset cannot be properly effected. As a result, you need to alter the map settings
if either of the conditions given below is met.
(1) With the system which shifts from the single-chip mode to the memory expansion (or
(2) With the system which starts up in the microprocessor mode, using the 4 bytes area of 0FFFCh
The procedures to alter the MAP settings when the condition (1) or (2) above is met are shown
below.
(1) Set the 4 bytes area of 0FFFCh - 0FFFFh to INTERNAL.
(2) Execute the RESET command of the emulator debugger.
(3) Set the stack pointer.
(4) Set the 4 bytes area 0FFFCh - 0FFFFh to EXTERNAL.

Note on Setting the Work Area:

• To use this product, it is necessary to set the work area in the internal reserved area of the MCU.
However, do not set it in the last 10 bytes of the internal reserved area. And be sure to set the internal
reserved area to INTERNAL. (Set the work area by Init dialog of the emulator debugger.)
Example 1: When debugging the program of the MCU whose internal reserved area is 02C00h
Example 2: When debugging the program of the MCU whose internal reserved area is 05400h -
For instance, when setting the work area at 05C00h, the emulator uses 10 bytes area of 05C00h -
05C09h.
IMPORTANT
microprocessor) mode, using the 4 bytes area of 0FFFCh - 0FFFFh set to EXTERNAL.
- 0FFFFh set to EXTERNAL and there is not enough memory to read or write to.
(Example)
RESET:
FCLR
I
LDC
#0480H, SP --> Set the stack pointer.
03FFFh, set the work area within the range of 02C00h - 03FF6h.
05FFFh, set the work area within the range of 05400h - 05FF6h.
(Stop the program after executing this instruction.)
( 12 / 76 )
-

Advertisement

Table of Contents
loading

Table of Contents