beautypg.com

Zilog Z8F0130 User Manual

Page 128

background image

Using the Integrated Development Environment

UM013037-1212

104

Zilog Developer Studio II – Z8 Encore!
User Manual

your code or data has grown beyond your system’s capability. The system also uses mem-
ory ranges to automatically locate your code or data.

The

Address Spaces

fields define the memory layout of your target system. The Address

Spaces page of the

Project Settings

dialog box allows you to configure the ranges of

memory available on your target Z8 Encore! microcontroller. These ranges vary from pro-
cessor to processor, as well as from target system to target system.

ZDS II divides Z8 Encore! memory into several spaces, some of which are available only
on selected processor types:

ROM

The ROM space is used for code storage and can also be used for the storage of con-
stant data. ROM memory is located at program addresses

0000H–xxxxH

, at which

xxxxH

is the highest location in program memory.

RData (register data)

The RData memory is located in

00H

FFH

and is used for a small memory model.The

low boundary is set to

10H

by default. The low boundary must be set by

10H

higher

for one level of interrupts. For example, for a nonnesting interrupt, set the low bound-
ary to

20H

; for two levels of interrupts, set the low boundary to

30H

; and so on. For

more information about interrupts, see the

SET_VECTOR

section on page 237.

EData (extended data)

EData is used for default data storage in the large memory model. The EData memory
begins at data address

100H

and extends to a maximum of

EFFH

. Some CPUs provide

less data memory, so the upper bound of this range will be less than

EFFH

. This

reduced upper bound is displayed by default in the GUI when one of those parts is
selected as the CPU in your project. See the product specification for your particular
CPU to find out how much on-chip RAM is provided.

If your CPU is one of the Z8 Encore! XP F1680 Series devices that has PRAM and you
choose not to use the PRAM memory (by deselecting the

Use PRAM

checkbox), then the

512 or 1024 bytes that could have been used for PRAM will instead be available as addi-
tional EData memory and will be mapped onto the end of EData. If you want to use this
additional data storage, you must modify the upper bound of your EData range to add the
extra memory.


For example, if your upper EData bound previously was

3FF

and you choose not to use the

available 512 bytes (

200H

) of PRAM, you can increase the upper bound of your EData

range to

5FF

.

NVDS

Note: