Renesas M16C PC4701 用户手册

下载
页码 294
 
5 Setup the Debugger 
 
55 
 
5.5 Setup the Debugger for 740 
5.5.1 Map Command 
The memory map information must be altered to suit the target microcomputer's memory space by 
Map command. 
 
Area
 
Mapping
 
Note
 
SFR
 
External
 
 
RAM
 
External
 
 
Internal ROM
 
Internal
 
 
External ROM
 
External
 
Memory Expansion Mode, Microprocessor Mode
 
 
• 
Internal 
Enables the emulator's internal resources. The internal ROM area must be set for Internal 
because it is always emulated with the emulator's internal resources. If an external area is not 
allocated memory, you can use the emulator's internal memory by setting that area for Internal.   
 
• 
External 
Enables resources external to the emulator (including the internal SFR and RAM areas). The 
internal SFR and internal RAM areas must always be set for External. To enable the memory 
allocated for an external area, set that area for External.   
 
The memory map attributes immediately after the emulator has started up are External for 
0h-3FFFh and Internal for 4000h-FFFFh. Use the MAP command to look up or alter the memory map 
information. Execute the MAP command from the script window.   
 
ATTENTION 
• 
[the case that the internal ROM area is located to the address before 4000h] 
If the internal ROM area of the target mcu is located to the address before 4000h, please change 
the mapping of this area to INTERNAL. 
Example) 
when the internal ROM area is located from 1080h: 
1080 to 3FFF -> Internal 
• 
[About special settings when using the M38000TL2-FPD] 
Always set the internal SFR and internal RAM areas for External. However, if the target MCU's 
RAM area is larger than the RAM included in the emulator MCU, set that area for Internal.   
Example) 
When the RAM area included in the emulator MCU is 40-1FF and the target MCU's internal 
RAM area is 40-2FF   
40 to 1FF -> External 
200 to 2FF -> Internal