M3062PT3-RPD-E User’s Manual
4. Hardware Specifications
REJ10J0040-0600 Rev.6.00 July 01, 2006
Page 93 of 104
IMPORTANT
Notes on Setting the Work Area When Starting Up the Emulator Debugger:
z
With this product, the emulator uses 54 bytes as a work area in emulation memory. Therefore, according to
the memory mapping of the MCU you use, specify the work area addresses.
In single-chip mode, set the work area address at 10000h.
In memory expansion or microprocessor mode, specify a work area other than the areas listed below.
- SFR area (0000h--003FFh)
- External area of multiplex bus setting
- Reserved area of 27000h--27FFFh
- Stack area used by the emulator for reset command execution (0FFF9h--0FFFFh)
- F6000h to F63FFh and F8000h to F83FFh
For details, see “3.2 Setting the Work Area” on page 51.
z
The top address of the work area should be an even-numbered address.
z
Be sure to set the work area as MAP=INT.
For example, when the work area set at 10000h, 54 bytes of the addresses 10000h to 10035h used by the
emulator.
Notes on MAP References and Settings:
z
For details on referencing and setting MAP information, see the emulator debugger user's manual.
Make settings as follows:
(1)
MAP = INT
The emulation memory inside this product becomes effective.
Set this at MCU internal ROM debugging.
(2)
MAP = EXT
The emulation memory inside this product is not used.
Set this where the MCU internal resource (SFR) or resources on the user system are used.
z
Be sure to set the SFR of the MCU as MAP = EXT, and set the reserved area of the MCU as MAP = INT.
z
Be sure to set mappings in word unit.
z
When setting 0FFF8h to 0FFFFh to EXT:
This product uses the 7 byte area 0FFF9h through 0FFFFh as the stack area. If this 7 byte memory cannot be
read or written to, reset cannot be properly effected. As a result, you need to alter the map settings if the
condition given below is met.
(1) With the system which shifts from the single-chip mode to memory expansion (or microprocessor)
mode, using the 8 byte area of 0FFF8h to 0FFFFh set to EXT.
(2) With the system which starts up in microprocessor mode, using the 8 byte area of 0FFF8h to 0FFFFh
set to EXT and there is not enough memory to read or write.
The procedures to alter the MAP settings when the conditions (1) or (2) above are met.
(1) Set the 8 byte area of 0FFF8h to 0FFFFh to INT.
(2) Execute the RESET command by use of the emulator debugger.
(3) Set the stack pointer.
(Example)
RESET: FCLR I
LDC #0480H, SP <-- Set the stack pointer
: (Stop the program after executing this instruction)
(4) Set the 8 byte area 0FFF8h through 0FFFFh to EXT.
Summary of Contents for Emulation Pod M3062PT3-RPD-E
Page 104: ...M3062PT3 RPD E User s Manual...