SGS Thomson Microelectronics M29W040B70N1, M29W040B55K1, M29W040B, M29W040B90N6, M29W040B90N1T Datasheet

...
Low Voltage Single Supply Flash Memory
SINGLE 2.7 to3.6V SUPPLY VOLTAGEfor
PROGRAM, ERASE and READ OPERATIONS
ACCESS TIME: 55ns
PROGRAMMING TIME
8 UNIFORM 64 Kbytes MEMORY BLOCKS
PROGRAM/ERASE CONTROLLER
– Embedded Byte Program algorithm – Embedded Multi-Block/Chip Erase algorithm – Status Register Polling and Toggle Bits
ERASE SUSPEND and RESUME MODES
– Read and Program another Block during
Erase Suspend
UNLOCK BYPASS PROGRAM COMMAND
– Faster Production/Batch Programming
LOW POWER CONSUMPTION
– Standby andAutomatic Standby
100,000 PROGRAM/ERASE CYCLES per
BLOCK
20 YEARS DATA RETENTION
– Defectivity below 1 ppm/year
ELECTRONIC SIGNATURE
– Manufacturer Code:20h – Device Code: E3h
M29W040B
4 Mbit (512Kb x8, Uniform Block)
PLCC32 (K)
TSOP32 (NZ)
8 x 14mm
Figure 1. Logic Diagram
V
CC
19
A0-A18
TSOP32 (N)
8 x 20mm
8
DQ0-DQ7
W
M29W040B
E
G
V
SS
AI02953
1/20March 2000
M29W040B
Figure 2. PLCC Connections
A16
A7 A6 A5 A4 A3 A2 A1 A0
DQ0
A12
9
DQ1
A18
A15
1
32
M29W040B
17
SS
V
DQ2
DQ3
V
DQ4
CC
W
DQ5
A17
25
DQ6
A14 A13 A8 A9 A11 G A10 E DQ7
AI02951
Figure 3. TSOP Connections
A11 G
A9
A8 A13 A14 A17
V
CC
A18 A16 A15 A12
A7
A6
A5
A4 A3
1
W
8
M29W040B
9
16 17
32
25 24
AI02952
A10 E DQ7 DQ6 DQ5 DQ4 DQ3 V
SS
DQ2 DQ1 DQ0 A0 A1 A2
Table 1. Signal Names
A0-A18 Address Inputs DQ0-DQ7 Data Inputs/Outputs E Chip Enable G Output Enable W Write Enable V
CC
V
SS
Supply Voltage Ground
SUMMARY DESCRIPTION
The M29W040B is a 4 Mbit (512Kb x8) non-vola­tile memory that can be read, erased and repro­grammed. These operations can be performed using a single lowvoltage (2.7 to 3.6V) supply. On power-up the memory defaults to its Read mode where itcan be read in the sameway as aROM or EPROM. The M29W040B is fully backward com­patible with theM29W040.
The memory is divided into blocks that can be erased independently so it is possible to preserve valid data whileold data is erased. Each block can be protected independently to prevent accidental Program or Erase commands from modifying the memory. Program and Erase commands are writ­ten to the Command Interface of the memory. An on-chip Program/Erase Controller simplifies the process of programming orerasing the memoryby taking care of all ofthe special operations that are required to update thememory contents. The end of a program or erase operation can be detected and any error conditions identified. The command set required to control the memory is consistent with JEDEC standards.
Chip Enable, Output Enable and Write Enable sig­nals control the bus operation of the memory. They allow simple connection to most micropro­cessors, often without additional logic.
The memory is offered in TSOP32 (8 x 20mm), TSOP32 (8 x 14mm) and PLCC32 packages and it is supplied with all the bits erased (set to ‘1’).
2/20
M29W040B
Table 2. Absolute Maximum Ratings
Symbol Parameter Value Unit
T
A
T
BIAS
T
STG
(2)
V
IO
V
CC
V
ID
Note: 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 anyother conditions above those indicated in the Operating sections of this specification is not implied. Exposure to Absolute Maximum Rating condi­tions for extended periods may affect device reliability. Refer also to theSTMicroelectronics SURE Program andotherrelevant qual­ity documents.
2. Minimum Voltage may undershoot to –2V during transition and for less than 20ns during transitions.
Ambient Operating Temperature (Temperature Range Option 1) 0 to 70 °C Ambient Operating Temperature (Temperature Range Option 6) –40 to 85 °C Temperature Under Bias –50 to 125 °C Storage Temperature –65 to 150 °C
Input or Output Voltage –0.6 to 4 V Supply Voltage –0.6 to 4 V Identification Voltage –0.6 to 13.5 V
Table 3. Uniform Block Addresses, M29W040B
#
7 64 70000h-7FFFFh 6 64 60000h-6FFFFh 5 64 50000h-5FFFFh 4 64 40000h-4FFFFh 3 64 30000h-3FFFFh 2 64 20000h-2FFFFh 1 64 10000h-1FFFFh 0 64 00000h-0FFFFh
Size
(Kbytes)
Address Range
(1)
Chip Enable (E). The Chip Enable, E, activates
the memory, allowingBus Read and BusWrite op­erations to be performed. When Chip Enable is High, VIH, all other pins are ignored.
Output Enable (G). The Output Enable, G, con­trols the Bus Read operation of the memory.
Write Enable (W). The Write Enable, W, controls the Bus Write operation of the memory’s Com­mand Interface.
VCCSupply Voltage. The VCCSupply Voltage supplies the power for all operations (Read, Pro­gram, Eraseetc.).
The Command Interface is disabledwhen the V
CC
Supply Voltage is less than the Lockout Voltage, V
. Thisprevents Bus Write operationsfrom ac-
SIGNAL DESCRIPTIONS
See Figure 1, Logic Diagram, and Table 1, Signal Names, forabriefoverview ofthesignalsconnect­ed to this device.
Address Inputs (A0-A18). The Address Inputs select thecells in the memoryarray to access dur­ing BusRead operations. During Bus Write opera­tions they control the commands sent to the Command Interface of the internal state machine.
Data Inputs/Outputs (DQ0-DQ7). The Data In­puts/Outputs outputthe data storedatthe selected address during aBus Readoperation. During Bus Write operations they represent the commands
LKO
cidentally damaging the data during power-up, power-down and power surges. If the Program/ Erase Controller is programming or erasing during this time then the operationaborts and the memo­ry contents being altered will be invalid.
A 0.1µF capacitor should be connected between the VCCSupply Voltage pin and the VSSGround pin to decouple the current surges from the power supply. ThePCB track widthsmust be sufficientto carry the currents required during program and erase operations,I
CC3
.
VSSGround. The VSSGroundis the reference for all voltage measurements.
sent tothe CommandInterfaceof the internal state machine.
3/20
M29W040B
BUS OPERATIONS
There are fivestandard bus operations thatcontrol the device. These are Bus Read, Bus Write, Out­put Disable,Standby andAutomatic Standby. See Table 4,Bus Operations,for asummary. Typically glitches of less than 5ns on Chip Enable or Write Enable are ignored by the memory and do not af­fect busoperations.
Bus Read. Bus Read operations read from the memory cells, or specific registers in the Com­mand Interface. A valid Bus Read operation in­volves settingthe desired address on theAddress Inputs, applying a Low signal, VIL, to Chip Enable and Output Enable and keeping Write Enable High, VIH. The Data Inputs/Outputs will output the value, see the Figure 8, Read Mode AC Wave­forms, and Table 11, Read AC Characteristics, for details of when the output becomes valid.
Bus Write. Bus Write operations write to the Command Interface. A valid Bus Write operation begins by setting the desired address on the Ad­dress Inputs. The Address Inputs are latched by the CommandInterface on thefalling edge of Chip Enable or Write Enable, whichever occurs last. The Data Inputs/Outputs are latched by the Com­mand Interface on the rising edge of Chip Enable or WriteEnable, whicheveroccursfirst.Output En­able must remain High, VIH, during the whole Bus Write operation. See Figures 9 and 10 Write AC Waveforms, and Tables 12 and 13, Write AC Characteristics, for details of the timing require­ments.
Output Disable. The Data Inputs/Outputs are in the high impedance state when Output Enable is High, VIH.
Standby. When Chip Enable is High, VIH, the memory enters Standby mode and the Data In­puts/Outputs pins are placed in the high-imped­ance state. To reduce the Supply Current to the Standby Supply Current, I
, ChipEnable should
CC2
be held withinVCC± 0.2V.For the Standby current level see Table 10, DC Characteristics.
During program or erase operations the memory will continue to use the Program/Erase Supply Current, I
, forProgramor Erase operationsun-
CC3
til the operation completes. Automatic Standby. If CMOSlevels (VCC± 0.2V)
are used to drive the bus andthe bus is inactive for 150ns or more the memory enters Automatic Standby where the internal Supply Current is re­duced to the Standby Supply Current, I
CC2
. The Data Inputs/Outputs will still output data if a Bus Read operation is in progress.
Special Bus Operations
Additional bus operations can be performed to read the Electronic Signature and also to apply and remove Block Protection. These bus opera­tions are intended for use by programming equip­ment and are not usually used in applications. They require VIDto be applied to some pins.
Electronic Signature. The memory has two codes, the manufacturer code and the device code, that can be read to identify the memory. These codes can be read by applying the signals listed in Table 4, Bus Operations.
Block Protection and BlocksUnprotection. Each block can be separately protected against acci­dental Program or Erase.Protected blocks canbe unprotected to allow data to be changed. Block Protection and Blocks Unprotection operations must only be performed on programming equip­ment. For further information refer to Application Note AN1122, Applying Protection and Unprotec­tion to M29 Series Flash.
Table 4. Bus Operations
Operation E G W Address Inputs
Bus Read Bus Write V Output Disable Standby V Read Manufacturer
Code
Read Device Code
Note: X = VILor VIH.
4/20
V
IL
IL
XV
IH
V
IL
V
IL
V
IL
V
IH
IH
XXX Hi-Z
V
IL
V
IL
Data
Inputs/Outpu ts
V
V
V
V
V
Cell Address Data Output
IH
Command Address Data Input
IL
XHi-Z
IH
A0 = VIL,A1=VIL,A9=VID,
IH
Others V A0 = VIL,A1=VIL,A9=VID,
IH
Others V
or V
IL
or V
IL
IH
IH
20h
E3h
M29W040B
COMMAND INTERFACE
All Bus Write operations to the memory are inter­preted by the Command Interface. Commands consist of one or more sequential Bus Write oper­ations. Failureto observe a valid sequence of Bus Write operations will result in the memory return­ing to Readmode.The long command sequences are imposed to maximize data security.
The commands are summarized in Table 5, Com­mands. Refer to Table 5 in conjunction with the text descriptions below.
Read/Reset Command. The Read/Reset com­mand returnsthe memory toits Read mode where it behaves like a ROM or EPROM. It also resets the errors in the Status Register. Either one or three Bus Write operations can be used to issue the Read/Reset command.
If the Read/Reset command is issued during a Block Eraseoperation or followinga Programming or Eraseerror then thememory will take upto 10µs to abort. Duringthe abort period no valid data can be read from the memory. Issuing a Read/Reset command during a Block Erase operation will leave invalid datain the memory.
Auto Select Command. The Auto Select com­mand is used to read the Manufacturer Code, the Device Code and the Block Protection Status. Three consecutive Bus Write operations are re­quired to issue the Auto Select command. Once the Auto Select command is issued the memory remains in Auto Select mode until another com­mand is issued.
From the Auto Select mode the Manufacturer Code can be read using a Bus Read operation with A0 = VILand A1 = VIL. The other address bits may be set to either VILor VIH. The Manufacturer Code for STMicroelectronics is 20h.
The Device Code can be read using a Bus Read operation with A0 = VIHand A1 = VIL. The other address bits may be set to either VILor VIH.The Device Code for the M29W040B is E3h.
The Block Protection Status of each block can be read using a Bus Read operation with A0 = VIL, A1 = VIH, and A16, A17andA18specifying the ad­dress of the block. The other address bits may be set to either VILor VIH. If the addressed block is protected then 01h is output on the Data Inputs/ Outputs, otherwise 00h is output.
Program Command. The Program command can be usedto program a value to one addressin the memory array at a time. The command re­quires fourBus Writeoperations,the finalwriteop­eration latchestheaddressand data inthe internal state machine and starts the Program/Erase Con­troller.
If the address falls in a protected block then the Program command is ignored, the data remains unchanged. The Status Registerisnever read and no errorcondition is given.
During the program operation the memory will ig­nore all commands. It is not possible to issue any command to abort or pause the operation. Typical program timesare given in Table 6.Bus Read op­erations during the program operation will output the Status Register on the Data Inputs/Outputs. See the section on the Status Register for more details.
After the program operation has completed the memory will return to the Read mode, unless an error has occurred. When an error occurs the memory will continue to output the Status Regis­ter. A Read/Reset command must be issued to re­set the error condition and return to Read mode.
Note thatthe Programcommand cannotchange a bit set at ‘0’ back to ‘1’. One of the Erase Com­mands must beused to setall the bits in a block or in the wholememory from ‘0’ to ‘1’.
Unlock Bypass Command. The Unlock Bypass command is used in conjunction with the Unlock Bypass Program commandto programthe memo­ry. When the access time to the device is long (as with some EPROM programmers) considerable time saving can be made by using these com­mands. Three Bus Write operations are required to issue the Unlock Bypass command.
Once the Unlock Bypass command has been is­sued the memory will only accept the Unlock By­pass Program command and the Unlock Bypass Reset command. The memorycan be read as if in Read mode.
Unlock Bypass Program Command. The Un- lock Bypass Program command can be used to program one address in memory at a time. The command requires two Bus Write operations, the final write operation latches the address and data in the internal state machine and starts the Pro­gram/Erase Controller.
The Program operation using the Unlock Bypass Program command behaves identically tothe Pro­gram operation using the Program command. A protected block cannot be programmed; the oper­ation cannot be aborted and theStatusRegister is read. Errors must be reset using the Read/Reset command, which leaves the device in Unlock By­pass Mode. See the Programcommand for details on thebehavior.
Unlock Bypass Reset Command. The Unlock Bypass Reset command can be used to return to Read/Reset mode from Unlock Bypass Mode. TwoBus Write operations are requiredtoissue the Unlock Bypass Reset command.
5/20
M29W040B
Table 5. Commands
Bus Write Operations
Command
Read/Reset
Auto Select 3 555 AA 2AA 55 555 90 Program 4 555 AA 2AA 55 555 A0 PA PD Unlock Bypass 3 555 AA 2AA 55 555 20 Unlock Bypass
Program Unlock Bypass Reset 2 X 90 X 00 Chip Erase 6 555 AA 2AA 55 555 80 555 AA 2AA 55 555 10 Block Erase 6+ 555 AA 2AA 55 555 80 555 AA 2AA 55 BA 30 Erase Suspend 1 X B0 Erase Resume 1 X 30
Note: X Don’t Care, PA Program Address, PD Program Data, BA Any address in the Block. All values in the table are in hexadecimal.
The Command Interface only uses address bits A0-A10 to verify the commands, the upper address bits are Don’t Care.
Read/Reset. After a Read/Reset command, read the memory as normal until another command is issued. Auto Select. After anAuto Select command, read Manufacturer ID, Device ID or Block Protection Status. Program, Unlock Bypass Program, Chip Erase, Block Erase. After these commands read the Status Register until the Program/Erase
Controller completes and the memory returns to Read Mode. Add additional Blocks during Block Erase Command with additional BusWrite Operations until the Timeout Bit is set.
Unlock Bypass. After the Unlock Bypass command issue Unlock Bypass Program or Unlock Bypass Reset commands. Unlock Bypass Reset. After the Unlock Bypass Reset command read the memory as normal until another command is issued. Erase Suspend. After the Erase Suspend command readnon-erasing memory blocksas normal, issue AutoSelect and Program commands
on non-erasing blocks as normal. Erase Resume. After the Erase Resume command the suspended Erase operation resumes, read the Status Register until the Program/
Erase Controller completes and the memory returns toRead Mode.
1X F0 3 555 AA 2AA 55 X F0
2X A0PAPD
1st 2nd 3rd 4th 5th 6th
Length
Addr Data Addr Data Addr Data Addr Data Addr Data Addr Data
Chip Erase Command. The Chip Erase com-
mand canbeusedto erase the entirechip. Six Bus Write operations are required to issue the Chip Erase Command and start the Program/Erase Controller.
If any blocksare protected then these are ignored and all the other blocks are erased. If all of the blocks are protected the ChipErase operation ap­pears tostart butwillterminate within about 100µs, leaving the data unchanged. No error condition is given when protected blocks are ignored.
During the erase operationthe memory will ignore all commands. It is not possible to issue any com­mand to abort the operation. Typical chip erase
6/20
times are given in Table 6. All Bus Read opera­tions during the Chip Erase operation will output the Status Register on the Data Inputs/Outputs. See the section on the Status Register for more details.
After the Chip Erase operation has completed the memory will return to the Read Mode, unless an error has occurred. When an error occurs the memory will continue to output the Status Regis­ter. A Read/Reset command must be issued to re­set the error condition and return to Read Mode.
TheChip Erase Commandsetsallof the bitsinun­protected blocks of the memory to ‘1’. All previous data is lost.
Loading...
+ 14 hidden pages