4 memory area types, Memory area types – FUJITSU SOFTUNE F2 MC-16 User Manual

Page 156

Advertising
background image

142

CHAPTER 2 DEPENDENCE FUNCTIONS

2.3.1.4

Memory Area Types

A unit in which memory is allocated is called an area. There are five different area types.

Memory Area Types

A unit to allocate memory is allocated is called an area. There are five different area types as follows:

- User Memory Area

Memory space in the user system is called the user memory area and this memory is called the user
memory. Up to four user memory areas can be set with no limit on the size of each area. Define a region
on a 256-byte boundary.

Access attributes can be set for each area; for example, CODE, READ, etc., can be set for ROM area, and
READ, WRITE, etc. can be set for RAM area. If the MCU attempts access in violation of these attributes,
the MCU operation is suspended and an error is displayed (guarded access break).

Memory manipulation commands can be executed in relation to emulation memory areas while MCU
execution is in progress.

To set the user memory area, use the SET MAP command.

- Emulation Memory Area

Memory space substituted for emulator memory is called the emulation memory area, and this memory is
called emulation memory.

It is possible to set up to four areas of 1 MB maximum (including an internal ROM area described later)
as emulation memory area. Define a region on a 256-byte boundary. An area larger than 1 MB can be
specified at one time but is divided internally into two or more 1 MB areas for management purposes.

Memory manipulation commands can be executed in relation to emulation memory areas while MCU
execution is in progress.

Emulation memory areas can be set using the SET MAP command.

Further, the access attributes can be set as with user memory areas.

Note:

Even if the MCU internal resources are set as emulation memory area, access is made to the internal
resources. Re-executing this setup may damage data.

- Internal ROM Area

The area where the emulator internal memory is substituted for internal ROM is called the internal ROM
area, and this memory is called the internal ROM memory.

The internal ROM area with a size up to 1 MB can be specified two areas.

An area larger than 1 MB can be specified at one time but is divided internally into two or more 1 MB
areas for management purposes.

Memory manipulation commands can be executed in relation to emulation memory areas while MCU
execution is in progress.

The internal ROM area is capable to set by the "Setup Map" dialog opening by "Debugger Memory Map"
from "Setup".

Advertising