Memory Simulation; Simulation Memory Space; Memory Area Access Attributes - Fujitsu SOFTUNE F2 MC-16 User Manual

Software for developing programs for the f2 mc-16 family of microprocessors / microcontrollers
Hide thumbs Also See for SOFTUNE F2 MC-16:
Table of Contents

Advertisement

2.1.3

Memory Simulation

This section describes the memory simulation executed by SOFTUNE Workbench.
■ Memory Simulation
The simulator debugger must first secure memory space to simulate instructions because it simulates the
memory space secured in the host PC memory.
The following operation is required.
- To secure the memory area, either use the [Setup] - [Memory Map] menu, or the SET MAP command
in the Command window.
- Load the file output by the Linkage Editor (Load Module File) using either the [Debug] - [Load target
file] menu, or the LOAD/OBJECT command in the Command window.

■ Simulation Memory Space

Memory space access attributes can be specified byte-by-byte using the [Setup] - [Memory Map] menu. The
access attribute of unspecified memory space is Undefined using the [Setup] - [Memory Map] menu.

■ Memory Area Access Attributes

Access attributes for memory area can be specified as shown in Table 2.1-1. A guarded access break occurs if
access is attempted against such access attribute while executing a program.
program command, such access is allowed regardless of the attribute, CODE, READ or WRITE. However,
access to memory in an undefined area causes an error.
Table 2.1-1 Types of Access Attributes
Attribute
CODE
READ
WRITE
undefined
Semantics
Instruction operation enabled
Data read enabled
Data write enabled
Attribute undefined (access prohibited)
CHAPTER 2 DEPENDENCE FUNCTIONS
When access is made by a
37

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Softune workbench

Table of Contents