Notes On Map Settings And References; Note On Changing Data In Osd Ram Area When Program Is Not Executed - Renesas M16C/6V User Manual

Emulation pod for m16c/6v group m306v0
Table of Contents

Advertisement

Notes on MAP Settings and References:

• For details on MAP settings and references, refer to the M3T-PD30 emulator debugger user's
manual.
• Always set the SFR area to EXTERNAL.
• Set the OSD RAM area to INTERNAL.
• This pod uses the 4 bytes from 0FFFC
RESET command cannot be correctly executed when these 4 bytes cannot be read or written to.
You must therefore take care using the MAP resetting procedure when the following condition (1)
or condition (2) are true.
(1) When the 4 bytes from 0FFFC
(2) When the 4 bytes from 0FFFC
Use the following MAP setting procedure when either of the above conditions (1) or (2) are true.
(1) Set the 4 bytes from bytes from 0FFFC
(2) Execute the M3T-PD30 emulator debugger RESET command.
(3) Set the stack pointer.
(4) Set the 4 bytes from 0FFFC

Note on Changing Data in OSD RAM Area When Program is not Executed:

• To change data when a program is not executed, write data when the map setting is in both
'INTERNAL' and 'EXTERNAL'.
Procedure
(1) With 'INTERNAL' specified, change data in the OSD RAM area.
(2) From the script window, change the map setting of the OSD RAM area to 'EXTERNAL' .
(3) With 'EXTERNAL' specified, change data in the OSD RAM area.
(4) Change the map setting of the OSD RAM area to 'INTERNAL' again.
IMPORTANT
single chip mode to memory expansion mode or microprocessor mode
microprocessor mode and there is no read/write-enabled memory in the external area.
(Example)
RESET:
FCLR I
LDC #480H, SP <- stack pointer setting
:
Change data in the MEMORY WINDOW, Script Window, etc.
MAP 400,FFF,EXT
Change data in the MEMORY WINDOW, Script Window, etc.
MAP 400,FFF,INT
(Example)
When changing the data in the OSD RAM area (Address: 410h) to '55h'.
set MemoryByte( MB ) 410,55
MAP 400,FFF,EXT
set MemoryByte( MB ) 410,55
MAP 400,FFF,INT
to 0FFFF
as a stack area for a RESET command. The
16
16
to 0FFFF
are set to EXTERNAL in a system shifting from
16
16
to 0FFFF
are set to EXTERNAL in a system started in
16
16
to 0FFFF
16
(STOP the program after executing this command.)
to 0FFFF
to EXTERNAL.
16
16
( 14 / 48 )
to INTERNAL.
16

Advertisement

Table of Contents
loading

This manual is also suitable for:

M306v0M306v0t-rpd-e

Table of Contents