ST M29F002BT, M29F002BNT, M29F002BB, M29F002BNB User Manual

查询M29F002BB120K1供应商
2 Mbit (256Kb x8, Boot Block) Single Supply Flash Memory
SINGLE 5V ± 10% SUPPLY VOLTAGE for
PROGRAM, ERAS E and READ O PER AT IONS
ACCESS TIME: 45 ns
PROGRAMMING TIME
7 MEMORY BLOCKS
– 1 Boot Block (Top or Bottom Location) – 2 Parameter and 4 Main Blocks
PROGRAM/ERA SE CON T ROL LER
– 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
TEMPORARY BLOCK UNPROTECTION
MODE
LOW POWER CONSUMPTION
– Standby and Automatic Standby
100,000 PROGRAM/ER ASE CYCL ES per
BLOCK
20 YEARS DATA RETENTION
– Defectivity below 1 ppm/year
ELECTRONIC SIGNATURE
– Manufacturer Code: 20h – Top Device Code M29F002BT: B0h – Top Device Code M29F002BNT: B0h – Bottom Device Code M29F002BB: 34h – Bottom Device Code M29F002BNB: 34h
M29F002BT, M29F002BNT
M29F002BB, M29F002BNB
PLCC32 (K)
32
1
PDIP32 (P)
Figure 1. Logic Diagram
V
CC
18
A0-A17
W
E
G
RP
M29F002BT
M29F002BB M29F002BNT M29F002BNB
TSOP32 (N)
8 x 20mm
8
DQ0-DQ7
V
SS
AI02957B
1/22April 2002
M29F002BT, M29F002BB, M29F002BNT, M29F002BNB
Figure 2. PLCC Connections
A16
A7 A6 A5 A4 A3 A2 A1 A0
DQ0
A12
9
M29F002BNB
DQ1
RP
A15
V
32
1
M29F002BT M29F002BB
17
SS
V
DQ2
DQ3
DQ4
CC
W
DQ5
A17
25
DQ6
A14 A13 A8 A9 A11 G A10 E DQ7
AI02959B
Figure 3. TSOP Connections
A11 G
A9
A8 A13 A14 A17
V
CC RP
A16 A15 A12
A7
A6
A5
A4 A3
1
W
8
M29F002BT M29F002BB
9
16 17
32
25 24
AI02958
A10 E DQ7 DQ6 DQ5 DQ4 DQ3 V
SS
DQ2 DQ1 DQ0 A0 A1 A2
Figure 4. PDIP Connections
1
RP V
2 3
A15
4
A12
5
A7
6
A6
M29F002BT
7
A5
M29F002BB
8
A4 A3 A2 A1 A0
DQ0
DQ2
SS
M29F002BNT
9 10 11 12 13 14 15 16
32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17
AI02960
CC
WA16 A17 A14 A13 A8 A9 A11 G A10 E DQ7 DQ6 DQ5DQ1 DQ4 DQ3V
Table 1. Signal Names
A0-A17 Address Inputs DQ0-DQ7 Data Inputs/Outputs E G W
RP
V V
CC
SS
Chip Enable Output Enable Write Enable M29F002BT, M29F002BB:
Reset/Block Temporary Unprotect M29F002BNT, M29F002BNB:
Not Connected Internally Supply Voltage Ground
2/22
M29F002BT, M29F002BB, M29F 002BNT, M29F002BNB
Table 2. Absolute Maximum Ratings
Symbol Parameter Value Unit
Ambient Operating Temperature (Temperature Range Option 1) 0 to 70 °C
T
A
T
BIAS
T
STG
(2)
V
IO
V
CC
V
ID
Note: 1. Except for the rating "Operating T em perature Range", stres ses above t hose listed in the Table "Abs ol ute 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 indica ted in the Operating sections of this specification i s not impli ed. Exposure to Abs ol ute Maximum Rating condi­tions for extended periods may affect device reliability. Refer also to the STMicroelectronics SURE Program and other relevant qual­ity docume nts.
2. Mini m um Voltage may undershoot to –2 V during transition and for less than 20ns during transitions.
Ambient Operating Temperature (Temperature Range Option 6) –40 to 85 °C Ambient Operating Temperature (Temperature Range Option 3) –40 to 125 °C Temperature Under Bias –50 to 125 °C Storage Temperature –65 to 150 °C
Input or Output Voltage –0.6 to 6 V Supply Voltage –0.6 to 6 V
Identification Voltage –0.6 to 13.5 V
SUMMARY DESCRIPTION
The M29F002B is a 2 Mbit (256Kb x8) non-volatile memory that can be read, erased and repro­grammed. These operations can be performed us­ing a single 5V supply. On power-up the memory defaults to its Read mode where it can be read in the same way as a ROM or EPROM. The M29F002B is fully backward com patible with the M29F002.
The memory is divided into blocks that can be erased independently so it is pos sible to pres erve val i d da t a whi l e o l d da t a is erased . Ea c h b l oc k ca n be protected independently to prev ent accidental Program or Erase commands from modifying the memory. Program and Erase com m ands are writ­ten to the Command Interface of t he memory . An on-chip Program/Erase Controller simplifies the process of programming or erasing the memory by taking care of all of the special operations that are required to update the memory contents. The end
(1)
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.
The blocks in the memory are asymmetrically ar­ranged, see Tables 3A and 3B, Block Addresses . The first or last 64 Kbyte s have bee n divided into four additional blocks. The 16 Kbyte Boot Block can be used for small initialization code to start the microprocessor, the two 8 Kbyte Parameter Blocks can b e us ed for parameter storage and the remaining 32K is a small Main Block where the ap­plication may be stored.
Chip Enable, Output Enable and Write Enable sig­nals control the bus operation of the memory. They allow simple conn ection to most micropro­cessors, often without additional logic.
The memory is offered in TSOP32 (8 x 20mm), PLCC32 and PDIP packages and it is supplied
with all the bits erased (set to ’1’).
Table 3. Top Boot Block Addresses, M29F002BT, M29F002BNT
#
6 16 3C000h-3FFFFh 5 8 3A000h-3BFFFh 4 8 38000h-39FFFh 3 32 30000h-37FFFh 2 64 20000h-2FFFFh 1 64 10000h-1FFFFh 0 64 00000h-0FFFFh
Size
(Kbytes)
Address Range
Table 4. Bottom Boot Block Addresses, M29F002BB
#
6 64 30000h-3FFFFh 5 64 20000h-2FFFFh 4 64 10000h-1FFFFh 3 32 08000h-0FFFFh 2 8 06000h-07FFFh 1 8 04000h-05FFFh 0 16 00000h-03FFFh
Size
(Kbytes)
Address Range
3/22
M29F002BT, M29F002BB, M29F002BNT, M29F002BNB
SIGNAL DESCRIPTIONS
See Figure 1, Logic Diagram, and Table 1, Sign al Names, for a brief overview of the signals connect­ed to this device.
Address Inputs (A0-A17). The Address Inputs select the cells i n the memory array to a ccess dur­ing Bus Read 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 output the data stored at the selected address during a Bus Read operation. During Bus Write operations they represent the commands sent to the Command Interface of the internal state machine.
Chip Enable (E
). The Chip Enable, E, activates
the memory, allowing Bus Read and Bus Write op­erations to be performed. When Chip Enable is High, V
Output Enable (G
, all other pins are ignored.
IH
). 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 Interf a c e .
Reset/Block Temporary Unprotect (RP
). The Re-
set/Block Temporary Unprotect pin can be used to apply a Hardware Reset to the memory or to tem­porarily unprotect all blocks that have been pro­tected. On the M29F002BNT the pin is not connected internally and this feature is not avail­able.
A Hardware Reset is achieved by holding Reset/ Block Temporary Unprotect Low, V t
. After Reset/Block Temporary Unprotect
PLPX
goes High, V
, the memory will be ready for Bus
IH
Read and Bus Write operations after t or t
, whichever occurs last. See Table 15 and
PLYH
, for at least
IL
PHEL
Figure 12, Reset/Temporary Unprotect AC Char­acteristics for more details.
Holding RP
at VID will temporarily unprotect the protected blocks in the memory. Program and Erase operations on all blocks will be possible. The transition from V t
PHPHH
.
to VID must be slower than
IH
Reset/Block Temporary Unprotect can be left un­connected. A weak internal pull-up resistor en­sures that the memory always operates correctly.
V
Supply Voltage. The VCC Supply Voltage
CC
supplies the power for all operations (Read, Pro­gram, Erase etc.).
The Command Interface is disabled when the V
CC
Supply Voltage is less than the L ockout Voltage,
. This prevents Bus Write operations from ac-
V
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 operation aborts and the memo­ry contents being altered will be invalid.
A 0.1µF capacitor should be connected between the V
Supply Voltage pin and the VSS Ground
CC
pin to decouple the current surges from the power supply. The PCB track widths must be sufficient to carry the currents required during program and erase operations, I
V
Ground. The VSS Ground is the reference for
SS
CC4
.
all voltage measurements.
4/22
M29F002BT, M29F002BB, M29F 002BNT, M29F002BNB
BUS OPERATIONS
There are five standard bus operations that control the device. These are Bus Read, Bus Wri te, Out­put Disable, Standby and Automatic Standby. See Table 5, Bus Operations, for a summary. Typically glitches of less than 5ns on Chip Enabl e o r Write Enable are ignored by t he mem ory and do not af­fect bus operations.
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 setting the desired address on the Address Inputs, applying a Low sig nal, V
, to Chip Enable
IL
and Output Enable and keeping Write Enable High, V
. The Data Inputs/Outputs will output the
IH
value, see Figure 9, Rea d Mode AC Wav eforms, and Table 12, 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 desire d address on t he Ad­dress Inputs. The Address Inputs are latched by the Command Interface on the falling edge of Chip Enable or Write Enable, whichever occurs last. The Data Inputs/Outputs a re latched by the Com­mand Interface on the rising edge of Chip Enable or Write Enable, whichever occurs first. Output En­able must remain High, V
, during the whole Bus
IH
Write operation. See Figures 10 and 11, Write AC Waveforms, and Tables 13 and 14, Write AC Characteristics, for details of the timing require­ments.
Output Disa bl e . The Data Inputs/Outputs are in the high impedance s tate when Output Enable is High, V
Standby. When Chip Enable is High, V
.
IH
, the
IH
Data Inputs/Outputs pins are placed in the high­impedance state and the Supply Current is re­duced to the Standby level.
When Chip Enable is at V reduced to the TTL Standby Supply Current, I
the Supply Current is
IH
CC2
To further reduce the Supply Current to the CMOS Standby Supply Current, I be held within V
± 0.2V. For Standby current
CC
, Chip Enable should
CC3
levels see Table 11, DC Characteristics. During program or erase operations the memory
will continue to use the Program/Erase Supply Current, I
, for Program or Erase operations un-
CC4
til the operation completes. Automatic Standby. If CMOS levels (V
± 0.2V)
CC
are used to drive the bus and the bus is inactive for 150ns or more the memory enters Automatic Standby where the internal Supply Current is re­duced to the CMOS Standby Supply Current, I
CC3
The Data In puts/Outputs will s till 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 Protec tion. These bus opera­tions are intended for use by programming equip­ment and are not usually used in applications. They require V
to be applied to some pins.
ID
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 t he signals listed in Table 5, Bus Operations.
Block Protection and Blocks Unprotection. Each block can be separately protected against acci­dental Program or Erase. Protected blocks can be unprotected to allow data to be changed.
There are two methods available for protecting and unprotecting the blocks, one for use on pro­gramming equipment and the other for in-system use. For further information refer to Application Note AN1122, Applying P rotection and Unp rotec­tion to M29 Series Flash.
.
.
Table 5. Bus Operations
Operation E G W Add ress Inputs
Bus Read Bus Write Output Disable X Standby Read Manufacturer
Code
Read Device Code
Note: X = VIL or VIH.
Data
Inputs/Outp uts
V
IL
V
IL
V
IH
V
IL
V
IL
V
IL
V
IH
V
IH
X X X Hi-Z
V
IL
V
IL
V V V
V
V
Cell Address Data Output
IH
Command Address Data Input
IL
X Hi-Z
IH
A0 = VIL, A1 = VIL, A9 = VID,
IH
Others V
A0 = VIH, A1 = VIL, A9 = VID,
IH
Others V
IL
IL
or V
or V
IH
IH
B0h (M29F002BT)
B0h (M29F002BNT)
34h (M29F002BB)
20h
5/22
M29F002BT, M29F002BB, M29F002BNT, M29F002BNB
COMMAND INTERFACE
All Bus Write operations t o the me mory are in ter­preted by the Command Interface. Commands consist of one or more sequential Bus Write oper­ations. Failure to observe a valid sequence of Bus Write operations will result in the memory return­ing to Read mode. The long command sequences are imposed to maximize data security.
The commands are summarized in Table 6, Com­mands. Refer to Table 6 in conjunction with the text descriptions below.
Read/Reset Command. The Read/Reset com­mand returns the memory to its 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 u sed to issue the Read/Reset command.
If the Read/Reset command is issued during a Block Erase operation or following a Programming or Erase error then the memory will take upto 10
µs
to abort. During the abort period no valid data can be read from the mem ory. Issuing a Read/Reset command during a Block Erase operation will leave invalid data in the memory.
Auto Select Command. The Auto Select com­mand is used to read the Manufacturer C ode, t he 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 comma nd is issued the memory remains in Auto Select mode unt il another com­mand is issued.
From the Auto Select mode the Manufacturer Code can be read using a Bus Read operation with A0 = V may be set to either V
and A1 = VIL. The other address bits
IL
or VIH. The Manufa cturer
IL
Code for STMicroelectronics is 20h. The Device Code can be read using a B us Read
operation with A0 = V address bits may be set to e ither V
and A1 = VIL. The other
IH
or VIH. The
IL
Device Code for the M29F002BT is B0h, the M29F002BNT is B0h and the M29F002BB is 34h.
The Block Protecti on St at us of e ac h bl ock can be read using a Bus Rea d operation with A0 = V A1 = V
, and A13-A17 specifying the address of
IH
IL
the block. The other address bits may be set to ei­ther V
or VIH. If the addressed block is protected
IL
then 01h is output on the Data Inputs/Outputs, oth­erwise 00h is output.
Program Command. The Program command can be used to program a value to one address in the memory array at a time. The command re­quires four Bus Write operations, the final write op­eration latches the address and data in the internal
state machine and starts the Program/Erase Con­troller.
If the address falls in a pro tected block then the Program command is ignored, the data remains unchanged. The Status Register is never read and no error condition is given.
During the program operat ion the memo ry will ig­nore all commands. I t is n ot poss ible t o iss ue any command to abort or pause the operation. Typical program times are given in Table 7. Bus Read op­erations during the program o peration will output the Status Register on the Data Inputs/Outputs. See the section on the S tatus Register for more details.
After the program operation has completed the memory will return to the Read mode, unle ss 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 that the Program command cannot change a
bit set at ’0’ bac k to ’1’. One of the E rase Com­mands must be used to set all the bits in a block or in the whole memory from ’0’ to ’1’.
Unlock Bypass Command. The Unlock Bypass command is used in conjunction with the Unlock Bypass Program command to program the 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 requ ired to issue the Unlock Bypass command.
Once the Unlock Bypas s command has bee n is­sued the memory will only accept the Unloc k By­pass Program command and the Unlock Bypass Reset command. The memory can be read as if in Read mode.
Unlock Bypass Program Command. The Un­lock Bypass Prog ram command can be u sed to program one address in memory at a time. The command requires two B us Write operations, the final write operation latches the address and data in the internal stat e machine and starts th e Pro­gram/Erase Controller.
,
The Program operation using the Unlock Bypass Program command behaves identically to the Pro­gram operation using the Program command. A protected block cannot be programmed; the oper­ation cannot be aborted and the Status Register is read. Errors must be reset using the Read/Re set command, which l eaves the d evice in Unlo ck By­pass Mode. See the Program command for details on the behavior.
6/22
M29F002BT, M29F002BB, M29F 002BNT, M29F002BNB
Table 6. 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 Comman d Interface onl y uses address bi ts A 0-A10 to verify the commands , t he upper address bits are Don’ t C are.
Read/Re set. After a Read/Reset command, read the memory as normal until another command is issued. Auto Select. After an Auto S el ect command, read Manufacturer ID, Device ID or Block Prot ection Status. Program, Unlock Bypass Pr o g ram, Chip Erase, Block Eras e. After these comm ands rea d the S tatus Regist er until the P rogram /Erase
Controller completes a nd the memory ret urns to Read Mod e. Add additio nal Blocks durin g B l ock Erase Comm and with additional Bus Write Operation s until the Time out 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 read non-erasing memory blocks as normal, issue Auto Select and Program commands
on non-era sing blocks as normal. Erase Resume. A fte r th e Er as e Res ume com man d th e sus pe nded Eras e o perat ion re sumes , re ad the Stat us R eg ister unt il t he Prog ram/
Erase Cont roller completes and the memory retur ns to Read 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
Unlock Bypass Reset Command. The Unlock
Bypass Reset command can be used to return t o Read/Reset mode from Unlock Bypass Mode. Two Bus Write operations are required to issue the Unlock Bypass Reset command.
Chip Erase Command. The Chip Erase com­mand can be used to erase the entire chip. Six Bus Write operations are required to issue the Chip Erase Command and start the Program/Erase Controller.
If any blocks are protected then these are ignored and all the other blocks are erased. If all of the blocks are protect e d th e Chip Erase op erat i on ap-
pears to start but will terminate within about 100µs, leaving the data unchanged. No error condition is given when protected blocks are ignored.
During the erase operation the memory will ignore all commands. It is not possible to issue any com­mand to abort the operation. Typical chip erase times are given in Table 7. All Bus Read opera­tions during the Chip E rase operation will output the Status Register on the Data Inputs/Outputs. See the section on the S tatus Register for more details.
After the Chip Erase operation has completed t he memory will return to the Read Mode, unle ss 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.
The Chip Erase Command sets all of the bits in un­protected blocks of the memory to ’1’. All previous data is lost.
7/22
Loading...
+ 15 hidden pages