4 when using this product for the first time, 1) making the mcu file, 2) setting the work area – Renesas Emulation Pod M306N4T3-RPD-E User Manual

Page 25

Advertising
background image

( 25 / 76 )

2.4 When Using This Product for the First Time

(1) Making the MCU File

It is necessary to make an MCU file to use this product with the emulator debugger M3T-PD30.
According to the MCU you use, change the contents of the MCU file. Make the MCU file following
the description below using a text editor and store it in the "mcufiles" folder in the directory where
the emulator debugger is installed.

The MCU file contains information such as, SFR area, internal RAM area, internal ROM area,
firmware file name. The contents of the MCU file when using the M306N4FGTFP (10KB RAM,
256KB ROM) are as follows:

0

: SFR area

Start address

3FF

:

End address

400

: Internal RAM

Start address

2BFF

:

End address

C0000

: Internal ROM

Start address

FFFFF

:

End address

M30620P

: Firmware name (Do not change.)

0

: Expansion No.

M3T-PD30 V.4.00 or later required (Do not change.)

When using this product in microprocessor mode, set the internal ROM area as follows.

00000

: Internal ROM

Start address

00001

:

End address

(2) Setting the Work Area

With this product, the emulator uses 32 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, the areas listed below cannot be used as a work area,
specify a work area other than the areas listed below. And the top address of the work area should
be an even-numbered address.

(1) SFR area (0000h--003FFh)

(2) External area of multiplex bus setting

(3) Reserved area of 27000h--27FFFh

(4) Stack area used by the emulator for reset command execution (0FFF9h--0FFFFh)

The area used as a work area (32 bytes) is specified in the F/W and Work Area tab of the INIT dialog
box of the emulator debugger M3T-PD30. And set the work area as MAP=INT.

Advertising