Zilog EZ80F91AZA User Manual
Page 27

UM007518-1211
Data Persistence Configuration
Zilog Real-Time Kernel: eZ80
®
CPU
User Manual
17
ZDSII_eZ80Acclaim!_A.B.C\ZTP\ZTPX.Y.Z_Lib\RZK\Conf
The
DATA_PER_CFG_t
structure is defined below.
typedef struct
{
void * p_start_addr ;
/* start address of the location where data must be stored */
UINT32 ul_size ;
/* size of the erasable block */
DEV_INIT
pfn_dev_init ;
DEV_READ
pfn_dev_read ;
DEV_WRITE
pfn_dev_write ;
DEV_ERASE
pfn_dev_erase ;
DEV_CLOSE
pfn_dev_close ;
} DATA_PER_CFG_t, *PDATA_PER_CFG_t ;
The location and type of nonvolatile memory in which values are stored can be configured
whether this memory is present in internal or external Flash. Table 11 specifies the loca-
tion in which these values are stored for the different platforms and configurations in the
eZ80Acclaim! product line.
In addition to any standard linker directives, RZK provides a number of additional linker
directives settings for eZ80Acclaim! target processors, including settings that establish
data persistence within memory. These settings can be made in ZDS II by navigating to
Input Additional Directives within the Linker. Observe the following procedure to estab-
lish data persistence settings for project workspaces.
1. In the
Compiler
tab, under
Code Generation
for all targets, deselect the
One seg-
ment per module
checkbox.
Table 11. Data Storage Location of Values Related to Data Persistence
Platform
eZ80F91
eZ80F92
eZ80F93
eZ80L92
RAM
External Flash at
address 0x104000
External Flash at
address 0x104000
External Flash at
address 0x104000
External Flash at
address 0x104000
FLASH
Internal Flash (infor-
mation page) at
address 0x0
Internal Flash (infor-
mation page) at
address 0x0
Internal Flash (infor-
mation page) at
address 0x0
External Flash at
address 0x02000
COPY TO RAM
Internal Flash (infor-
mation page) at
address 0x0
Internal Flash (infor-
mation page) at
address 0x0
Internal Flash (infor-
mation page) at
address 0x0
External Flash at
address 0x02000