M29W400
M29W400T
M29W400B
4 Mbit (512Kb x8 or 256Kb x16, Boot Block) Low Voltage Single Supply Flash Memory
NOT FOR NEW DESIGN
M29W400T and M29W400B are replaced respectively by the M29W400BT and M29W400BB
2.7V to 3.6V SUPPLY VOLTAGE for PROGRAM, ERASE and READ OPERATIONS
FAST ACCESS TIME: 90ns FAST PROGRAMMING TIME
±10μs by Byte / 16μs by Word typical PROGRAM/ERASE CONTROLLER (P/E.C.)
±Program Byte-by-Byte or Word-by-Word
±Status Register bits and Ready/Busy Output MEMORY BLOCKS
±Boot Block (Top or Bottom location)
±Parameter and Main blocks
BLOCK, MULTI-BLOCK and CHIP ERASE
MULTI BLOCK PROTECTION/TEMPORARY
UNPROTECTION MODES
ERASE SUSPEND and RESUME MODES
±Read and Program another Block during Erase Suspend
LOW POWER CONSUMPTION
± Stand-by and Automatic Stand-by
100,000 PROGRAM/ERASE CYCLES per BLOCK
20 YEARS DATA RETENTION
±Defectivity below 1ppm/year ELECTRONIC SIGNATURE
±Manufacturer Code: 0020h
±Device Code, M29W400T: 00EEh
±Device Code, M29W400B: 00EFh
DESCRIPTION
The M29W400 is a non-volatile memory that may be erased electrically at the block or chip level and programmedin-system on a Byte-by-Byteor Word- by-Wordbasis using only a single 2.7V to 3.6V VCC supply. For Program and Erase operations the necessary high voltages are generated internally. The device can also be programmed in standard programmers.
The array matrix organisation allows each block to be erased and reprogrammed without affecting other blocks. Blocks can be protected against programing and erase on programming equipment,
44 |
|
|
1 |
TSOP48 (N) |
SO44 (M) |
12 x 20 mm |
|
BGA |
|
FBGA48 (ZA) |
|
8 x 6 solder balls |
|
Figure 1. Logic Diagram
|
VCC |
|
|
18 |
|
15 |
|
A0-A17 |
|
DQ0-DQ14 |
|
W |
|
DQ15A±1 |
|
E |
M29W400T |
BYTE |
|
M29W400B |
|||
|
|
||
G |
|
RB |
|
RP |
|
|
|
|
VSS |
AI02065 |
November 1999 |
1/34 |
This is information on a product still in productionbut not recommended for new designs.
M29W400T, M29W400B
Figure 2A. TSOP Pin Connections |
Figure 2B. TSOP Reverse Pin Connections |
|||||||||
A15 |
1 |
|
48 |
A16 |
A16 |
1 |
|
48 |
A15 |
|
A14 |
|
|
|
BYTE |
BYTE |
|
|
|
A14 |
|
A13 |
|
|
|
VSS |
VSS |
|
|
|
A13 |
|
A12 |
|
|
|
DQ15A±1 |
DQ15A±1 |
|
|
|
A12 |
|
A11 |
|
|
|
DQ7 |
DQ7 |
|
|
|
A11 |
|
A10 |
|
|
|
DQ14 |
DQ14 |
|
|
|
A10 |
|
A9 |
|
|
|
DQ6 |
DQ6 |
|
|
|
A9 |
|
A8 |
|
|
|
DQ13 |
DQ13 |
|
|
|
A8 |
|
NC |
|
|
|
DQ5 |
DQ5 |
|
|
|
NC |
|
NC |
|
|
|
DQ12 |
DQ12 |
|
|
|
NC |
|
W |
|
M29W400T |
|
DQ4 |
DQ4 |
|
M29W400T |
|
W |
|
RP |
12 |
37 |
VCC |
VCC |
12 |
37 |
RP |
|||
M29W400B |
M29W400B |
|||||||||
NC |
13 |
36 |
DQ11 |
DQ11 |
13 |
36 |
NC |
|||
(Normal) |
(Reverse) |
|||||||||
NC |
|
|
DQ3 |
DQ3 |
|
|
NC |
|||
|
|
|
|
|
|
|||||
RB |
|
|
|
DQ10 |
DQ10 |
|
|
|
RB |
|
NC |
|
|
|
DQ2 |
DQ2 |
|
|
|
NC |
|
A17 |
|
|
|
DQ9 |
DQ9 |
|
|
|
A17 |
|
A7 |
|
|
|
DQ1 |
DQ1 |
|
|
|
A7 |
|
A6 |
|
|
|
DQ8 |
DQ8 |
|
|
|
A6 |
|
A5 |
|
|
|
DQ0 |
DQ0 |
|
|
|
A5 |
|
A4 |
|
|
|
G |
G |
|
|
|
A4 |
|
A3 |
|
|
|
VSS |
VSS |
|
|
|
A3 |
|
A2 |
|
|
|
E |
E |
|
|
|
A2 |
|
A1 |
24 |
|
25 |
A0 |
A0 |
24 |
|
25 |
A1 |
|
|
|
|
AI02066 |
|
|
|
|
AI02067 |
|
|
Warning: NC = Not Connected. |
|
|
Warning: NC = Not Connected. |
|
|
|||||
Figure 2C. SO Pin Connections |
|
Table 1. Signal Names |
|
|
||||||
|
|
|
|
|
A0-A17 |
Address Inputs |
|
|
||
NC |
|
1 |
44 |
RP |
DQ0-DQ7 |
Data Input/Outputs, Command Inputs |
||||
RB |
|
2 |
43 |
W |
||||||
|
|
|
|
|
|
|||||
A17 |
|
3 |
42 |
A8 |
DQ8-DQ14 |
Data Input/Outputs |
|
|||
A7 |
|
4 |
41 |
A9 |
|
|||||
|
|
|
|
|
|
|||||
A6 |
|
5 |
40 |
A10 |
DQ15A±1 |
Data Input/Output or Address Input |
||||
A5 |
|
6 |
39 |
A11 |
||||||
|
|
|
|
|
|
|||||
A4 |
|
7 |
38 |
A12 |
E |
Chip Enable |
|
|
||
A3 |
|
8 |
37 |
A13 |
|
|
||||
|
|
|
|
|
|
|||||
A2 |
|
9 |
36 |
A14 |
G |
Output Enable |
|
|
||
A1 |
|
10 |
35 |
A15 |
|
|
|
|
|
|
A0 |
|
11 M29W400T 34 |
A16 |
W |
Write Enable |
|
|
|||
E |
|
12 M29W400B 33 |
BYTE |
|
|
|
|
|
||
VSS |
|
13 |
32 |
VSS |
RP |
Reset / Block Temporary Unprotect |
||||
G |
|
14 |
31 |
DQ15A±1 |
|
|
|
|
|
|
DQ0 |
|
15 |
30 |
DQ7 |
RB |
Ready/Busy Output |
|
|||
DQ8 |
|
16 |
29 |
DQ14 |
|
|
|
|
|
|
DQ1 |
|
17 |
28 |
DQ6 |
BYTE |
Byte/Word Organisation |
|
|||
DQ9 |
|
18 |
27 |
DQ13 |
VCC |
Supply Voltage |
|
|
||
DQ2 |
|
19 |
26 |
DQ5 |
|
|
||||
DQ10 |
|
20 |
25 |
DQ12 |
VSS |
Ground |
|
|
||
DQ3 |
|
21 |
24 |
DQ4 |
|
|
||||
DQ11 |
|
22 |
23 |
VCC |
|
|
|
|
|
AI02068
Warning: NC = Not Connected.
2/34
M29W400T, M29W400B
Figure 2D. FBGA Package Ball Out (Top View)
|
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
|
F |
A13 |
A12 |
A14 |
A15 |
A16 |
BYTE |
DQ15 |
VSS |
|
A±1 |
|||||||||
|
|
|
|
|
|
|
|
||
E |
A9 |
A8 |
A10 |
A11 |
DQ7 |
DQ14 |
DQ13 |
DQ6 |
|
D |
W |
RP |
NC |
NC |
DQ5 |
DQ12 |
VCC |
DQ4 |
|
C |
RB |
NC |
NC |
NC |
DQ2 |
DQ10 |
DQ11 |
DQ3 |
|
B |
A7 |
A17 |
A6 |
A5 |
DQ0 |
DQ8 |
DQ9 |
DQ1 |
|
A |
A3 |
A4 |
A2 |
A1 |
A0 |
E |
G |
VSS |
AI00912
Warning: NC = Not Connected.
Table 2. Absolute Maximum Ratings (1)
Symbol |
|
Parameter |
Value |
Unit |
TA |
|
Ambient Operating Temperature (3) |
±40 to 85 |
°C |
TBIAS |
|
Temperature Under Bias |
±50 to 125 |
°C |
TSTG |
|
Storage Temperature |
±65 to 150 |
°C |
VIO (2) |
|
Input or Output Voltages |
±0.6 to 5 |
V |
VCC |
|
Supply Voltage |
±0.6 to 5 |
V |
V(A9, E, G, RP) |
(2) |
A9, E, G, RP Voltage |
±0.6 to 13.5 |
V |
|
Notes: 1. Except for the rating ºOperating Temperature Rangeº, stresses above those listed in the Table ºAbsolute Maximum Ratingsº may cause permanent damage to the device. These are stress ratings only and operation of the device at these or any other conditions above those indicated in the Operating sections of this specification is not implied. Exposure to Absolute Maximum
Rating conditions for extended periods may affect device reliability. Refer also to the STMicroelectronics SURE Program and other relevant quality documents.
2.Minimum Voltage may undershoot to ±2V during transition and for less than 20ns.
3.Depends on range.
DESCRIPTION (Cont'd)
and temporarily unprotected to make changes in the application. Each block can be programmed and erased over 100,000 cycles.
Instructions for Read/Reset, Auto Select for reading the Electronic Signature or Block Protection status, Programming, Block and Chip Erase, Erase
Suspend and Resume are written to the device in cycles of commands to a CommandInterfaceusing standard microprocessor write timings.
The device is offered in TSOP48 (12 x 20mm), SO44 and FBGA48 (8 x 6 balls, 0.8mm pitch) packages. Both normal and reverse pinouts are available for the TSOP48 package.
3/34
M29W400T, M29W400B
Figure 3. Memory Map and Block Address Table (x8)
M29W400T |
M29W400B |
|
7FFFFh |
7FFFFh |
|
16K BOOT BLOCK |
64K MAIN BLOCK |
|
7C000h |
70000h |
|
7BFFFh |
6FFFFh |
|
8K PARAMETER BLOCK |
64K MAIN BLOCK |
|
7A000h |
60000h |
|
79FFFh |
5FFFFh |
|
8K PARAMETER BLOCK |
64K MAIN BLOCK |
|
78000h |
50000h |
|
77FFFh |
4FFFFh |
|
32K MAIN BLOCK |
64K MAIN BLOCK |
|
70000h |
40000h |
|
6FFFFh |
3FFFFh |
|
64K MAIN BLOCK |
64K MAIN BLOCK |
|
60000h |
30000h |
|
5FFFFh |
2FFFFh |
|
64K MAIN BLOCK |
64K MAIN BLOCK |
|
50000h |
20000h |
|
4FFFFh |
1FFFFh |
|
64K MAIN BLOCK |
64K MAIN BLOCK |
|
40000h |
10000h |
|
3FFFFh |
0FFFFh |
|
64K MAIN BLOCK |
32K MAIN BLOCK |
|
30000h |
08000h |
|
2FFFFh |
||
07FFFh |
||
|
||
64K MAIN BLOCK |
8K PARAMETER BLOCK |
|
20000h |
06000h |
|
1FFFFh |
05FFFh |
|
64K MAIN BLOCK |
8K PARAMETER BLOCK |
|
10000h |
04000h |
|
0FFFFh |
03FFFh |
|
64K MAIN BLOCK |
16K BOOT BLOCK |
|
00000h |
00000h |
|
|
AI02090 |
|
Organisation |
Memory Blocks |
The M29W400 is organised as 512K x8 or 256K x16 bits selectable by the BYTE signal. When BYTE is Low the Byte-wide x8 organisation is selected and the address lines are DQ15A±1 and A0-A17. The Data Input/Output signal DQ15A±1 acts as address line A±1 which selects the lower or upper Byte of the memory word for output on DQ0-DQ7, DQ8-DQ14 remain at High impedance. When BYTE is High the memory uses the address inputs A0-A17 and the Data Input/Outputs DQ0DQ15. Memory control is provided by Chip Enable E, Output Enable G and Write Enable W inputs.
A Reset/BlockTemporary Unprotection RP tri-level input provides a hardware reset when pulled Low, and whenheld High (at VID) temporarily unprotects blocks previously protected allowing them to be programed and erased. Erase and Programoperations are controlled by an internal Program/Erase Controller (P/E.C.). Status Register data output on DQ7 provides a Data Polling signal, and DQ6 and DQ2 provide Toggle signals to indicate the state of the P/E.C operations. A Ready/Busy RB output indicates the completion of the internal algorithms.
The devices feature asymmetrically blocked architecture providing system memory integration.Both M29W400Tand M29W400Bdeviceshave an array of 11 blocks, one Boot Block of 16 KBytes or 8 KWords, two Parameter Blocks of 8 KBytes or 4 KWords, one Main Block of 32 KBytes or 16 KWords and seven Main Blocks of 64 KBytes or 32 KWords. The M29W400T has the Boot Block at the top of the memory address space and the M29W400B locates the Boot Block starting at the bottom. The memory maps are showed in Figure 3. Each block can be erased separately, any combination of blocks can be specified for multi-block erase or the entire chip may be erased. The Erase operations are managed automatically by the P/E.C. The block erase operation can be suspended in order to read from or program to any block not being ersased, and then resumed.
Block protection provides additional data security. Each block can be separately protected or unprotected against Program or Erase on programming equipment. All previously protected blocks can be temporarily unprotected in the application.
4/34
M29W400T, M29W400B
Table 3A. M29W400T Block Address Table
Address Range (x8) |
Address Range (x16) |
A17 |
A16 |
A15 |
A14 |
A13 |
A12 |
00000h-0FFFFh |
00000h-07FFFh |
0 |
0 |
0 |
X |
X |
X |
10000h-1FFFFh |
08000h-0FFFFh |
0 |
0 |
1 |
X |
X |
X |
20000h-2FFFFh |
10000h-17FFFh |
0 |
1 |
0 |
X |
X |
X |
30000h-3FFFFh |
18000h-1FFFFh |
0 |
1 |
1 |
X |
X |
X |
40000h-4FFFFh |
20000h-27FFFh |
1 |
0 |
0 |
X |
X |
X |
50000h-5FFFFh |
28000h-2FFFFh |
1 |
0 |
1 |
X |
X |
X |
60000h-6FFFFh |
30000h-37FFFh |
1 |
1 |
0 |
X |
X |
X |
70000h-77FFFh |
38000h-3BFFFh |
1 |
1 |
1 |
0 |
X |
X |
78000h-79FFFh |
3C000h-3CFFFh |
1 |
1 |
1 |
1 |
0 |
0 |
7A000h-7BFFFh |
3D000h-3DFFFh |
1 |
1 |
1 |
1 |
0 |
1 |
7C000h-7FFFFh |
3E000h-3FFFFh |
1 |
1 |
1 |
1 |
1 |
X |
Table 3B. M29W400B Block Address Table
Address Range (x8) |
Address Range (x16) |
A17 |
A16 |
A15 |
A14 |
A13 |
A12 |
00000h-03FFFh |
00000h-01FFFh |
0 |
0 |
0 |
0 |
0 |
X |
04000h-05FFFh |
02000h-02FFFh |
0 |
0 |
0 |
0 |
1 |
0 |
06000h-07FFFh |
03000h-03FFFh |
0 |
0 |
0 |
0 |
1 |
1 |
08000h-0FFFFh |
04000h-07FFFh |
0 |
0 |
0 |
1 |
X |
X |
10000h-1FFFFh |
08000h-0FFFFh |
0 |
0 |
1 |
X |
X |
X |
20000h-2FFFFh |
10000h-17FFFh |
0 |
1 |
0 |
X |
X |
X |
30000h-3FFFFh |
18000h-1FFFFh |
0 |
1 |
1 |
X |
X |
X |
40000h-4FFFFh |
20000h-27FFFh |
1 |
0 |
0 |
X |
X |
X |
50000h-5FFFFh |
28000h-2FFFFh |
1 |
0 |
1 |
X |
X |
X |
60000h-6FFFFh |
30000h-37FFFh |
1 |
1 |
0 |
X |
X |
X |
70000h-7FFFFh |
38000h-3FFFFh |
1 |
1 |
1 |
X |
X |
X |
Bus Operations
The following operations can be performed using the appropriate bus cycles: Read (Array, Electronic Signature, Block Protection Status), Write com-
mand, Output Disable, Standby, Reset, Block Protection, Unprotection, Protection Verify, Unprotection Verify and Block Temporary Unprotection. See Tables 4 and 5.
5/34
M29W400T, M29W400B
Command Interface
Instructions, made up of commands written in cycles, can be given to the Program/Erase Controller through a Command Interface (C.I.). For added data protection, program or erase execution starts after 4 or 6 cycles. The first, second, fourth and fifth cycles are used to input Coded cycles to the C.I. This Coded sequence is the same for all Program/Erase Controller instructions. The 'Command' itself and its confirmation, when applicable, are given on the third, fourth or sixth cycles. Any incorrect command or any improper command sequence will reset the device to Read Array mode.
Instructions
Seven instructions are defined to perform Read Array, Auto Select (to read the ElectronicSignature or Block Protection Status), Program, Block Erase, Chip Erase, Erase Suspend and Erase Resume. The internal P/E.C. automatically handles all timing and verification of the Program and Erase operations. The Status Register Data Polling, Toggle, Error bits and the RB output may be read at any time, during programming or erase, to monitor the progress of the operation.
Instructions are composed of up to six cycles. The first two cycles input a Coded sequence to the Command Interfacewhich is common to all instructions (see Table 8). The third cycle inputs the instruction set-up command. Subsequent cycles output the addressed data, Electronic Signature or Block Protection Status for Read operations. In order to give additionaldata protection,the instructions for Program and Block or Chip Erase require furthercommand inputs. For a Programinstruction, the fourth command cycle inputs the address and data to be programmed. For an Erase instruction (Block or Chip), the fourth and fifth cycles input a further Coded sequence before the Erase confirm command on the sixth cycle. Erasure of a memory block may be suspended,in order to read data from another block or to program data in another block, and then resumed.
When power is first applied or if VCC falls below VLKO, the command interface is reset to Read Array.
SIGNAL DESCRIPTIONS
See Figure 1 and Table 1.
Address Inputs (A0-A17). The address inputs for the memory array are latched during a write operation on the falling edge of Chip Enable E or Write Enable W. In Word-wide organisation the address lines are A0-A17, in Byte-wide organisation DQ15A±1 acts as an additional LSB address line. When A9 is raised to VID, either a Read Electronic Signature Manufacturer or Device Code, Block Protection Status or a Write Block Protection or Block Unprotection is enabled depending on the combination of levels on A0, A1, A6, A12 and A15.
Data Input/Outputs (DQ0-DQ7). Th e se I n- puts/Outputsare used in the Byte-wide and Wordwide organisations. The input is data to be programmed in the memory array or a command to be written to the C.I. Both are latched on the rising edge of Chip Enable E or Write Enable W. The output is data from the Memory Array, the Electronic Signature Manufacturer or Device codes, the Block Protection Status or the Status register Data Polling bit DQ7, the Toggle Bits DQ6 and DQ2, the Error bit DQ5 or the Erase Timer bit DQ3. Outputs are valid when Chip Enable E and Output Enable G are active. The output is high impedance when the chip is deselected or the outputsare disabled and when RP is at a Low level.
Data Input/Outputs (DQ8-DQ14 and DQ15A±1).
These Inputs/Outputs are additionally used in the Word-wideorganisation.When BYTEis High DQ8DQ14 and DQ15A±1 act as the MSB of the Data Input or Output, functioning as described for DQ0DQ7 above, and DQ8-DQ15 are 'don't care' for command inputs or status outputs. When BYTE is Low, DQ8-DQ14 are high impedance, DQ15A±1 is the AddressA±1 input.
Chip Enable (E). The Chip Enable input activates the memory control logic, input buffers, decoders and sense amplifiers.E Highdeselects the memory and reduces the power consumptionto thestandby level. E can also be used to control writing to the command register and to the memory array, while W remains at a low level. The Chip Enable must be forced to VID during the Block Unprotection operation.
6/34
Output Enable (G). The Output Enable gates the outputs through the data buffers during a read operation. When G is High the outputs are High impedance. G must be forced to VID level during Block Protection and Unprotection operations.
Write Enable (W). Thisinput controls writing to the Command Register and Addressand Data latches.
Byte/Word Organization Select (BYTE). The BYTE input selects the output configurationfor the device: Byte-wide (x8) mode or Word-wide (x16) mode. When BYTE is Low, the Byte-wide mode is selected and the data is read and programmed on DQ0-DQ7. In this mode, DQ8-DQ14 are at high impedance and DQ15A±1 is the LSB address. When BYTE is High, the Word-wide mode is selected and the data is read and programmed on DQ0-DQ15.
Ready/Busy Output (RB). Ready/Busy is an open-drainoutput and gives the internal state of the P/E.C. of the device. When RB is Low, the device is Busy with a Program or Erase operation and it will not accept any additional program or erase instructions except the Erase Suspend instruction. When RB is High, the device is ready for any Read, Program or Erase operation. The RB will also be High when the memory is put in Erase Suspend or Standby modes.
Reset/Block Temporary Unprotect Input (RP).
The RP Input provides hardware reset and protected block(s) temporary unprotection functions. Reset of the memory is acheived by pulling RP to VIL for at least tPLPX. When the reset pulse is given, if the memory is in Read or Standby modes, it will be available for new operations in tPHEL after the rising edge of RP. If the memory is in Erase, Erase Suspend or Program modes the reset will take tPLYH during which the RB signal will be held at VIL. The end of the memory reset will be indicated by the rising edge of RB. A hardware reset during an Erase or Program operation will corrupt the data being programmed or the sector(s) being erased (see Table 14 and Figure 9).
Temporary block unprotection is made by holding RP at VID. In this condition previously protected blocks can be programmed or erased. The transition of RP from VIH to VID must slower than tPHPHH. When RP is returned from VID to VIH all blocks temporarily unprotected will be again protected. See Table 15 and Figure 9.
VCC Supply Voltage. The power supply for all operations (Read, Program and Erase).
VSS Ground. VSS is the reference for all voltage measurements.
M29W400T, M29W400B
DEVICE OPERATIONS
See Tables 4, 5 and 6.
Read. Read operations are used to output the contents of the Memory Array, the Electronic Signature, the Status Register or the Block Protection Status. Both Chip Enable E and Output Enable G must be low in order to read the output of the memory.
Write. Writeoperationsare used to give Instruction Commands to the memory or to latch input data to be programmed. A write operation is initiated when Chip Enable E is Low and Write Enable W is Low with Output Enable G High. Addresses are latched on the falling edge of W or E whichever occurs last. Commands and InputData are latchedon therising edge of W or E whichever occurs first.
Output Disable. The data outputs are high impedance when the Output Enable G is High with Write Enable W High.
Standby. The memory is in standby when Chip Enable E is High and the P/E.C. is idle. The power consumption is reduced to the standby level and the outputs are high impedance, independent of the Output Enable G or Write Enable W inputs.
Automatic Standby. After 150ns of bus inactivity and when CMOS levels are driving the addresses, the chip automatically enters a pseudo-standby mode where consumption is reduced to the CMOS standby value, while outputs still drive the bus.
Electronic Signature. Two codes identifying the manufacturer and the device can be read fromthe memory. The manufacturer 's code for STMicroelectronics is 20h, the device code is EEh for the M29W400T (Top Boot) and EFh for the M29W400B(Bottom Boot). These codes allow programming equipment or applications to automatically match their interface to the characteristics of the M29W400. The Electronic Signature is output by a Read operation when the voltage applied to A9 is at VID and address inputs A1 is Low. The manufacturer code is output when the Address input A0 is Low and the device code when this input is High. Other Address inputs are ignored. The codes are output on DQ0-DQ7.
The Electronic Signature can also be read, without raising A9 to VID, by giving the memory the Instruction AS. If the Byte-wide configuration is selected the codes are output on DQ0-DQ7 with DQ8-DQ14 at High impedance; if the Word-wide configuration is selected the codes are output on DQ0-DQ7 with DQ8-DQ15 at 00h.
7/34
M29W400T, M29W400B
Table 4. User Bus Operations (1)
Operation |
E |
G |
W |
RP |
BYTE |
A0 |
A1 |
A6 |
A9 |
A12 |
A15 |
DQ15 |
DQ8- |
DQ0-DQ7 |
|
A±1 |
DQ14 |
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
Read Word |
VIL |
VIL |
VIH |
VIH |
VIH |
A0 |
A1 |
A6 |
A9 |
A12 |
A15 |
Data |
Data |
Data |
|
Output |
Output |
Output |
|||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
||||
Read Byte |
VIL |
VIL |
VIH |
VIH |
VIL |
A0 |
A1 |
A6 |
A9 |
A12 |
A15 |
Address |
Hi-Z |
Data |
|
Input |
Output |
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
Write Word |
VIL |
VIH |
VIL |
VIH |
VIH |
A0 |
A1 |
A6 |
A9 |
A12 |
A15 |
Data Input |
Data Input |
Data |
|
Input |
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||
Write Byte |
VIL |
VIH |
VIL |
VIH |
VIL |
A0 |
A1 |
A6 |
A9 |
A12 |
A15 |
Address |
Hi-Z |
Data |
|
Input |
Input |
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|||
Output Disable |
VIL |
VIH |
VIH |
VIH |
X |
X |
X |
X |
X |
X |
X |
Hi-Z |
Hi-Z |
Hi-Z |
|
Standby |
VIH |
X |
X |
VIH |
X |
X |
X |
X |
X |
X |
X |
Hi-Z |
Hi-Z |
Hi-Z |
|
Reset |
X |
X |
X |
VIL |
X |
X |
X |
X |
X |
X |
X |
Hi-Z |
Hi-Z |
Hi-Z |
|
Block |
VIL |
VID |
VIL Pulse |
VIH |
X |
X |
X |
X |
VID |
X |
X |
X |
X |
X |
|
Protection(2,4) |
|||||||||||||||
Blocks |
VID |
VID |
VIL Pulse |
VIH |
X |
X |
X |
X |
VID |
VIH |
VIH |
X |
X |
X |
|
Unprotection(4) |
|||||||||||||||
Block |
VIL |
VIL |
VIH |
VIH |
X |
VIL |
VIH |
VIL |
VID |
A12 |
A15 |
X |
X |
Block |
|
Protection |
Protect |
||||||||||||||
Verify(2 ,4) |
|
|
|
|
|
|
|
|
|
|
|
|
|
Status (3) |
|
Block |
|
|
|
|
|
|
|
|
|
|
|
|
|
Block |
|
Unprotection |
VIL |
VIL |
VIH |
VIH |
X |
VIL |
VIH |
VIH |
VID |
A12 |
A15 |
X |
X |
Protect |
|
Verify(2 ,4) |
|
|
|
|
|
|
|
|
|
|
|
|
|
Status (3) |
|
Block |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Temporary |
X |
X |
X |
VID |
X |
X |
X |
X |
X |
X |
X |
X |
X |
X |
|
Unprotection |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Notes: 1. X = VIL or VIH
2.Block Address must be given on A12-A17 bits.
3.See Table 6.
4.Operation performed on programming equipment.
Table 5. Read Electronic Signature (following AS instruction or with A9 = VID)
Org. |
Code |
Device |
E |
G |
W |
BYTE |
A0 |
A1 |
Other |
DQ15 |
DQ8- |
DQ0- |
|
Addresses |
A±1 |
DQ14 |
DQ7 |
||||||||||
|
|
|
|
|
|
|
|
|
|||||
|
Manufact. |
|
VIL |
VIL |
VIH |
VIH |
VIL |
VIL |
Don't Care |
0 |
00h |
20h |
|
Word- |
Code |
|
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|||
|
|
|
|
|
|
|
|
|
|
|
|
||
wide |
Device |
M29W400T |
VIL |
VIL |
VIH |
VIH |
VIH |
VIL |
Don't Care |
0 |
00h |
EEh |
|
|
|||||||||||||
|
Code |
M29W400B |
VIL |
VIL |
VIH |
VIH |
VIH |
VIL |
Don't Care |
0 |
00h |
EFh |
|
|
|
||||||||||||
|
Manufact. |
|
VIL |
VIL |
VIH |
VIL |
VIL |
VIL |
Don't Care |
Don't |
Hi-Z |
20h |
|
|
Code |
|
Care |
||||||||||
|
|
|
|
|
|
|
|
|
|
|
|||
Byte- |
|
M29W400T |
VIL |
VIL |
VIH |
VIL |
VIH |
VIL |
Don't Care |
Don't |
Hi-Z |
EEh |
|
wide |
|
||||||||||||
Device |
Care |
||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|||
|
Code |
|
|
|
|
|
|
|
|
Don't |
|
|
|
|
|
M29W400B |
VIL |
VIL |
VIH |
VIL |
VIH |
VIL |
Don't Care |
Hi-Z |
EFh |
||
|
|
Care |
|||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
Table 6. Read Block Protection with AS Instruction
Code |
E |
G |
W |
A0 |
A1 |
A12-A17 |
Other |
DQ0-DQ7 |
|
Addresses |
|||||||||
|
|
|
|
|
|
|
|
||
Protected Block |
VIL |
VIL |
VIH |
VIL |
VIH |
Block Address |
Don't Care |
01h |
|
Unprotected Block |
VIL |
VIL |
VIH |
VIL |
VIH |
Block Address |
Don't Care |
00h |
8/34
Table 7. Commands
Hex Code |
Command |
|
00h |
Invalid/Reserved |
|
10h |
Chip Erase Confirm |
|
20h |
Reserved |
|
30h |
Block Erase Resume/Confirm |
|
80h |
Set-up Erase |
|
90h |
Read Electronic Signature/ |
|
Block Protection Status |
||
|
||
A0h |
Program |
|
B0h |
Erase Suspend |
|
F0h |
Read Array/Reset |
Block Protection. Each block can be separately protected against Program or Erase on programming equipment. Block protection provides additional data security, as it disables all program or erase operations.Thismodeis activatedwhen both A9 and G are raised to VID and an address in the block is applied on A12-A17. The Block Protection algorithm is shown in Figure 14. Block protectionis initiated on the edge of W falling to VIL. Then after a delay of 100μs, the edge of W rising to VIH ends the protection operations. Block protection verify is achieved by bringing G, E, A0 and A6 to VIL and A1 to VIH, while W is at VIH and A9 at VID. Under these conditions, reading the data output will yield 01h if the block defined by the inputs on A12-A17 is protected. Any attempt to program or erase a protected block will be ignored by the device.
Block Temporary Unprotection. Any previously protected block can be temporarily unprotected in order to change stored data. The temporary unprotection mode is activated by bringing RP to VID. During the temporary unprotection mode the previously protected blocks are unprotected. A block can be selected and data can be modified by executingthe Eraseor Program instruction with the
M29W400T, M29W400B
RP signal held at VID. When RP is returned to VIH, all the previously protected blocks are again protected.
Block Unprotection. All protected blocks can be unprotected on programming equipment to allow updating of bit contents. All blocks must first be protected before the unprotectionoperation. Block unprotection is activated when A9, G and E are at VID and A12, A15 at VIH. The Block Unprotection algorithm is shown in Figure 15. Unprotection is initiated by the edge of W fallingto VIL. Aftera delay of 10ms, the unprotection operation will end. Unprotection verify is achieved by bringing G and E to VIL while A0 is at VIL, A6 and A1 are at VIH and A9 remains at VID. In these conditions, reading the output data will yield 00h if the block defined by the inputs A12-A17 has been succesfully unprotected. Each block must be separatelyverified by giving its address in order to ensure that it has been unprotected.
INSTRUCTIONS AND COMMANDS
The Command Interface latches commands written to the memory. Instructions are made up from one or more commands to perform Read Memory Array, Read Electronic Signature,Read Block Protection, Program, Block Erase, Chip Erase, Erase Suspend and Erase Resume. Commands are made of address and data sequences. The instructions require from 1 to 6 cycles, the first or first three of which are always write operations used to initiate the instruction. They are followed by either further write cycles to confirm the first command or execute the command immediately. Command sequencing must be followed exactly. Any invalid combination of commands will reset the device to Read Array. The increased number of cycles has been chosen to assure maximum data security. Instructions are initialised by two initial Coded cycles which unlock the Command Interface. In addition, for Erase, instruction confirmation is again preceded by the two Coded cycles.
9/34
M29W400T, M29W400B
Table 8. Instructions (1)
Mne.
RD (2,4)
AS (4)
PG
BE
CE
ES (10)
ER
Instr.
Read/Reset
Memory Array
Auto Select
Program
Block Erase
Chip Erase
Erase
Suspend
Erase
Resume
Cyc. |
|
|
|
1st Cyc. |
2nd Cyc. |
3rd Cyc. |
4th Cyc. |
5th Cyc. |
6th Cyc. |
7th Cyc. |
1+ |
Addr. (3,7) |
|
X |
Read Memory Array until a new write cycle is initiated. |
|
|||||
|
|
|
|
|
||||||
|
Data |
|
|
F0h |
|
|
|
|
|
|
|
Addr. (3,7) |
Byte |
AAAAh |
5555h |
AAAAh |
Read Memory Array until a new write cycle |
||||
3+ |
|
|
|
|
||||||
|
|
Word |
5555h |
2AAAh |
5555h |
is initiated. |
|
|
|
|
|
|
|
|
|
|
|||||
|
Data |
|
|
AAh |
55h |
F0h |
|
|
|
|
|
Addr. (3,7) |
Byte |
AAAAh |
5555h |
AAAAh |
Read Electronic Signature or Block |
||||
3+ |
|
|
|
|
||||||
|
|
Word |
5555h |
2AAAh |
5555h |
Protection Status until a new write cycle is |
||||
|
|
|
initiated. See Note 5 and 6. |
|
||||||
|
|
|
|
|
|
|
|
|||
|
Data |
|
|
AAh |
55h |
90h |
|
|
|
|
|
Addr. (3,7) |
Byte |
AAAAh |
5555h |
AAAAh |
Program |
|
|
|
|
|
|
|
|
|
|
|
|
|||
4 |
|
|
Word |
5555h |
2AAAh |
5555h |
Address |
Read Data Polling or Toggle Bit |
||
|
|
|
until Program completes. |
|||||||
|
|
|
|
|
|
|
|
|||
|
Data |
|
|
AAh |
55h |
A0h |
Program |
|
|
|
|
|
|
Data |
|
|
|
||||
|
|
|
|
|
|
|
|
|
|
|
|
Addr. |
(3,7) |
Byte |
AAAAh |
5555h |
AAAAh |
AAAAh |
5555h |
Block |
Additional |
6 |
|
Word |
5555h |
2AAAh |
5555h |
5555h |
2AAAh |
Address |
Block (8) |
|
|
|
|
|
|
||||||
|
Data |
|
|
AAh |
55h |
80h |
AAh |
55h |
30h |
30h |
|
Addr. (3,7) |
Byte |
AAAAh |
5555h |
AAAAh |
AAAAh |
5555h |
AAAAh |
|
|
6 |
|
|
|
|
|
|
|
Note 9 |
||
|
|
Word |
5555h |
2AAAh |
5555h |
5555h |
2AAAh |
5555h |
||
|
|
|
|
|||||||
|
Data |
|
|
AAh |
55h |
80h |
AAh |
55h |
10h |
|
1 |
Addr. (3,7) |
|
X |
Read until Toggle stops, then read all the data needed from any |
||||||
|
|
|
|
Block(s) not being erased then Resume Erase. |
|
|||||
|
Data |
|
|
B0h |
|
|||||
|
|
|
|
|
|
|
|
|
||
1 |
Addr. (3,7) |
|
X |
Read Data Polling or Toggle Bits until Erase completes or Erase is |
||||||
|
|
|
|
suspended another time |
|
|
|
|||
|
Data |
|
|
30h |
|
|
|
|||
|
|
|
|
|
|
|
|
|
Notes: 1. Commands not interpreted in this table will default to read array mode.
2.A wait of tPLYH is necessary after a Read/Reset command if the memory was in an Erase or Program mode before starting any new operation (see Table 14 and Figure 9).
3.X = Don't Care.
4.The first cycles of the RD or AS instructions are followed by read operations. Any number of read cycles can occur after the command cycles.
5.Signature Address bits A0, A1 at VIL will output Manufacturer code (20h). Address bits A0 at VIH and A1 at VIL will output Device code.
6.Block Protection Address: A0 at VIL, A1 at VIH and A12-A17 within the Block will output the Block Protection status.
7.For Coded cycles address inputs A15-A17 are don't care.
8.Optional, additional Blocks addresses must be entered within the erase timeout delay after last write entry, timeout status
can be verified through DQ3 value (see Erase Timer Bit DQ3 description). When full command is entered, read Data Polling or Toggle bit until Erase is completed or suspended.
9.Read Data Polling, Toggle bits or RB until Erase completes.
10.During Erase Suspend,Read and Data Program functions are allowed in blocks not being erased.
Status Register Bits
P/E.C. status is indicated during execution by Data Polling on DQ7, detection of Toggle on DQ6 and DQ2, or Error on DQ5 and Erase Timer DQ3 bits. Any read attempt during Program or Erase command executionwill automaticallyoutput these five Status Register bits. The P/E.C. automaticallysets bits DQ2, DQ3, DQ5, DQ6 and DQ7. Other bits
(DQ0, DQ1 and DQ4) are reserved for future use and should be masked. See Tables 9 and 10.
Data Polling Bit (DQ7). When Programming operations are in progress, this bit outputs the complement of the bit being programmed on DQ7. During Erase operation, it outputs a '0'. After completion of the operation,DQ7 will output the bit last programmed or a '1' after erasing. Data Polling is valid and only effective during P/E.C. operation,
10/34
M29W400T, M29W400B
Table 9. Status Register Bits
DQ |
Name |
Logic Level |
|
|
'1' |
7 |
Data |
'0' |
Polling |
|
|
|
|
|
|
|
DQ |
|
|
DQ |
|
|
'-1-0-1-0-1-0-1-' |
6 |
Toggle Bit |
DQ |
|
||
|
|
'-1-1-1-1-1-1-1-' |
5 |
Error Bit |
'1' |
|
||
|
|
'0' |
4 |
Reserved |
|
|
Erase |
'1' |
3 |
|
|
Time Bit |
|
|
|
|
|
|
|
'0' |
|
|
'-1-0-1-0-1-0-1-' |
2 |
Toggle Bit |
|
|
|
1 |
DQ
1 |
Reserved |
0 |
Reserved |
Definition
Erase Complete or erase block in Erase Suspend
Erase On-going
Program Complete or data of non erase block during Erase Suspend
Program On-going
Erase or Program On-going
Program Complete
Erase Complete or Erase Suspend on currently addressed block
Program or Erase Error
Program or Erase On-going
Erase Timeout Period Expired
Erase Timeout Period
On-going
Chip Erase, Erase or Erase Suspend on the currently addressed block.
Erase Error due to the currently addressed block (when DQ5 = '1').
Program on-going, Erase on-going on another block or Erase Complete
Erase Suspend read on non Erase Suspend block
Note
Indicates the P/E.C. status, check during Program or Erase, and on completion before checking bits DQ5 for Program or Erase Success.
Successive reads output complementary data on DQ6 while Programming or Erase operations are on-going. DQ6 remains at constant level when P/E.C. operations are completed or Erase Suspend is acknowledged.
This bit is set to '1' in the case of Programming or Erase failure.
P/E.C. Erase operation has started. Only possible command entry is Erase Suspend (ES).
An additional block to be erased in parallel can be entered to the P/E.C.
Indicates the erase status and allows to identify the erased block
Notes: Logic level '1' is High, '0' is Low. -0-1-0-0-0-1-1-1-0- represent bit value in successive Read operations.
that is after the fourth W pulse for programming or after the sixth W pulse for erase. It must be performed at the address being programmed or at an address within the block being erased. If all the blocks selected for erasure are protected, DQ7 will be set to '0' for about 100μs, and then return to the previous addressed memory data value. See Figure 11 for the Data Polling flowchart and Figure 10 for the Data Polling waveforms. DQ7 will also flag the Erase Suspend mode by switching from '0' to
'1' at the start of the Erase Suspend. In order to monitor DQ7 in the Erase Suspend mode an address within a block being erased must be provided. For a Read Operation in Erase Suspend mode, DQ7 will output '1' if the read is attempted on a blockbeing erasedand the data valueon other blocks. During Program operation in Erase Suspend Mode, DQ7 will have the same behaviour as in the normal program execution outside of the suspend mode.
11/34