beautypg.com

In figure 135, C program setup – Zilog ZUSBOPTS User Manual

Page 347

background image

UM017105-0511

Program Configurations

Zilog Developer Studio II – ZNEO™

User Manual

319

program is too large to fit into internal Flash), but you do not want your execution speed to
be limited by the access speed of external Flash memory.

C Program Setup

The C program setup for Copy to ERAM Program Configuration is similar to the Default
Program Configuration with some additional steps as described in this section.

The C-Compiler by default generates the executable program code under one unified seg-
ment named CODE. The CODE segment belongs to EROM address space.

Figure 135. Programmer’s Model—Copy to ERAM Program Configuration

EROM Data

Copy of Code

Copy of ERAM Initializers

16-Bit

Addressable

Address

IODATA

ERAM

ROM

RAM

EROM

I/O Access

Small Model Stack

RAM Data

Large Model Stack

ERAM Data

ROM Data

Start-up Code

Vector Table

Option Bytes

Contents

Range (Space)

Code

Copy of RAM Initializers

(Data)

16-Bit

Addressable

(Data)

This manual is related to the following products: