English
Language : 

M58BW016DB Datasheet, PDF (36/70 Pages) STMicroelectronics – 16 Mbit (512 Kb x 32, boot block, burst) 3 V supply Flash memories
Status register
M58BW016DT, M58BW016DB, M58BW016FT, M58BW016FB
5.6
Program suspend status (bit 2)
The program suspend status bit indicates that a program operation has been suspended
and is waiting to be resumed. The program suspend status should only be considered valid
when the program/erase controller status bit is set to ‘1’ (program/erase controller inactive);
after a Program/Erase Suspend command is issued the memory may still complete the
operation rather than entering the suspend mode.
When the program suspend status bit is set to ‘0’, the program/erase controller is active or
has completed its operation; when the bit is set to ‘1’, a Program/Erase Suspend command
has been issued and the memory is waiting for a Program/Erase Resume command.
When a Program/Erase Resume command is issued the program suspend status bit returns
to ‘0’.
5.7
Block protection status (bit 1)
The block protection status bit can be used to identify if a program or erase operation has
tried to modify the contents of a protected block.
When the block protection status bit is set to ‘0’, no program or erase operations have been
attempted to protected blocks since the last Clear Status Register command or hardware
reset; when the block protection status bit is set to ‘1’, a program or erase operation has
been attempted on a protected block.
Once set to ‘1’, the block protection status bit can only be reset Low by a Clear Status
Register command or a hardware reset. If set to ‘1’ it should be reset before a new Program
or Erase command is issued, otherwise the new command will appear to fail.
All others bits are reserved.
Table 11. Status register bits
Bit
Name
Logic level
Definition
7
Program/erase controller
status
’1’
Ready
’0’
Busy
6 Erase suspend status
’1’
Suspended
’0’
In progress or completed
5 Erase status
’1’
Erase error
’0’
Erase success
4 Program status,
’1’
Program error
’0’
Program success
3 VPP status
2 Program suspend status
1
Erase/program in a protected
block
Other bits reserved
’1’
VPP invalid, abort
’0’
VPP OK
’1’
Suspended
’0’
In progress or completed
’1’
Program/erase on protected block, abort
’0’
No operations to protected sectors
36/70