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
Summary of Contents for Emulator Debugger M16C PC4701
Page 13: ...Setup of Debugger 1...
Page 14: ...Blank Page 2...
Page 73: ...Tutorial 59...
Page 74: ...Blank Page 60...
Page 95: ...Reference 81...
Page 96: ...Blank Page 82...
Page 128: ...Example Writing byte length data 32h to even address 400h 114...
Page 130: ...16 bits bus width 116...
Page 132: ...2nd point 118...
Page 133: ...7 Windows Dialogs 16 bits bus width 119...
Page 134: ...Example Writing data 10h 3Fh to even address 400h 120...
Page 138: ...Example Writing byte length data 32h to even address 400h 124...
Page 140: ...16 bits bus width 126...
Page 141: ...7 Windows Dialogs Example Writing word length data 1234h to even address 400h 127...
Page 142: ...Example Writing data 10h 3Fh to even address 400h 128...
Page 146: ...Example Writing byte length data 32h to even address 400h 132...
Page 147: ...7 Windows Dialogs Example Writing data 10h 3Fh to even address 400h 133...
Page 153: ...7 Windows Dialogs 7 7 8 2 Interrupt Termination Set as below 139...
Page 172: ...For condition 7 choose the Mode shown below and set the Start event 158...
Page 294: ...MEMO 280...