beautypg.com

Indifferently. why is this – Zilog EZ80F916 User Manual

Page 336

background image

UM014423-0607

ZiLOG Standard Library Notes and Tips

ZiLOG Developer Studio II

eZ80Acclaim!

®

User Manual

316

I AM USING THE UART IN THE INTERRUPT MODE. WHY DO I SEEM TO
LOSE SOME OF THE DATA WHEN I TRY TO PRINT OR TRY TO RECEIVE A
LARGE AMOUNT OF DATA?

One of the reasons could be that the software FIFO buffer size is small. Try increasing the
size to a bigger value. The default size of the software FIFO is 64. The software FIFO size
is defined in the

zsldevinit.asm

file as the BUFF_SIZE macro.

WHEN I CALL OPEN_UARTX() FUNCTION BY CONFIGURING IT IN INTER-
RUPT MODE, THE CONTROL NEVER COMES BACK TO MY PROGRAM AND
MY PROGRAM BEHAVES INDIFFERENTLY. WHY IS THIS?

The

open_UARTx()

function calls the

control_UARTx()

function, which enables the

UART interrupt. As a result of this, the UARTx transmit empty interrupt is generated
immediately. If the ISR for UART is not installed, the control on the program might be
lost. So install the ISR before calling

open_UARTx()

in the INTERRUPT mode. This is

not a problem when the standard boot module is used.

WHERE CAN I FIND SAMPLE APPLICATIONS THAT DEMONSTRATE THE
USE OF ZSL?

The following applications have been built and tested using the ZiLOG Standard Library:

eZ80190 Flash Loader application under the following directory:

ZILOGINSTALL\ZDSII_product_version\Applications\eZ80\eZ80190\Flash_Loader\

where

ZILOGINSTALL is the ZDS II installation directory. For example, the default
installation directory is

C:\Program Files\ZiLOG.

product is the specific ZiLOG product. For example, product can be

Z8Encore!

,

eZ80Acclaim!

,

Crimzon

, or

Z8GP

.

version is the ZDS II version number. For example, version might be

4.11.0

or

5.0.0

.

This application demonstrates the use of ZSL without involving the standard startup
module and zsldevinit.asm file.

ez80Acclaim! Flash Loader under the following directory:

ZILOGINSTALL\ZDSII_product_version\applications\eZ80Acclaim!\FLashApp\

FlashLoaderApp

This application demonstrates the use of ZSL by using the standard startup
module and

zsldevinit.asm

file.

This manual is related to the following products: