beautypg.com

Zilog EZ80F916 User Manual

Page 117

background image

UM014423-0607

Using the Integrated Development Environment

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

97

1. Type the address of the first line of code to be executed in the Program Counter (hex)

field.

2. Type the upper address of RAM (24-bit address boundary) in the SPL Stack Pointer

(hex) field. This option is used while in ADL mode.

3. Type the upper address of RAM (16-bit address boundary) in the SPS Stack Pointer

(hex) field. This option is used while in non-ADL mode.

4. For each chip select register (CS0–CS3), do the following:

Choose a chip select register from the Chip Select Registers drop-down list box.
The chip select registers control the type of access, address bounds, and wait state
assertion.

Enter the lower bound for the chip select register in the Lower Bound (hex) field.

Enter the upper bound for the chip select register in the Upper Bound (hex) field.

Enter the control register in the Control Register (hex) field.

Enter the bus mode in the Bus Mode (hex) field.

5. Select the Start in ADL Mode check box for 24-bit linear addressing. Deselect the

check box for 16-bit addressing.

NOTE: This information is used only by the Debugger and does not affect your code

initialization. The actual mode needs to be in your source files.

6. Enter the upper and lower addresses for the External RAM Range (hex) fields.

The external RAM range specifies a range of RAM available to use as “scratch-pad”
memory by ZDS for internal Flash memory page erase. The contents of the external
RAM range are saved and then restored after a Flash erase operation.

NOTE: If external RAM is not available, the external RAM range must be set to the

internal RAM address range.

The eZ80F9x and eZ80L92 require the external RAM range to be in external RAM to
support the page erase function.

If external RAM is not available, the Do Not Erase Info Page check box in the Flash
Loader Processor dialog box must be deselected so that ZDS can use mass erase rather
than page erase.

For the eZ80F91 only, you can program an internal-memory-only project if the range
in the External RAM Range (hex) fields matches the range in the RAM field in the
Address Spaces page (see “Project Settings—Address Spaces Page” on page 89).

7. Select the Enable Data RAM check box to enable the general-purpose internal RAM

block. Enter the address in the Address Upper Byte (hex) field.

8. Select the Enable EMAC RAM check box to enable the Ethernet Media Access

Controller’s internal RAM. Enter the address in the Address Upper Byte (hex) field.

This manual is related to the following products: