User`s manual

12.3.9 Memory space expansion
Memory mapping
If you select "4MB Mode" for Memory Space Expansion in MCU setting dialog, the memory map
depends on the other setting of mcu:
Processor mode
PM13 OFS Access area
of the MCU
Bank0 -
Bank5
Bank6 Bank7
0 40000h - 7FFFFh EXT EXT MAP 1
1 40000h - 7FFFFh EXT EXT MAP
40000h - 7FFFFh EXT EXT MAP 0
80000h - BFFFFh EXT EXT MAP
40000h - 7FFFFh EXT EXT MAP
Memory
Expansion Mode
0
1
80000h - BFFFFh EXT MAP ---
40000h - 7FFFFh EXT EXT MAP
80000h - BFFFFh EXT EXT ---
0
C0000h - FFFFFh --- --- MAP
40000h - 7FFFFh EXT EXT MAP
Microprocessor
Mode
---
1
80000h - BFFFFh EXT MAP ---
PM13 : bit3 of processor mode register1 (00005h)
OFS : offset bit (bit2 of data bank register (0000Bh))
EXT : memory access to the target system
MAP : memory access to the area which depends on MAP setting in MCU Settingts dialog (INT
means emulation memory in PC7501, EXT means target system)
Memory access to the expanded area
C watch window, Memory window, and other debugging windows can not show correct values, when it
shows the expanded area of the memory space expansion fuction. Debugging windows does not
consider the bank register.
To see this area, please use script commands listed below and specify the bank, the status of offest bit
and the address for M16C:
DumpByte2, DumpWord2, or DumpLword2
You can also use the commands below:
DumpByte2, DumpWord2, DumpLword2, SetMemoryByte2, SetMemoryWord2, SetMemoryLword2,
FillByte2, FillWord2, FillLword2, Move2, MoveWord2
Caution
The function below may not work as expected when these functions access to the expanded area.
Debbugger can not distinguish the bank information from BUS information.
- RAM monitor function (RAM Monitor window, C Watch window, etc)
- Coverage measurement function (Coverage window, Coverage command, etc)
- Memory protect function (Protect window, Protect command, etc)
- Hardware event (H/W break event, Real-time trace event, Time measurement event, etc)
About hardware event, you can specify SameAND combination for the event you need and the status
of bank select register, to detect the access to collect bank.
268