Winbond Electronics W49F002UT90B, W49F002UT70B, W49F002UT12B, W49F002UP90B, W49F002UP70B Datasheet

...
W49F002U
256K × 8 CMOS FLASH MEMORY
GENERAL DESCRIPTION
The W49F002U is a 2-megabit, 5-volt only CMOS flash memory organized as 256K × 8 bits. The device can be programmed and erased in-system with a standard 5V power supply. A 12-volt VPP is not required. The unique cell architecture of the W49F002U results in fast program/erase operations with extremely low current consumption (compared to other comparable 5-volt flash memory products). The device can also be programmed and erased using standard EPROM programmers.
FEATURES
Single 5-volt operations:
− 5-volt Read
− 5-volt Erase
− 5-volt Program
Fast Program operation:
Byte-by-Byte programming: 35 µS (typ.)
Fast Erase operation: 100 mS (typ.)
Fast Read access time: 70/90/120 nS
Endurance: 10K cycles (typ.)
Ten-year data retention
Hardware data protection
One 16K byte Boot Block with Lockout
protection
Two 8K byte Parameter Blocks
Two Main Memory Blocks (96K, 128K) Bytes
Low power consumption
Active current: 25 mA (typ.)
Standby current: 20 µA (typ.)
Automatic program and erase timing with
internal VPP generation
End of program or erase detection
− Toggle bit
− Data polling
Latched address and data
TTL compatible I/O
JEDEC standard byte-wide pinouts
Available packages: 32-pin DIP and 32-pin
TSOP and 32-pin-PLCC
Publication Release Date: April 2000
- 1 - Revision A2
W49F002U
1
234
7
9
11
12
13
14
15
16
323130
GND
V
DD
10
E
2
3
6
8
12
131415
V
A13
DD
DQ2
3C000
CE
OE
WE
PIN CONFIGURATIONS
RESET
A16 A15 A12
5
A7
6
A6
DQ0
A5 A4 A3 A2 A1 A0
DQ0 DQ1 DQ2
A7 A6 A5 A4 A3 A2 A1 A0
32-pin
8
DIP
10
/ R E
A
S
1
E T
6
32-pin PLCC
G
D
N
Q
D
3
/
V D
W
D
D
D
Q
Q
4
5
A
A
1
1
2
5
5 6 7
8
9
11 12 13
D
D
Q
Q
1
2
BLOCK DIAGRAM
V
DD
WE A17
29
A14
28
A13
27
A8
26
A9
25
A11
24
OE
23
A10
22
CE
21
DQ7
20
DQ6
19
DQ5
18
DQ4
17
DQ3
A 1 7
3031321234
29
A14
28
A13
27
A8
26
A9
25
A11
24
OE
23
A10
22
CE
21
DQ7
20191817161514
D Q 6
V
SS
CE
OE
WE
CONTROL
RESET
A0
.
DECODER
.
A17
PIN DESCRIPTION
OUTPUT BUFFER
BOOT BLOCK
16K BYTES
PARAMETER BLOCK1
8K BYTES
PARAMETER
BLOCK2
8K BYTES
MAIN MEMORY
BLOCK1
96K BYTES
MAIN MEMORY
BLOCK2
128K BYTES
DQ0
. .
DQ7
3FFFF
3BFFF
3A000 39FFF
38000 37FFF
20000 1FFFF
00000
32
A11
A14
A17
RESET
A16 A15 A12
A9 A8
5
WE
9 10 11
A7 A6 A5
16
A4
32-pin TSOP
OE A10
31 30
CE DQ7
29
DQ6
28
DQ5
27
DQ4
26
DQ3
25
GND
24 23
DQ1
22
DQ0
21
A0
20
A1
19
A2
18
A3
17
- 2 -
SYMBOL PIN NAME
RESET A0−A17
DQ0−DQ7
Reset Address Inputs
Data Inputs/Outputs Chip Enable Output Enable Write Enable
VDD Power Supply
GND Ground
W49F002U
FUNCTIONAL DESCRIPTION
Read Mode
The read operation of the W49F002U is controlled by CE and OE, both of which have to be low for the host to obtain data from the outputs. CE is used for device selection. When CE is high, the chip is de-selected and only standby power will be consumed. OE is the output control and is used to gate data from the output pins. The data bus is in high impedance state when either CE or OE is high.
Refer to the timing waveforms for further details.
Reset Operation
The reset input pin can be used in some application. When RESET pin is at high state, the device is in normal operation mode. When at high impedance state. As the high state re-asserted to the RESET pin, the device will return to read or standby mode, it depends on the control signals. When the system drives the RESET pin low
for at least a period of 500 nS, the device immediately terminates any operation in progress duration of the RESET pulse. The other function for RESET pin is temporary reset the boot block. By
applying the 12V to lockout function is enabled.
RESET
RESET
pin, the boot block can be reprogrammed even though the boot block
pin is at low state, it will halts the device and all outputs are
Boot Block Operation
There is one 16K-byte boot block in this device, which can be used to store boot code. It is located in the last 16K bytes with the address range of the boot block is 3C000(hex) to 3FFFF(hex).See Command Code sequence for Boot Block Lockout Enable for the specific code. Once this feature is set the data for the designated block cannot be erased or programmed (programming lockout); other memory locations can be changed with the regular programming method. Once the boot block programming lockout feature is activated, the chip erase function can no longer erase the boot block.
There is one condition that the lockout feature can be overridden. Just apply 12V to lockout feature will temporarily be inactivated and the block can be erased/programmed. Once the
RESET In order to detect whether the boot block feature is set on the 16K-bytes block, users can perform software command code sequence: enter the product identification mode (see Command Codes for Identification/Boot Block Lockout Detection for specific code), and then read from address "0002 (hex)". If the DQ0 of output data is "1," the boot block programming lockout feature is activated; if the
DQ0
erased/programmed. To return to normal operation, perform a three-byte command code sequence (or an alternate single­byte command) to exit the identification mode. For the specific code, see Command Code for Identification/Boot Block Lockout Detection.
pin return to TTL level, the lockout feature will be activated again.
of output data is "0 ," the lockout feature is inactivated and the block can be
RESET
pin, the
Chip Erase Operation
The chip-erase mode can be initiated by a six-byte command code sequence. After the command loading cycle, the device enters the internal chip erase mode, which is automatically timed and will be completed as fast as 100 mS (typical). The host system is not required to provide any control or timing during this operation. The entire memory array will be erased to FF hex. by the chip erase
Publication Release Date: April 2000
- 3 - Revision A2
W49F002U
operation if the boot block programming lockout feature is not activated. Once the boot block lockout feature is activated, the whole chip erase function will erase the two main memory blocks and the two parameter blocks but not the boot block. The device will automatically return to normal read mode after the erase operation. Data polling and/or Toggle Bits can be used to detect end of erase cycle.
Sector Erase Operation
There are four sectors: two main memory blocks and two parameters blocks which can be erased individually by initiating a six-byte command code sequence. Sector address is latched on the falling
edge of WE signal in the sixth cycle while the data input "30(hex)" is latched at the rising edge of WE in this cycle. After the command loading cycle, the device enters the internal sector erase mode, which is automatically timed and will be completed as fast as 100 mS (typical). The host system does not require to provide any control or timing during this operation. The device will automatically return to normal read mode after the erase operation. Data polling and/or Toggle Bits can be used to detect the end of erase cycle.
When different sector address is loaded in the sixth cycle for sector erase command, the correspondent sectors will be erased automatically; that these sections will be erased independedntly. For detail sector to be erased information, please refer to the
Program Operation
The W49F002U is programmed on a byte-by-byte basis. Program operation can only change logical data "1" to logical data "0". The erase operation (changed entire data in two main memory blocks and two parameter blocks and/or boot block from "0" to "1") is needed before programming.
The program operation is initiated by a 4-byte command code sequence (see Command Codes for Byte Programming). The device will internally enter the program operation immediately after the byte­program command is entered. The internal program timer will automatically time-out (50 µS max. ­TBP). Once completed, the device returns to normal read mode. Data polling and/or Toggle Bits can be used to detect end of program cycle.
Table of Command Definition
.
Hardware Data Protection
The integrity of the data stored in the W49F002U is also hardware protected in the following ways: (1) Noise/Glitch Protection: A WE pulse of less than 15 nS in duration will not initiate a write cycle.
DD
(2) V
2.5V typical. (3) Write Inhibit Mode: Forcing OE low, CE high, or WE high will inhibit the write operation. This
prevents inadvertent writes during power-up or power-down periods. (4) VDD power-on delay: When VDD has reached its sense level, the device will automatically time-out
5 mS before any write (erase/program) operation.
Power Up/Down Detection: The programming operation is inhibited when VDD is less than
Data Polling (DQ7)- Write Status Detection
The W49F002U includes a data polling feature to indicate the end of a program or erase cycle. When the W49F002U is in the internal program or erase cycle, any attempt to read DQ7 of the last byte loaded will receive the complement of the true data. Once the program or erase cycle is completed, DQ7 will show the true data. Note that DQ7 will show logical "0" during the erase cycle, and become logical "1" or true data when the erase cycle has been completed.
- 4 -
W49F002U
CE OE WE
Toggle Bit (DQ6)- Write Status Detection
In addition to data polling, the W49F002U provides another method for determining the end of a program cycle. During the internal program or erase cycle, any consecutive attempts to read DQ6 will produce alternating 0's and 1's. When the program or erase cycle is completed, this toggling between 0's and 1's will stop. The device is then ready for the next operation.
Product Identification
The product ID operation outputs the manufacturer code and device code. Programming equipment automatically matches the device with its proper erase and programming algorithms.
The manufacturer and device codes can be accessed by software or hardware operation. In the software access mode, a three-byte (or JEDEC 3-byte) command sequence can be used to access the product ID. A read from address 0000H outputs the manufacturer code DA(hex). A read from address 0001H outputs the device code 0B(hex). The product ID operation can be terminated by a three-byte command code sequence or an alternate one-byte command code sequence (see Command Definition table).
In the hardware access mode, access to the product ID is activated by forcing CE and OE low, WE high, and raising A9 to 12 volts.
TABLE OF OPERATING MODES
Operating Mode Selection
(VHH = 12V ± 5%)
MODE PINS
Read VIH VIL VIL VIH AIN Dout Write VIH VIL VIH VIL AIN Din Standby VIH VIH X X X High Z Write Inhibit VIH X VIL X X High Z/DOUT VIH X X VIH X High Z/DOUT Output Disable VIH X VIH X X High Z Reset Mode VIL X X X X High Z Product ID VIH VIL VIL VIH
VIH VIL VIL VIH
RESET
ADDRESS DQ.
A0 = VIL; A1A17 = VIL; A9 = VHH
A0 = VIH; A1A17 = VIL; A9 = VHH
Manufacturer Code DA (Hex)
Device Code 0B (Hex)
Publication Release Date: April 2000
- 5 - Revision A2
TABLE OF COMMAND DEFINITION
(1)
W49F002U
COMMAND NO.
OF
DESCRIPTION
Read 1 AIN D Chip Erase 6 5555 AA 2AAA 55 5555 80 5555 AA 2AAA 55 5555 10 Sector Erase 6 5555 AA 2AAA 55 5555 80 5555 AA 2AAA 55 SA
Cycles Addr. Data Addr. Data Addr. Data Addr. Data Addr. Data Addr. Data
Byte Program 4 5555 AA 2AAA 55 5555 A0 AIN D Boot Block Lockout 6 5555 AA 2AAA 55 5555 80 5555 AA 2AAA 55 5555 40 Product ID Entry 3 5555 AA 2AAA 55 5555 90 Product ID Exit Product ID Exit
Notes:
1. Address Format: A14−A0 (Hex); Data Format: DQ7-DQ0 (Hex)
2. Either one of the two Product ID Exit commands can be used.
3. SA means: Sector Address
If SA is within 3C000 to 3FFFF (Boot Block address range), and the Boot Block programming lockout feature is activated, nothing will happen and the device will go back to read mode after 100nS.
If the Boot Block programming lockout feature is not activated, this command will erase Boot Block. If SA is within 3A000 to 3BFFF (Parameter Block1 address range), this command will erase PB1. If SA is within 38000 to 39FFF (Parameter Block2 address range), this command will erase PB2. If SA is within 20000 to 37FFF (Main Memory Block1 address range), this command will erase MMB1.
If SA is within 00000 to 1FFFF (Main Memory Block2 address range), this command will erase MMB2.
(2)
3 5555 AA 2AAA 55 5555 F0
(2)
1 XXXX F0
1ST
CYCLE
OUT
2ND
CYCLE
3RD
CYCLE
4TH
CYCLE
5TH
CYCLE
IN
6TH
CYCLE
(3)
30
- 6 -
Command Codes for Byte Program
Command Flow
COMMAND SEQUENCE ADDRESS DATA
0 Write 5555H AAH 1 Write 2AAAH 55H 2 Write 5555H A0H 3 Write Programmed-address Programmed-data
Byte Program Flow Chart
Byte Program
W49F002U
Notes for software program code: Data Format: DQ7−DQ0 (Hex) Address Format: A14−A0 (Hex)
Load data AA
address 2AAA
to
address 5555
Load data 55
to
Load data A0
to
address 5555
Load data Din
to
programmed-
address
Pause T
BP
Exit
Publication Release Date: April 2000
- 7 - Revision A2
Loading...
+ 16 hidden pages