English
Language : 

Z8F1680SH020SG Datasheet, PDF (297/412 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F1680 Series
Product Specification
272
On-Chip Debugger. Writing an invalid value or an invalid sequence returns the Flash
Controller to its locked state. The write-only Flash Control Register shares its Register
File address with the read-only Flash Status Register.
Table 134. Flash Control Register (FCTL)
Bits
7
6
5
4
3
2
1
0
Field
FCMD
Reset
0
0
0
0
0
0
0
0
R/W
W
W
W
W
W
W
W
W
Address
FF8H
Bit
[7:0]
FCMD
Description
Flash Command
73H = First unlock command.
8CH = Second unlock command.
95H = Page Erase command (must be third command in sequence to initiate Page Erase).
63H = Mass Erase command (must be third command in sequence to initiate Mass Erase).
5EH = Enable Flash Sector Protect Register Access
20.3.2. Flash Status Register
The Flash Status register (Table 135) indicates the current state of the Flash Controller.
This register can be read at any time. The read-only Flash Status Register shares its Regis-
ter File address with the write-only Flash Control Register.
Table 135. Flash Status Register (FSTAT)
Bits
7
6
5
4
3
2
1
0
Field
Program_status
FSTAT
Reset
0
0
0
0
0
0
0
0
R/W
R
R
R
R
R
R
R
R
Address
FF8H
Bit
Description
[7:6]
Indicate the fail or success after Flash Write/Erase
Program_ 00 = Success.
status 10 = Success.
11 = Fail due to low power.
01 = Reserved.
PS025015-1212
PRELIMINARY
Flash Memory