Z8F640x/Z8F480x/Z8F320x/Z8F240x/Z8F160x
Z8 Encore!®
138
Flash Memory
Overview
The Z8F640x family features up to 64KB (65,536 bytes) of non-volatile Flash memory
with read/write/erase capability. The Flash Memory can be programmed and erased in-cir-
cuit by either user code or through the On-Chip Debugger.
The Flash memory array is arranged in pages with 512 bytes per page. The 512-byte page
is the minimum Flash block size that can be erased. Each page is divided into 8 rows of 64
bytes. The Flash memory also contains a High Sector that can be enabled for writes and
erase separately from the rest of the Flash array. The first 2 bytes of the Flash Program
memory are used as Option Bits. Refer to the Option Bits chapter for more information on
their operation.
Table 83 describes the Flash memory configuration for each device in the Z8F640x fam-
ily. Figure 84 illustrates the Flash memory arrangement.
Table 83. Z8F640x family Flash Memory Configurations
Flash Size
KB (Bytes)
Flash
Pages
Program Memory Flash High Sector Size
High Sector
Addresses
Part Number
Z8F160x
Z8F240x
Z8F320x
Z8F480x
Z8F640x
Addresses
KB (Bytes)
1 (1024)
2 (2048)
2 (2048)
4 (4096)
8 (8192)
16 (16,384)
24 (24,576)
32 (32,768)
48 (49,152)
64 (65,536)
32
48
0000H - 3FFFH
0000H - 5FFFH
0000H - 7FFFH
0000H - BFFFH
0000H - FFFFH
3C00H - 3FFFH
5800H - 5FFFH
7800H - 7FFFH
B000H - BFFFH
E000H - FFFFH
64
96
128
PS017610-0404
Flash Memory