beautypg.com

Zilog EZ80F91AZA User Manual

Page 38

background image

UM007518-1211

28

Zilog Real-Time Kernel: eZ80

®

CPU

User Manual

For details, refer to the

Zilog Real-Time Kernel Reference Manual (RM0006)

, which is

available free for download from zilog.com and also located in the following path:

\Program

Files\Zilog\ZDSII_eZ80Acclaim!_A.B.C\ZTP\ZTPX.Y.Z_Lib\RZK\Docs

Q:

I have a different memory map on my custom hardware as compared to the develop-

ment board. What changes am I required to make to modify the RZK demo project to suit
my custom hardware in the ZDSII environment?

A:

RZK uses the bootup files provided by ZDS II. This means that there are no separate

hardware configuration files required to configure the chip selects and the memory map.
So if your custom hardware features a different memory map as compared to the one pro-
vided in the demo programs for the development platform, then the following changes
must suit your custom hardware:

Modify the ROM and RAM address space to suit your memory map under

Project

Settings

Linker

Address Space

ROM

and

RAM

address spaces.

Incorporate the corresponding changes to the

Chip Selects

, the

Program Counter

and

the

Stack Pointer

under

Project

Settings

Debugger

Setup

,

Program Coun-

ter

,

Stack Pointer Long

and the

Chip Select

Registers. Take special care while enabling/

disabling the internal Flash and internal SRAM.

The only change that may be required in the configuration files is for the wait states of the
internal flash. The following code string can be changed, depending on your requirements:

FLASH_CTRL = (FLASH_CTRL & ~FLASH_CTRL_7_WS) | FLASH_CTRL_3_WS;

This code string is available in the

RZK_HW_Init()

function, which is located in the

eZ80Hw_Conf_ZDS.c

file.

Q:

This FAQ contains many questions and answers, but I still have questions for which I

find no answers in this document. How can I get answers to my questions?

A:

Zilog has a reputation for excellent customer service. Feel free to contact us via our

Customer Service page

.

This manual is related to the following products: