Datasheet

Chapter 4 Memory
MC9S08DZ60 Series Data Sheet, Rev. 4
66 Freescale Semiconductor
4.5.11.5 Flash and EEPROM Status Register (FSTAT)
0x1B 0x2800–0xFFFF 54K 72
0x1A 0x2200–0xFFFF 55.5K 74
0x19 0x1C00–0xFFFF 57K 76
0x18–0x00 0x0000–0xFFFF 64K 86
76543210
R
FCBEF
FCCF
FPVIOL FACCERR
0 FBLANK 0 0
W
Reset 11000000
= Unimplemented or Reserved
Figure 4-9. Flash and EEPROM Status Register (FSTAT)
Table 4-15. FSTAT Register Field Descriptions
Field Description
7
FCBEF
Command Buffer Empty Flag — The FCBEF bit is used to launch commands. It also indicates that the
command buffer is empty so that a new command sequence can be executed when performing burst
programming. The FCBEF bit is cleared by writing a 1 to it or when a burst program command is transferred to
the array for programming. Only burst program commands can be buffered.
0 Command buffer is full (not ready for additional commands).
1 A new burst program command can be written to the command buffer.
6
FCCF
Command Complete Flag FCCF is set automatically when the command buffer is empty and no command
is being processed. FCCF is cleared automatically when a new command is started (by writing 1 to FCBEF to
register a command). Writing to FCCF has no meaning or effect.
0 Command in progress
1 All commands complete
5
FPVIOL
Protection Violation Flag FPVIOL is set automatically when a command that attempts to erase or program
a location in a protected block is launched (the erroneous command is ignored). FPVIOL is cleared by writing a
1 to FPVIOL.
0 No protection violation.
1 An attempt was made to erase or program a protected location.
Table 4-14. Flash Block Protection (continued)
FPS Address Area Protected Memory Size Protected (bytes) Number of Sectors Protected