Z8F1233QH020SG Zilog, Z8F1233QH020SG Datasheet - Page 119

IC ENCORE XP MCU FLSH 12K 20QFN

Z8F1233QH020SG

Manufacturer Part Number
Z8F1233QH020SG
Description
IC ENCORE XP MCU FLSH 12K 20QFN
Manufacturer
Zilog
Series
Encore!®r
Datasheets

Specifications of Z8F1233QH020SG

Core Processor
Z8
Core Size
8-Bit
Speed
20MHz
Peripherals
Brown-out Detect/Reset, LED, POR, PWM, WDT
Number Of I /o
17
Program Memory Size
12KB (12K x 8)
Program Memory Type
FLASH
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 3.6 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
20-VQFN Exposed Pad, 20-HVQFN, 20-SQFN, 20-DHVQFN
For Use With
770-1002 - ISP 4PORT ZILOG Z8 ENCORE! MCU
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-
Connectivity
-
Other names
269-4656

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
Z8F1233QH020SG
Manufacturer:
Zilog
Quantity:
670
.h Code Protection using Flash Controller
PS025111-1207
Table 68. Flash Code Protection using the Flash Option Bits
At reset, the Flash controller is locked to prevent accidental program or erasure of the
Flash memory. To program or erase the Flash memory, first write the target page to the
page select register. Unlock the Flash controller by making two consecutive writes to the
Flash control register with the values
must be 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
After unlocking a specific page, you can enable either page program or erase. Writing the
value
protected. 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!
one-eighth of the total size of the Flash memory, unless this value is smaller than the page
size, in which case the sector and page sizes are equal. On the Z8 Encore! F0830 Series
devices, the sector size is varied according to the
The sector protect register controls the protection state of each Flash sector. This register
is shared with the page select register. It is accessed by locking the Flash controller and
writing the command byte
protect register.
The sector protect register is initialized to 0 on reset, putting each sector into an
unprotected state. When a bit in the sector protect register is written to 1, the
corresponding sector can no longer be written or erased. After setting a bit in the sector
protect register, the bit cannot be cleared by the user.
FHSWP FWP
0 or 1
0
95H
causes a page erase only if the active page resides in a sector that is not
0
1
®
devices are divided into maximum number of eight sectors. A sector is
Flash Code Protection Description
Programming and erasing disabled for all Flash program memory. In
user code programming, 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 the
Flash program memory.
Figure 19
5EH
. The next write to the page select register targets the sector
for details.
73H
and
8CH
Table
, sequentially. The page select register
67.
Z8 Encore!
Product Specification
®
F0830 Series
Flash Memory
109

Related parts for Z8F1233QH020SG