©2011 Silicon Storage Technology, Inc. DS25076A 10/11
7
512 Kbit SPI Serial Flash
SST25VF512
Data Sheet
A
Microchip Technology Company
Status Register
The software status register provides status on whether the flash memory array is available for any
Read or Write operation, whether the device is Write enabled, and the state of the memory Write pro-
tection. During an internal Erase or Program operation, the status register may be read only to deter-
mine the completion of an operation in progress. Table 4 describes the function of each bit in the
software status register.
Busy
The Busy bit determines whether there is an internal Erase or Program operation in progress. A “1” for
the Busy bit indicates the device is busy with an operation in progress. A “0” indicates the device is
ready for the next valid operation.
Write Enable Latch (WEL)
The Write-Enable-Latch bit indicates the status of the internal memory Write Enable Latch. If the
Write-Enable-Latch bit is set to “1”, it indicates the device is Write enabled. If the bit is set to “0” (reset),
it indicates the device is not Write enabled and does not accept any memory Write (Program/Erase)
commands. The Write-Enable-Latch bit is automatically reset under the following conditions:
Power-up
Write-Disable (WRDI) instruction completion
Byte-Program instruction completion
Auto Address Increment (AAI) programming reached its highest memory address
Sector-Erase instruction completion
Block-Erase instruction completion
Chip-Erase instruction completion
Block Protection (BP1, BP0)
The Block-Protection (BP1, BP0) bits define the size of the memory area, as defined in Table 3, to be
software protected against any memory Write (Program or Erase) operations. The Write-Status-Regis-
ter (WRSR) instruction is used to program the BP1 and BP0 bits as long as WP# is high or the Block-
Protect-Lock (BPL) bit is 0. Chip-Erase can only be executed if Block-Protection bits are both 0. After
power-up, BP1 and BP0 are set to 1.
©2011 Silicon Storage Technology, Inc. DS25076A 10/11
8
512 Kbit SPI Serial Flash
SST25VF512
Data Sheet
A
Microchip Technology Company
Block Protection Lock-Down (BPL)
WP# pin driven low (V
IL
), enables the Block-Protection-Lock-Down (BPL) bit. When BPL is set to 1, it
prevents any further alteration of the BPL, BP1, and BP0 bits. When the WP# pin is driven high (V
IH
),
the BPL bit has no effect and its value is “Don’t Care”. After power-up, the BPL bit is reset to 0.
Auto Address Increment (AAI)
The Auto Address Increment Programming-Status bit provides status on whether the device is in AAI
programming mode or Byte-Program mode. The default at power up is Byte-Program mode.
Table 3: Software Status Register Block Protection
1
1. Default at power-up for BP1 and BP0 is ‘11’.
Protection Level
Status
Register Bit
Protected
Memory AreaBP1 BP0
0 0 0 None
1
(1/4 Memory Array)
2
2. Protection Level 1 (1/4 Memory Array) applies to Byte-Program, Sector-Erase, and Chip-Erase operations.
It does not apply to Block-Erase operations.
0 1 0C000H-0FFFFH
2
(1/2 Memory Array)
1 0 08000H-0FFFFH
3
(Full Memory Array)
1 1 00000H-0FFFFH
T3.5 25076
Table 4: Software Status Register
Bit Name Function Default at Power-up Read/Write
0 BUSY 1 = Internal Write operation is in progress
0 = No internal Write operation is in progress
0R
1 WEL 1 = Device is memory Write enabled
0 = Device is not memory Write enabled
0R
2 BP0 Indicate current level of block write protection (See Table 3) 1 R/W
3 BP1 Indicate current level of block write protection (See Table 3) 1 R/W
4:5 RES Reserved for future use 0 N/A
6 AAI Auto Address Increment Programming status
1 = AAI programming mode
0 = Byte-Program mode
0R
7 BPL 1 = BP1, BP0 are read-only bits
0 = BP1, BP0 are read/writable
0 R/W
T4.0 25076
©2011 Silicon Storage Technology, Inc. DS25076A 10/11
9
512 Kbit SPI Serial Flash
SST25VF512
Data Sheet
A
Microchip Technology Company
Instructions
Instructions are used to Read, Write (Erase and Program), and configure the SST25VF512. The
instruction bus cycles are 8 bits each for commands (Op Code), data, and addresses. Prior to execut-
ing any Byte-Program, Auto Address Increment (AAI) programming, Sector-Erase, Block-Erase, or
Chip-Erase instructions, the Write-Enable (WREN) instruction must be executed first. The complete list
of the instructions is provided in Table 5. All instructions are synchronized off a high to low transition of
CE#. Inputs will be accepted on the rising edge of SCK starting with the most significant bit. CE# must
be driven low before an instruction is entered and must be driven high after the last bit of the instruction
has been shifted in (except for Read, Read-ID and Read-Status-Register instructions). Any low to high
transition on CE#, before receiving the last bit of an instruction bus cycle, will terminate the instruction
in progress and return the device to the standby mode. Instruction commands (Op Code), addresses,
and data are all input from the most significant bit (MSB) first.
Table 5: Device Operation Instructions
1
1. A
MS
= Most Significant Address
A
MS
=A
15
for SST25VF512
Address bits above the most significant bit of each density can be V
IL
or V
IH
Bus Cycle
2
2. One bus cycle is eight clock periods.
123 45
Cycle Type/Operation
3,4
3. Operation: S
IN
= Serial In, S
OUT
= Serial Out
4. X = Dummy Input Cycles (V
IL
or V
IH
); - = Non-Applicable Cycles (Cycles are not necessary)
S
IN
S
OUT
S
IN
S
OUT
S
IN
S
OUT
S
IN
S
OUT
S
IN
S
OUT
Read 03H Hi-Z A
23
-A
16
Hi-Z A
15
-A
8
Hi-Z A
7
-A
0
Hi-Z X D
OUT
Sector-Erase
5,6
5. Sector addresses: use A
MS
-A
12
, remaining addresses can be V
IL
or V
IH
6. Prior to any Byte-Program, AAI-Program, Sector-Erase, Block-Erase, or Chip-Erase operation, the Write-Enable
(WREN) instruction must be executed.
20H Hi-Z A
23
-A
16
Hi-Z A
15
-A
8
Hi-Z A
7
-A
0
Hi-Z - -
Block-Erase
5,7
7. Block addresses for: use A
MS
-A
15
, remaining addresses can be V
IL
or V
IH
52H Hi-Z A
23
-A
16
Hi-Z A
15
-A
8
Hi-Z A
7
-A
0
Hi-Z - -
Chip-Erase
6
60H Hi-Z - - - - - - - -
Byte-Program
6
02H Hi-Z A
23
-A
16
Hi-Z A
15
-A
8
Hi-Z A
7
-A
0
Hi-Z D
IN
Hi-Z
Auto Address Increment
(AAI) Program
6,8
8. To continue programming to the next sequential address location, enter the 8-bit command, AFH,
followed by the data to be programmed.
AFH Hi-Z A
23
-A
16
Hi-Z A
15
-A
8
Hi-Z A
7
-A
0
Hi-Z D
IN
Hi-Z
Read-Status-Register
(RDSR)
05H Hi-Z X D
OUT
- Note
9
9. The Read-Status-Register is continuous with ongoing clock cycles until terminated by a low to high transition on CE#.
- Note
9
- Note
9
Enable-Write-Status-Reg-
ister (EWSR)
10
10. The Enable-Write-Status-Register (EWSR) instruction and the Write-Status-Register (WRSR) instruction must work in
conjunction of each other. The WRSR instruction must be executed immediately (very next bus cycle) after the EWSR
instruction to make both instructions effective.
50H Hi-Z - - - - - - - -
Write-Status-Register
(WRSR)
10
01H Hi-Z Data Hi-Z - - -. - - -
Write-Enable (WREN) 06H Hi-Z - - - - - - - -
Write-Disable (WRDI) 04H Hi-Z - - - - - - - -
Read-ID 90H or
ABH
Hi-Z 00H Hi-Z 00H Hi-Z ID
Addr
11
Hi-Z X D
OUT
12
T5.18 25076

S25FL256SAGMFVR00

Mfr. #:
Manufacturer:
Cypress Semiconductor
Description:
NOR Flash Nor
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union