This function configures memory mapping.
[Specification format]
debugger.Map.Set(mapType, address1, address2, accessSize = 8, cs = "")
|
[Argument(s)]
|
|
mapType
|
Specify a memory type.
The memory types that can be specified are shown below.
|
|
|
MapType.EmulationRom
|
Emulation ROM area
|
MapType.EmulationRam
|
Emulation RAM area
|
MapType.Target
|
Target memory area
|
MapType.TargetRom
|
Target ROM area
|
MapType.Stack
|
Stack area
|
MapType.Protect
|
I/O protect area
|
address1
|
Specify a map start address.
|
address2
|
Specify a map end address.
|
accessSize
|
Specify an access size (bit) (default: 8).
For V850, specify either 8, 16, or 32.
For 78K0R [IECUBE], specify either 8 or 16.
|
cs
|
Specify the chip select (default: not specified).
When mapping emulation memory (alternative ROM/RAM) in the IECUBE [V850E1], specify the one of the following chip selects as a string: cs0, cs1, cs2, cs3, cs4, cs5, cs6, or cs7.
For models in the V850ES series, however, the chip select allocation is fixed, or the chip select will not function, so this can be omitted.
If chip select is specified, then accessSize cannot be omitted.
|
[Return value]
If memory mapping was configured successfully: True
If there was an error when configuring memory mapping: False
[Detailed description]
- | This function configures memory mapping with the memory type specified by mapType. |
[Example of use]
>>>debugger.Map.Set(MapType.EmulationRom, 0x100000, 0x10ffff)
True
>>>
|