S25FL004A Meet Spansion Inc., S25FL004A Datasheet - Page 20

no-image

S25FL004A

Manufacturer Part Number
S25FL004A
Description
4-megabit Cmos 3.0 Volt Flash Memory With 50 Mhz Spi Bus Interface
Manufacturer
Meet Spansion Inc.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
S25FL004A0LMFI
Manufacturer:
TI
Quantity:
50
Part Number:
S25FL004A0LMFI001
Manufacturer:
SPANSION
Quantity:
20 000
9.8
20
Page Program (PP)
Note
As defined by the values in the Block Protect (BP2, BP1, BP0) bits of the Status Register, as shown in
Table 9.3
either by setting the SRWD bit after driving W# low, or by driving W# low after setting the SRWD bit.
However, the device disables HPM only when W# is driven high.
Note that HPM only protects against changes to the status register. Since BP2:BP0 cannot be changed in
HPM, the size of the protected area of the memory array cannot be changed. Note that HPM provides no
protection to the memory array area outside that specified by BP2:BP0 (Software Protected Mode, or SPM).
If W# is permanently tied high, HPM can never be activated, and only the SPM (BP2:BP0 bits of the Status
Register) can be used.
The Page Program (PP) command changes specified bytes in the memory array (from 1 to 0 only). A WREN
command is required prior to writing the PP command.
The host system must drive CS# low, and then write the PP command, three address bytes, and at least one
data byte on SI. CS# must be driven low for the entire duration of the PP sequence. The command sequence
is shown in
The device programs only the last 256 data bytes sent to the device. If the number of data bytes exceeds this
limit, the bytes sent before the last 256 bytes are discarded, and the device begins programming the last 256
bytes sent at the starting address of the specified page. This may result in data being programmed into
different addresses within the same page than expected. If fewer than 256 data bytes are sent to device, they
are correctly programmed at the requested addresses.
The host system must drive CS# high after the device has latched the 8th bit of the data byte, otherwise the
device does not execute the PP command. The PP operation begins as soon as CS# is driven high. The
device internally controls the timing of the operation, which requires a period of t
be read to check the value of the Write In Progress (WIP) bit while the PP operation is in progress. The WIP
bit is 1 during the PP operation, and is 0 when the operation is completed. The device internally resets the
Write Enable Latch to 0 before the operation completes (the exact timing is not specified).
The device does not execute a Page Program (PP) command that specifies a page that is protected by the
Block Protect bits (BP2:BP0) (see
W# Signal
1
1
0
0
shows that neither W# or SRWD bit by themselves can enable HPM. The device can enter HPM
Figure 9.8 on page 21
SRWD Bit
1
0
0
1
CS#
SCK
SI
SO
Figure 9.7 Write Status Register (WRSR) Command Sequence
Mode 3
Mode 0
Hi-Z
Software
Protected
(SPM)
Hardware
Protected
(HPM)
Mode
0
1
and
Table 7.1 on page
Status Register is writable (if the WREN
command has set the WEL bit). The
values in the SRWD, BP2, BP1 and
BP0 bits can be changed.
Status Register is Hardware write
protected. The values in the SRWD,
BP2, BP1 and BP0 bits cannot be
changed.
2
Command
Write Protection of the Status
Table 9.4 on page
3
S25FL004A
Table 9.3 Protection Modes
4
5
D a t a
6
Register
7
MSB
7
8 9 10 11 12 13 14 15
13).
6
S h e e t
Status Register In
5
24.
4
3
2
1
0
program and erase
program and erase
Protected against
Protected against
Protected Area
(See Note)
commands
commands
S25FL004A_00_B3 July 9, 2007
Table 7.1 on page
PP
. The Status Register may
Ready to accept Page
Ready to accept Page
Program and Sector
Program and Sector
Unprotected Area
Erase commands
Erase commands
(See Note)
13.

Related parts for S25FL004A