English
Language : 

Z8F0113HJ005EG Datasheet, PDF (158/245 Pages) Zilog, Inc. – High-Performance 8-Bit Microcontrollers
Z8 Encore! XP® F0823 Series
Product Specification
143
Flash Status Register
The Flash Status Register indicates the current state of the Flash Controller. This register
can be read at any time. The read-only Flash Status Register shares its Register File
address with the write-only Flash Control Register.
Table 82. Flash Status Register (FSTAT)
Bit
7
6
5
4
3
2
1
0
Field
Reserved
FSTAT
RESET
0
0
0
0
0
0
0
0
R/W
R
R
R
R
R
R
R
R
Address
FF8H
Bit
[7:6]
[5:0]
FSTAT
Description
Reserved
These bits are reserved and must be programmed to 0 when read.
Flash Controller Status
000000 = Flash Controller locked.
000001 = First unlock command received (73H written).
000010 = Second unlock command received (8CH written).
000011 = Flash Controller unlocked.
000100 = Sector protect register selected.
001xxx = Program operation in progress.
010xxx = Page erase operation in progress.
100xxx = Mass erase operation in progress.
Flash Page Select Register
The Flash Page Select (FPS) register shares address space with the Flash Sector Protect
Register. Unless the Flash controller is unlocked and written with 5EH, writes to this
address target the Flash Page Select Register.
The register is used to select one of the eight available Flash memory pages to be pro-
grammed or erased. Each Flash Page contains 512 bytes of Flash memory. During a Page
Erase operation, all Flash memory having addresses with the most significant 7-bits given
by FPS[6:0] are chosen for program/erase operation.
PS024315-1011
PRELIMINARY
Flash Control Register Definitions