28F320J5 and 28F640J5
4.2.3
Block Status Register
The Block Status Register indicates whether an erase operation completed successfully or whether
a given block is locked or can be accessed for flash program/erase operations.
Block Erase Status (BSR.1) allows system software to determine the success of the last block erase
operation. BSR.1 can be used just after power-up to verify that the VCC supply was not
accidentally removed during an erase operation. This bit is only reset by issuing another erase
operation to the block. The Block Status Register is accessed from word address 02h within each
block.
Table 8. Block Status Register
Offset
(BA+2)h(1)
Length
Description
Block Lock Status Register
Address
Value
1
BA+2:
--00 or --01
BSR.0 Block Lock Status
0 = Unlocked
BA+2:
(bit 0): 0 or 1
1 = Locked
BSR.1 Block Erase Status
0 = Last erase operation completed successfully
1 = Last erase operation did not complete successfully
BA+2:
BA+2:
(bit 1): 0 or 1
(bit 2–7): 0
BSR 2–7: Reserved for Future Use
NOTE:
1. BA = The beginning location of a Block Address (i.e., 008000h is block 1’s (64-KB block) beginning location
in word mode).
4.2.4
CFI Query Identification String
The Identification String provides verification that the component supports the Common Flash
Interface specification. It also indicates the specification version and supported vendor-specified
command set(s).
Table 9. CFI Identification
Hex
Code
Offset Length
Description
Query-unique ASCII string“QRY”
Add.
Value
10h
3
10
--51
--52
--59
--01
--00
--31
--00
--00
--00
--00
--00
“Q”
“R”
“Y”
11:
12:
13:
14:
15:
16:
17:
18:
19:
1A:
13h
15h
17h
19h
2
2
2
2
Primary vendor command set and control interface ID code.
16-bit ID code for vendor-specified algorithms
Extended Query Table primary algorithm address
Alternate vendor command set and control interface ID code.
0000h means no second vendor-specified algorithm exists
Secondary algorithm Extended Query Table address.
0000h means none exists
Datasheet
21