Download SH7060 E8000 Emulator HS7060EDD81H User`s Manual

Transcript
3.2 Memory Space
The SH7060 has a 4-Gbyte memory space in its architecture. Standard emulation memory (4
Mbytes) can be set in 1-Mbyte or 256-kbyte units to the memory space. Areas that are not set as
emulation memory are set as user system memory. For details, refer to section 7.2.25, MAP.
• U:
• S:
User system memory
Standard emulation memory
The area which is set as standard emulation memory can be independently specified as a writeprotected area or an access-prohibited (guarded memory) area. In addition, a write-protected area
or an access-prohibited (guarded memory) area can each be allocated to the user system memory
in 1-Mbyte units.
• W: Write-protected
• G: Access-prohibited (guarded)
The above attribute settings are valid in the external memory area only; they are invalid in the
internal ROM, internal X-RAM and Y-RAM (referred to as internal RAM), and internal I/O area.
3.2.1 Internal ROM Area
The emulator includes substitute RAM for the SH7060 internal ROM. The substitute RAM is
accessed if an attempt is made to access the internal ROM, regardless of the MAP command
attribute settings.
In addition, the internal ROM area access differs between user program execution and the
emulator commands.
• Access in user program execution:
Read only, write disabled (user program execution is
terminated if attempted.)
• Access with the emulation command:
Read/write enabled
Therefore, the internal ROM contents can be changed or an object program can be loaded using
commands such as MEMORY and LOAD, but they cannot be rewritten from the user program. If
this is attempted, the user program execution is terminated.
The internal ROM area is accessed in one state.
Rev. 0.1, 08/00, page 190 of 450