Z8F011ASH020EG2156 ZiLOG, Z8F011ASH020EG2156 Datasheet - Page 133

no-image

Z8F011ASH020EG2156

Manufacturer Part Number
Z8F011ASH020EG2156
Description
8-bit Microcontrollers - MCU 1K FLASH 256B RAM 16B NVDS
Manufacturer
ZiLOG
Datasheet

Specifications of Z8F011ASH020EG2156

Rohs
yes
Core
eZ8
Data Bus Width
8 bit
Maximum Clock Frequency
20 MHz
Program Memory Size
1 KB
Data Ram Size
256 B
On-chip Adc
No
Package / Case
SOIC-20
Mounting Style
SMD/SMT
Interface Type
UART
Maximum Operating Temperature
+ 105 C
Minimum Operating Temperature
- 40 C
Number Of Programmable I/os
17
Number Of Timers
2
Program Memory Type
Flash
Supply Voltage - Max
3.6 V
Supply Voltage - Min
2.7 V
PS025113-1212
FHSWP
0 or 1
0
FWP
0
1
At reset, the Flash Controller is locked to prevent accidental program or erasure of Flash
memory. To program or erase Flash memory, first write the target page to the page select
register. Unlock the Flash Controller by making two consecutive writes to the Flash Con-
trol Register with the values
rewritten with the same page previously stored there. If the two page select writes do not
match, the controller reverts to a Locked state. If the two writes match, the selected page
becomes active. See Figure 19 for details.
After unlocking a specific page, you can enable either page program or erase. Writing the
value
tected. Any other value written to the Flash Control Register locks the Flash Controller.
Mass erase is not allowed in the user code, but is allowed through the debug port.
After unlocking a specific page, the user can also write to any byte on that page. After a
byte is written, the page remains unlocked, allowing for subsequent writes to other bytes
on the same page. Further writes to the Flash Control Register causes the active page to
revert to a Locked state.
Sector Based Flash Protection
The final protection mechanism is implemented on a per-sector basis. The Flash memories
of Z8 Encore! devices are divided into maximum number of eight sectors. A sector is one-
eighth of the total size of Flash memory, unless this value is smaller than the page size, in
which case the sector and page sizes are equal. On Z8 Encore! F0830 Series devices, the
sector size is varied according to the Z8 Encore! F0830 Series Flash Memory Configura-
tion shown in
The Flash Sector Protect Register can be configured to prevent sectors from being pro-
grammed or erased. After a sector is protected, it cannot be unprotected by user code. The
Flash Sector Protect Register is cleared after reset and any previously written protection
values is lost. User code must write this register in their initialization routine if they want
to enable sector protection.
The Flash Sector Protect Register shares its Register File address with the Page Select
Register. The Flash Sector Protect Register is accessed by writing the Flash Control Regis-
ter with
Page Select Register address. When user code writes the Flash Sector Protect Register,
Table 71. Flash Code Protection using the Flash Option Bits
Flash Code Protection Description
Programming and erasing disabled for all Flash program memory. In user code pro-
gramming, page erase and mass erase are all disabled. Mass erase is available
through the On-Chip Debugger.
Programming, page erase and mass erase are enabled for all of the Flash program
memory.
95H
5EH
causes a page erase only if the active page resides in a sector that is not pro-
. After the Flash Sector Protect Register is selected, it can be accessed at the
Table 69
on page 108 and in Figures 14 through 18, which follow the table
73H
and
8CH
, sequentially. The page select register must be
Z8 Encore!
Product Specification
®
F0830 Series
Operation
115

Related parts for Z8F011ASH020EG2156