at26f004 ATMEL Corporation, at26f004 Datasheet - Page 8

no-image

at26f004

Manufacturer Part Number
at26f004
Description
At26f004 4-megabit 2.7-volt Only Serial Firmware Dataflash Memory
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at26f004-MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
at26f004-SU
Manufacturer:
LATTICE
Quantity:
86
Part Number:
at26f004-SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
at26f004-SU
Quantity:
2 326
8. Program and Erase Commands
8.1
Figure 8-1.
8
Byte Program
AT26F004
Byte Program
SCK
SO
CS
SI
The Byte Program command allows a single byte of data to be programmed into a previously
erased memory location. An erased memory location is one that has all eight bits set to the logi-
cal “1” state (a byte value of FFh). Before a Byte Program command can be started, the Write
Enable command must have been previously issued to the device (see
13) to set the Write Enable Latch (WEL) bit of the Status Register to a logical “1” state.
To perform a Byte Program command, an opcode of 02h must be clocked into the device fol-
lowed by the three address bytes denoting which byte location of the memory array to program.
After the address bytes have been clocked in, the next byte of data clocked into the device will
be latched internally. If more than one byte of data is clocked in, then only the first byte of data
sent on the SI pin will be stored in the internal latches and all subsequent bytes will be ignored.
When the CS pin is deasserted, the device will take the one byte stored in the internal latches
and program it into the memory array location specified by A23 - A0. The programming of the
byte is internally self-timed and should take place in a time of t
complete byte of data must be clocked into the device before the CS pin is deasserted; other-
wise, the device will abort the operation and no data will be programmed into the memory array.
In addition, if the address specified by A23 - A0 points to a memory location within a sector that
is in the protected state (see
not be executed, and the device will return to the idle state once the CS pin has been deas-
serted. The WEL bit in the Status Register will be reset back to the logical “0” state if the
program cycle aborts due to an incomplete address being sent, an incomplete byte of data being
sent, or because the memory location to be programmed is protected.
While the device is programming, the Status Register can be read and will indicate that the
device is busy. For faster throughput, it is recommended that the Status Register be polled
rather than waiting the t
before the program cycle completes, the WEL bit in the Status Register will be reset back to the
logical “0” state.
The Byte Program mode is the default programming mode after the device powers-up or
resumes from a device reset.
HIGH-IMPEDANCE
MSB
0
0
0
1
0
2
OPCODE
0
3
0
4
0
5
1
6
0
7
BP
MSB
A
8
time to determine if the byte has finished programming. At some point
A
9
ADDRESS BITS A23-A0
“Protect Sector” on page
A
10 11
A
A
12
A
A
29 30
A
A
31 32
MSB
D
15), then the Byte Program command will
D
33
D
34
DATA IN
D
35
BP
D
36
. The three address bytes and a
D
37 38
D
D
39
“Write Enable” on page
3588C–DFLASH–04/06

Related parts for at26f004