beautypg.com

Zilog Z8F0130 User Manual

Page 416

background image

Using the Debugger

UM013037-1212

392

Zilog Developer Studio II – Z8 Encore!
User Manual


The PRAM can be used as additional on-chip Register RAM by setting the PRAM_M
option bit low in the device option bits. When the PRAM_M option bit is set the low, the
PRAM at

0xE000

is no longer available and the memory is used as additional Register

RAM. If you want to map PRAM to Register RAM, you must increase the range for
EData (in the Address Spaces page) to include the appropriate amount of PRAM and set
the option bit low.


For example:

FLASH_OPTION1 = 0xFD;


Then, if your device supports

0x800

bytes of Register RAM and

0x400

bytes of PRAM,

the EData range can be extended to

0xBFF

by mapping the PRAM to Register RAM. In

this example, the new address range for Rdata is

0x0-0xFF

, and the new address range

for Edata is

0x100-0xBFF

. When the address range is extended, the complier takes full

advantage of the extra memory.

The following sections describe how to use the

Memory

window:

Changing Values

– see page 392

Viewing Addresses

– see page 393

Filling Memory

– see page 394

Saving to a File

– see page 395

Loading from a File

– see page 396

Performing a Cyclic Redundancy Check

– see page 396

The Page Up and Page Down keys (on your keyboard) are not functional in the

Memory

window. Instead, use the up and down arrow buttons to the right of the Space and Address
fields.

Changing Values

To change the values in the

Memory

window, perform the following tasks:

1. In the window, highlight the value you want to change. The values begin in the second

column after the

Address

column.

2. Enter the new value and press the

Enter

key. The changed value is displayed in red.

Note: