A29002/A290021 Series
256K X 8 Bit CMOS 5.0 Volt-only,
Boot Sector Flash Memory
Features
n5.0V ± 10% for read and write operations
nAccess times:
-55/70/90/120/150 (max.)
nCurrent:
-20 mA typical active read current
-30 mA typical program/erase current
-1 μA typical CMOS standby
nFlexible sector architecture
-16 Kbyte/ 8 KbyteX2/ 32 Kbyte/ 64 KbyteX3 sectors
-Any combination of sectors can be erased
-Supports full chip erase
-Sector protection:
A hardware method of protecting sectors to prevent any inadvertent program or erase operations within that sector
nTop or bottom boot block configurations available
nEmbedded Erase Algorithms
-Embedded Erase algorithm will automatically erase the entire chip or any combination of designated sectors and verify the erased sectors
-Embedded Program algorithm automatically writes and verifies bytes at specified addresses
nTypical 100,000 program/erase cycles per sector
n20-year data retention at 125°C
-Reliable operation for the life of the system
nCompatible with JEDEC-standards
-Pinout and software compatible with single-power- supply Flash memory standard
-Superior inadvertent write protection
nData Polling and toggle bits
-Provides a software method of detecting completion of program or erase operations
nErase Suspend/Erase Resume
-Suspends a sector erase operation to read data from, or program data to, a non-erasing sector, then resumes the erase operation
nHardware reset pin (RESET )
-Hardware method to reset the device to reading array data (not available on A290021)
nPackage options
-32-pin P-DIP, PLCC, or TSOP (Forward type)
General Description
The A29002 is a 5.0 volt-only Flash memory organized as 262,144 bytes of 8 bits each. The A29002 offers the RESET function, but it is not available on A290021. The 256 Kbytes of data are further divided into seven sectors for flexible sector erase capability. The 8 bits of data appear on I/O0 - I/O7 while the addresses are input on A0 to A17. The A29002 is offered in 32-pin PLCC, TSOP, and PDIP packages. This device is designed to be programmed in-system with the standard system 5.0 volt VCC supply. Additional 12.0 volt VPP is not required for in-system write or erase operations. However, the A29002 can also be programmed in standard EPROM programmers.
The A29002 has the first toggle bit, I/O6, which indicates whether an Embedded Program or Erase is in progress, or it is in the Erase Suspend. Besides the I/O6 toggle bit, the A29002 has a second toggle bit, I/O2, to indicate whether the addressed sector is being selected for erase. The A29002 also offers the ability to program in the Erase Suspend mode. The standard A29002 offers access times of 55, 70,9 0, 120, and 150 ns, allowing high-speed microprocessors to operate without wait states. To eliminate bus contention the device has separate chip enable ( CE ), write enable ( WE ) and output enable ( OE ) controls.
The device requires only a single 5.0 volt power supply for both read and write functions. Internally generated and regulated voltages are provided for the program and erase operations.
The A29002 is entirely software command set compatible with the JEDEC single-power-supply Flash standard. Commands are written to the command register using standard microprocessor write timings. Register contents serve as input to an internal state-machine that controls the erase and programming circuitry. Write cycles also internally latch addresses and data needed for the programming and erase operations. Reading data out of the device is similar to reading from other Flash or EPROM devices.
Device programming occurs by writing the proper program command sequence. This initiates the Embedded Program algorithm - an internal algorithm that automatically times the program pulse widths and verifies proper program margin.
Device erasure occurs by executing the proper erase command sequence. This initiates the Embedded Erase algorithm - an internal algorithm that automatically preprograms the array (if it is not already programmed) before executing the erase operation. During erase, the device automatically times the erase pulse widths and verifies proper erase margin.
(December, 2002, Version 1.1) |
1 |
AMIC Technology, Corp. |
A29002/A290021 Series
The host system can detect whether a program or erase
operation is complete by reading the I/O7 (Data Polling) and I/O6 (toggle) status bits. After a program or erase cycle has been completed, the device is ready to read array data or accept another command.
The sector erase architecture allows memory sectors to be erased and reprogrammed without affecting the data contents of other sectors. The A29002 is fully erased when shipped from the factory.
The hardware sector protection feature disables operations for both program and erase in any combination of the sectors
Pin Configurations
of memory. This can be achieved via programming equipment.
The Erase Suspend feature enables the user to put erase on hold for any period of time to read data from, or program data to, any other sector that is not selected for erasure. True background erase can thus be achieved.
Power consumption is greatly reduced when the device is placed in the standby mode.
The hardware RESET pin terminates any operation in progress and resets the internal state machine to reading array data (This feature is not available on the A290021).
n DIP |
|
|
|
|
|
|
|
NC on A290021 |
|
||
RESET |
1 |
|
32 |
VCC |
|
A16 |
2 |
|
31 |
WE |
|
A15 |
3 |
|
30 |
A17 |
|
A12 |
4 |
|
29 |
A14 |
|
A7 |
5 |
A29002/A290021 |
28 |
A13 |
|
A6 |
6 |
27 |
A8 |
||
|
|||||
A5 |
7 |
|
26 |
A9 |
|
A4 |
8 |
|
25 |
A11 |
|
A3 |
9 |
|
24 |
OE |
|
A2 |
10 |
|
23 |
A10 |
|
A1 |
11 |
|
22 |
CE |
|
A0 |
12 |
|
21 |
I/O7 |
|
I/O0 |
13 |
|
20 |
I/O6 |
|
I/O1 |
14 |
|
19 |
I/O5 |
|
I/O2 |
15 |
|
18 |
I/O4 |
|
VSS |
16 |
|
17 |
I/O3 |
n PLCC
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NC on A290021 |
|||||||
|
|
|
|
A12 |
|
A15 |
A16 |
|
RESET |
VCC |
|
WE |
|
A17 |
|
|
|
|
|||||
|
|
|
|
|
|
|
|
|
|
|
|
||||||||||||
|
|
|
|
|
|
|
|
|
|||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
3 |
|
2 |
1 |
|
32 |
|
31 |
30 |
|
|
|
|
|
|||||||
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A14 |
||
A7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
|
|
|||||
A6 |
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
28 |
|
|
A13 |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
A5 |
|
7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
|
|
A8 |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|||||||
A4 |
|
8 |
|
|
|
A29002L/ |
26 |
|
|
A9 |
|||||||||||||
|
|
|
|
|
|
||||||||||||||||||
A3 |
|
9 |
|
|
|
25 |
|
|
A11 |
||||||||||||||
|
|
|
|
A290021L |
|
|
|||||||||||||||||
|
|
10 |
|
|
|
|
|
|
|
|
|
||||||||||||
A2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
24 |
|
|
OE |
|||||
A1 |
|
11 |
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
|
|
A10 |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A0 |
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
22 |
|
|
CE |
||||
I/O0 |
|
13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
|
|
I/O7 |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
||||||||
|
|
14 |
15 |
|
16 |
17 |
|
18 |
|
19 |
20 |
|
|
|
|
|
|||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I/O1 |
|
I/O2 |
VSS |
|
I/O3 |
I/O4 |
|
I/O5 |
|
I/O6 |
|
|
|
|
n TSOP (Forward type)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A11 |
|
1 |
|
32 |
|
OE |
|||
|
|
|
A9 |
|
2 |
|
31 |
|
A10 |
|||
|
|
|
||||||||||
|
|
|
A8 |
|
3 |
|
30 |
|
CE |
|||
|
|
|
A13 |
|
4 |
|
29 |
|
I/O7 |
|||
|
|
|
A14 |
|
5 |
|
28 |
|
I/O6 |
|||
|
|
|
A17 |
|
6 |
|
27 |
|
I/O5 |
|||
|
|
|
WE |
|
7 |
A29002V/A290021V |
26 |
|
I/O4 |
|||
|
|
|
VCC |
|
8 |
25 |
|
I/O3 |
||||
|
|
|||||||||||
|
|
|
|
|
|
9 |
24 |
|
VSS |
|||
|
|
RESET |
|
|
||||||||
|
|
|
A16 |
|
10 |
|
23 |
|
I/O2 |
|||
NC on A290021 A15 |
|
11 |
|
22 |
|
I/O1 |
||||||
|
|
|
||||||||||
|
|
|
A12 |
|
12 |
|
21 |
|
I/O0 |
|||
|
|
|
||||||||||
|
|
|
A7 |
|
13 |
|
20 |
|
A0 |
|||
|
|
|
||||||||||
|
|
|
A6 |
|
14 |
|
19 |
|
A1 |
|||
|
|
|
A5 |
|
15 |
|
18 |
|
A2 |
|||
|
|
|
A4 |
|
16 |
|
17 |
|
A3 |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|
(December, 2002, Version 1.1) |
2 |
AMIC Technology, Corp. |
A29002/A290021 Series
Block Diagram
I/O0 - I/O7
VCC |
|
|
|
|
|
|
VSS |
|
|
Erase Voltage |
|
|
|
|
|
|
|
|
|
|
|
|
|
Generator |
|
|
|
WE |
State |
|
|
|
|
|
Control |
|
|
|
|
|
|
|
|
|
|
|
|
|
RESET |
|
|
|
|
|
|
(N/A A290021) |
Command |
PGM Voltage |
|
|
|
|
|
Register |
Generator |
|
|
|
|
|
|
|
Chip Enable |
|
||
|
|
|
|
|
||
CE |
|
|
|
Output Enable |
STB |
|
|
|
|
|
Logic |
||
|
|
|
|
|
||
OE |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Y-Decoder |
|
|
|
|
STB |
Latch |
|
|
|
VCC Detector |
Timer |
|
|
|
|
|
|
Address |
|
|
||
|
|
|
|
X-decoder |
|
|
A0-A17 |
|
|
|
|
|
|
|
|
|
|
|
|
Input/Output
Buffers
Data Latch
Y-Gating
Cell Matrix
Pin Descriptions
|
Pin No. |
Description |
|||||
|
|
|
|
|
|
|
|
A0 - A17 |
Address Inputs |
||||||
|
|
|
|
|
|
|
|
I/O0 - I/O7 |
Data Inputs/Outputs |
||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Chip Enable |
|
|
|
CE |
||||
|
|
|
|
|
|
||
|
|
|
|
|
|
|
Write Enable |
|
|
WE |
|||||
|
|
|
|
|
|||
|
|
|
|
|
|
|
Output Enable |
|
|
OE |
|||||
|
|
||||||
|
|
|
|
|
|
|
Hardware Reset (N/A A290021) |
RESET |
|||||||
|
|
|
|||||
|
VSS |
Ground |
|||||
|
|
|
|||||
|
VCC |
Power Supply |
|||||
|
|
|
|
|
|
|
|
(December, 2002, Version 1.1) |
3 |
AMIC Technology, Corp. |
A29002/A290021 Series
Absolute Maximum Ratings*
Ambient Operating Temperature . . . . . -55°C to + 125°C Storage Temperature . . . . . . . . . . . . . . -65°C to + 125°C Ground to VCC . . . . . . . . . . . . . . . . . . . . . . -2.0V to 7.0V Output Voltage (Note 1) . . . . . . . . . . . . . . . -2.0V to 7.0V
A9, OE & RESET (Note 2) . . . . . . . . . . . -2.0V to 12.5V All other pins (Note 1) . . . . . . . . . . . . . . . . . -2.0V to 7.0V Output Short Circuit Current (Note 3) . . . . . . . . . . 200mA
Notes:
1.Minimum DC voltage on input or I/O pins is -0.5V. During voltage transitions, inputs may undershoot VSS to -2.0V for periods of up to 20ns. Maximum DC voltage on output and I/O pins is VCC +0.5V. During voltage transitions, outputs may overshoot to VCC +2.0V for periods up to 20ns.
2.Minimum DC input voltage on A9 pins is -0.5V. During
voltage transitions, A9, OE and RESET may overshoot VSS to -2.0V for periods of up to 20ns. Maximum DC
input voltage on A9 and OE is +12.5V which may
overshoot to 13.5V for periods up to 20ns.( RESET is N/A on A290021)
3.No more than one output is shorted at a time. Duration of the short circuit should not be greater than one second.
Device Bus Operations
This section describes the requirements and use of the device bus operations, which are initiated through the internal command register. The command register itself does not occupy any addressable memory location. The register is composed of latches that store the commands, along with the address and data information needed to
*Comments
Stresses above those listed under "Absolute Maximum Ratings" may cause permanent damage to this device. These are stress ratings only. Functional operation of this device at these or any other conditions above those indicated in the operational sections of these specification is not implied or intended. Exposure to the absolute maximum rating conditions for extended periods may affect device reliability.
Operating Ranges
Commercial (C) Devices
Ambient Temperature (TA) . . . . . . . . . . . . . . 0°C to +70°C
VCC Supply Voltages
VCC for ± 10% devices . . . . . . . . . . . . . . +4.5V to +5.5V Operating ranges define those limits between which the functionally of the device is guaranteed.
execute the command. The contents of the register serve as inputs to the internal state machine. The state machine outputs dictate the function of the device. The appropriate device bus operations table lists the inputs and control levels required, and the resulting output. The following subsections describe each of these operations in further detail.
Table 1. A29002/A290021 Device Bus Operations
Operation |
|
|
|
|
|
|
|
|
|
|
|
|
A0 – A17 |
I/O0 - I/O7 |
|
CE |
OE |
WE |
|
RESET |
|||||||||
|
|
|
|
|
|
|
|
|
|
(N/A A290021) |
|
|
||
|
|
|
|
|
|
|
|
|
|
|
|
|||
Read |
|
L |
|
L |
|
H |
|
|
H |
AIN |
DOUT |
|||
Write |
|
L |
|
H |
|
L |
|
|
H |
AIN |
DIN |
|||
CMOS Standby |
VCC ± 0.5 V |
|
X |
|
X |
|
VCC ± 0.5 V |
X |
High-Z |
|||||
TTL Standby |
|
H |
|
X |
|
X |
|
VCC ± 0.5 V |
X |
High-Z |
||||
|
|
|
|
|
|
|
|
|
|
|
|
|||
Output Disable |
|
L |
|
H |
|
H |
|
|
H |
X |
High-Z |
|||
|
|
|
|
|
|
|
|
|
|
|
|
|||
Reset |
|
X |
|
X |
|
X |
|
|
L |
X |
High-Z |
|||
Temporary Sector Unprotect (Note) |
|
X |
|
X |
|
X |
|
|
VID |
X |
X |
Legend:
L = Logic Low = VIL, H = Logic High = VIH, VID = 12.0 ± 0.5V, X = Don't Care, DIN = Data In, DOUT = Data Out, AIN = Address In Note: 1. See the "Sector Protection/Unprotection" section and Temporary Sector Unprotect for more information.
2. This function is not available on A290021.
(December, 2002, Version 1.1) |
4 |
AMIC Technology, Corp. |
A29002/A290021 Series
Requirements for Reading Array Data
To read array data from the outputs, the system must drive
the CE and OE pins to V IL. CE is the power control and
selects the device. OE is the output control and gates
array data to the output pins. WE should remain at V IH all the time during read operation. The internal state machine is set for reading array data upon device power-up, or after a hardware reset. This ensures that no spurious alteration of the memory content occurs during the power transition. No command is necessary in this mode to obtain array data. Standard microprocessor read cycles that assert valid addresses on the device address inputs produce valid data on the device data outputs. The device remains enabled for read access until the command register contents are altered.
See "Reading Array Data" for more information. Refer to the AC Read Operations table for timing specifications and to the Read Operations Timings diagram for the timing waveforms, l CC1 in the DC Characteristics table represents the active current specification for reading array data.
Writing Commands/Command Sequences
To write a command or command sequence (which includes programming data to the device and erasing
sectors of memory), the system must drive WE and CE to
VIL, and OE to VIH. An erase operation can erase one sector, multiple sectors, or the entire device. The Sector Address Tables indicate the address range that each sector occupies. A "sector address" consists of the address inputs required to uniquely select a sector. See the "Command Definitions" section for details on erasing a sector or the entire chip, or suspending/resuming the erase operation.
After the system writes the autoselect command sequence, the device enters the autoselect mode. The system can then read autoselect codes from the internal register (which is separate from the memory array) on I/O7 - I/O0. Standard read cycle timings apply in this mode. Refer to the "Autoselect Mode" and "Autoselect Command Sequence" sections for more information.
ICC2 in the Characteristics table represents the active current specification for the write mode. The "AC Characteristics" section contains timing specification tables and timing diagrams for write operations.
Program and Erase Operation Status
During an erase or program operation, the system may check the status of the operation by reading the status bits on I/O7 - I/O0. Standard read cycle timings andI CC read specifications apply. Refer to "Write Operation Status" for more information, and to each AC Characteristics section for timing diagrams.
Standby Mode
When the system is not reading or writing to the device, it can place the device in the standby mode. In thism ode, current consumption is greatly reduced, and the outputs are
placed in the high impedance state, independent of the OE input.
The device enters the CMOS standby mode when the CE
& RESET pins ( CE only on A290021) are both held at VCC
± 0.5V. (Note that this is a more restricted voltage range than VIH.) The device enters the TTL standby mode when
CE is held at V IH, while RESET (Not available on A290021) is held at VCC±0.5V. The device requires the standard access time (tCE) before it is ready to read data.
If the device is deselected during erasure or programming, the device draws active current until the operation is completed.
ICC3 in the DC Characteristics tables represents the standby current specification.
Output Disable Mode
When the OE input is at V IH, output from the device is disabled. The output pins are placed in the high impedance state.
RESET : Hardware Reset Pin (N/A on A290021)
The RESET pin provides a hardware method of resetting the device to reading array data. When the system drives
the RESET pin low for at least a period oft RP, the device immediately terminates any operation in progress, tristates all data output pins, and ignores all read/write attempts for
the duration of the RESET pulse. The device also resets the internal state machine to reading array data. The operation that was interrupted should be reinitiated once the device is ready to accept another command sequence, to ensure data integrity.
The RESET pin may be tied to the system reset circuitry. A system reset would thus also reset the Flash memory, enabling the system to read the boot-up firmware from the Flash memory.
Refer to the AC Characteristics tables for RESET parameters and diagram.
(December, 2002, Version 1.1) |
5 |
AMIC Technology, Corp. |
A29002/A290021 Series
Table 2. A29002/A290021 Top Boot Block Sector Address Table
Sector |
A17 |
|
A16 |
A15 |
A14 |
A13 |
Sector Size |
Address Range |
|
|
|
|
|
|
|
|
(Kbytes) |
|
|
|
|
|
|
|
|
|
|
|
|
SA0 |
0 |
|
0 |
X |
X |
X |
64 |
00000h |
- 0FFFFh |
SA1 |
0 |
|
1 |
X |
X |
X |
64 |
10000h |
- 1FFFFh |
SA2 |
1 |
|
0 |
X |
X |
X |
64 |
20000h |
- 2FFFFh |
SA3 |
1 |
|
1 |
0 |
X |
X |
32 |
30000h |
- 37FFFh |
|
|
|
|
|
|
|
|
|
|
SA4 |
1 |
|
1 |
1 |
0 |
0 |
8 |
38000h |
- 39FFFh |
|
|
|
|
|
|
|
|
|
|
SA5 |
1 |
|
1 |
1 |
0 |
1 |
8 |
3A000h |
- 3BFFFh |
SA6 |
1 |
|
1 |
1 |
1 |
X |
16 |
3C000h - 3FFFFh |
|
|
|
Table 3. A29002/A290021 Bottom Boot Block Sector Address Table |
|
||||||
|
|
|
|
|
|
|
|
|
|
Sector |
A17 |
|
A16 |
A15 |
A14 |
A13 |
Sector Size |
Address Range |
|
|
|
|
|
|
|
|
(Kbytes) |
|
|
|
|
|
|
|
|
|
|
|
|
SA0 |
0 |
|
0 |
0 |
0 |
X |
16 |
00000h |
- 03FFFh |
|
|
|
|
|
|
|
|
|
|
SA1 |
0 |
|
0 |
0 |
1 |
0 |
8 |
04000h |
- 05FFFh |
SA2 |
0 |
|
0 |
0 |
1 |
1 |
8 |
06000h |
- 07FFFh |
SA3 |
0 |
|
0 |
1 |
X |
X |
32 |
08000h |
- 0FFFFh |
SA4 |
0 |
|
1 |
X |
X |
X |
64 |
10000h |
- 1FFFFh |
SA5 |
1 |
|
0 |
X |
X |
X |
64 |
20000h |
- 2FFFFh |
|
|
|
|
|
|
|
|
|
|
SA6 |
1 |
|
1 |
X |
X |
X |
64 |
30000h |
- 3FFFFh |
|
|
|
|
|
|
|
|
|
|
Autoselect Mode
The autoselect mode provides manufacturer and device identification, and sector protection verification, through identifier codes output on I/O7 - I/O0. This mode is primarily intended for programming equipment to automatically match a device to be programmed with its corresponding programming algorithm. However, the autoselect codes can also be accessed in-system through the command register.
When using programming equipment, the autoselect mode requires V ID (11.5V to 12.5 V) on address pinA9. Address pins A6, A1, and AO must be as shown in Autoselect
Codes (High Voltage Method) table. In addition, when verifying sector protection, the sector address must appear on the appropriate highest order address bits. Refer to the corresponding Sector Address Tables. The Command Definitions table shows the remaining address bits that are don't care. When all necessary bits have been set as required, the programming equipment may then read the corresponding identifier code on I/O7 - I/O0.To access the autoselect codes in-system, the host system can issue the autoselect command via the command register, as shown in the Command Definitions table. This method does not require V ID. See "Command Definitions" for details on using the autoselect mode.
Table 4. A29002/A290021 Autoselect Codes (High Voltage Method)
|
Description |
A17 - A13 |
A12 - A10 |
A9 |
A8 - A7 |
A6 |
A5 - A2 |
A1 |
AO |
Identifier Code on |
|||||
|
I/O7 - I/O0 |
||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Manufacturer ID: AMIC |
|
X |
X |
VID |
X |
VIL |
X |
VIL |
VIL |
37h |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Device ID: A29002/ |
|
X |
X |
VID |
X |
VIL |
X |
VIL |
VIH |
Top Boot Block: 8Ch |
|||||
|
|
A290021 |
|
|
|
|
|
|
|
|
|
|
Bottom Boot Block: 0Dh |
||
Sector Protection |
Sector |
X |
VID |
X |
VIL |
X |
VIH |
VIL |
01h (protected) |
||||||
Verification |
Address |
|
|||||||||||||
|
|
|
|
|
|
|
00h (unprotected) |
||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Continuation ID |
|
X |
X |
VID |
X |
VIL |
X |
VIH |
VIH |
7Fh |
|||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note: CE =VIL, OE =VIL and WE =VIH when Autoselect Mode
(December, 2002, Version 1.1) |
6 |
AMIC Technology, Corp. |
A29002/A290021 Series
Sector Protection/Unprotection
The hardware sector protection feature disables both program and erase operations in any sector. The hardware sector unprotection feature re-enables both program and erase operations in previously protected sectors.
Sector protection/unprotection must be implemented using programming equipment. The procedure requires a high voltage (VID) on address pin A9 and the control pins.
The device is shipped with all sectors unprotected.
It is possible to determine whether a sector is protected or unprotected. See "Autoselect Mode" for details.
Hardware Data Protection
The requirement of command unlocking sequence for programming or erasing provides data protection against inadvertent writes (refer to the Command Definitions table). In addition, the following hardware data protection measures prevent accidental erasure or programming, which might otherwise be caused by spurious system level signals during VCC power-up transitions, or from system noise. The device is powered up to read array data to avoid accidentally writing data to the array.
Write Pulse "Glitch" Protection
Noise pulses of less than 5ns (typical) on OE , CE or WE do not initiate a write cycle.
Logical Inhibit
Write cycles are inhibited by holding anyo ne of OE =VIL,
CE = VIH or WE = VIH. To initiate a write cycle, CE and
WE must be a logical zero while OE is a logical one.
Power-Up Write Inhibit
If WE = CE = VIL and OE = VIH during power up, the device does not accept commands on the rising edge of
WE . The internal state machine is automaticallyr eset to reading array data on the initial power-up.
Temporary Sector Unprotect (N/A on A290021)
This feature allows temporary unprotection of previous protected sectors to change data in-system. The Sector
Unprotect mode is activated by setting the RESET pin to VID. During this mode, formerly protected sectors can be programmed or erased by selecting the sector addresses.
Once VID is removed from the RESET pin, all the previously protected sectors are protected again. Figure 1 shows the algorithm, and the Temporary Sector Unprotect diagram shows the timing waveforms, for this feature.
START
RESET = VID
(Note 1)
Perform Erase or
Program Operations
RESET = VIH
Temporary Sector
Unprotect
Completed (Note 2)
Notes:
1.All protected sectors unprotected.
2.All previously protected sectors are protected once again.
Figure 1. Temporary Sector Unprotect Operation
(December, 2002, Version 1.1) |
7 |
AMIC Technology, Corp. |
A29002/A290021 Series
Command Definitions
Writing specific address and data commands or sequences into the command register initiates device operations. The Command Definitions table defines the valid register command sequences. Writing incorrect address and data values or writing them in the improper sequence resets the device to reading array data.
All addresses are latched on the falling edge of WE or CE , whichever happens later. All data is latched on the rising
edge of WE or CE , whichever happens first. Refer to the appropriate timing diagrams in the "AC Characteristics" section.
Reading Array Data
The device is automatically set to reading array data after device power-up. No commands are required to retrieve data. The device is also ready to read array data after completing an Embedded Program or Embedded Erase algorithm. After the device accepts an Erase Suspend command, the device enters the Erase Suspend mode. The system can read array data using the standard read timings, except that if it reads at an address within erase-suspended sectors, the device outputs status data. After completing a programming operation in the Erase Suspend mode, the system may once again read array data with the same exception. See "Erase Suspend/Erase Resume Commands" for more information on this mode.
The system must issue the reset command to re-enable the device for reading array data if I/O5 goes high, or while in the autoselect mode. See the "Reset Command" section, next.
See also "Requirements for Reading Array Data" in the "Device Bus Operations" section for more information. The Read Operations table provides the read parameters, and Read Operation Timings diagram shows the timing diagram.
Reset Command
Writing the reset command to the device resets the device to reading array data. Address bits are don't care for this command. The reset command may be written between the sequence cycles in an erase command sequence before erasing begins. This resets the device to reading array data. Once erasure begins, however, the device ignores reset commands until the operation is complete.
The reset command may be written between the sequence cycles in a program command sequence before programming begins. This resets the device to reading array data (also applies to programming in Erase Suspend mode). Once programming begins, however, the device ignores reset commands until the operation is complete.
The reset command may be written between the sequence cycles in an autoselect command sequence. Once in the autoselect mode, the reset command must be written to return to reading array data (also applies to autoselect during Erase Suspend).
If I/O5 goes high during a program or erase operation, writing the reset command returns the device to reading array data (also applies during Erase Suspend).
Autoselect Command Sequence
The autoselect command sequence allows the host system to access the manufacturer and devices codes, and determine whether or not a sector is protected. The Command Definitions table shows the address and data requirements. This method is an alternative to that shown in the Autoselect Codes (High Voltage Method) table, which is intended for PROM programmers and requires V ID on address bit A9.
The autoselect command sequence is initiated by writing two unlock cycles, followed by the autoselect command. The device then enters the autoselect mode, and the system may read at any address any number of times, without initiating another command sequence.
A read cycle at address XX00h retrieves the manufacturer code and another read cycle at XX03h retrieves the continuation code. A read cycle at address XX01h returns the device code. A read cycle containing a sector address (SA) and the address 02h in returns 01h if that sector is protected, or 00h if it is unprotected. Refer to the Sector Address tables for valid sector addresses.
The system must write the reset command to exit the autoselect mode and return to reading array data.
Byte Program Command Sequence
Programming is a four-bus-cycle operation. The program command sequence is initiated by writing two unlock write cycles, followed by the program set-up command. The program address and data are written next, which in turn initiate the Embedded Program algorithm. The system is not required to provide further controls or timings. The device automatically provides internally generated program pulses and verify the programmed cell margin. The Command Definitions table shows the address and data requirements for the byte program command sequence.
When the Embedded Program algorithm is complete, the device then returns to reading array data and addresses are no longer latched. The system can determine the status of the program operation by using I/O7 or I/O6. See "Write Operation Status" for information on these status bits.
Any commands written to the device during the Embedded Program Algorithm are ignored. Programming is allowed in any sequence and across sector boundaries. A bit cannot be programmed from a "0" back to a "1 ". Attempting to do so may halt the operation and set I/O5 to "1", or cause the
Data Polling algorithm to indicate the operation was successful. However, a succeeding read will show that the data is still "0". Only erase operations can convert a "0" to a "1".
(December, 2002, Version 1.1) |
8 |
AMIC Technology, Corp. |
A29002/A290021 Series
|
START |
|
Write Program |
|
Command |
|
Sequence |
|
Data Poll |
Embedded |
from System |
|
|
Program |
|
algorithm in |
|
progress |
|
|
Verify Data ? |
|
No |
|
Yes |
Increment Address |
|
|
Last Address ? |
|
|
||
|
|
|
|
Yes
Programming
Completed
Note : See the appropriate Command Definitions table for program command sequence.
Figure 2. Program Operation
Chip Erase Command Sequence
Chip erase is a six-bus-cycle operation. The chip erase command sequence is initiated by writing two unlock cycles, followed by a set-up command. Two additional unlock write cycles are then followed by the chip erase command, which in turn invokes the Embedded Erase algorithm. The device does not require the system to preprogram prior to erase. The Embedded Erase algorithm automatically preprograms and verifies the entire memory for an all zero data pattern prior to electrical erase. The system is not required to provide any controls or timings during these operations. The Command Definitions table shows the address and data requirements for the chip erase command sequence.
Any commands written to the chip during the Embedded Erase algorithm are ignored. The system can determine the status of the erase operation by using I/O7, I/O6, or I/O2. See "Write Operation Status" for information on these status bits. When the Embedded Erase algorithm is complete, the device returns to reading array data and addresses are no longer latched.
Figure 3 illustrates the algorithm for the erase operation. See the Erase/Program Operations tables in "AC Characteristics" for parameters, and to the Chip/Sector Erase Operation Timings for timing waveforms.
Sector Erase Command Sequence
Sector erase is a six-bus-cycle operation. The sector erase command sequence is initiated by writing two unlock cycles, followed by a set-up command. Two additional unlock write cycles are then followed by the address of the sector to be erased, and t he sector erase command. The Command Definitions table shows the address and data requirements for the sector erase command sequence.
The device does not require the system to preprogram the memory prior to erase. The Embedded Erase algorithm automatically programs and verifies the sector for an all zero data pattern prior to electrical erase. The system is not required to provide any controls or timings during these operations.
After the command sequence is written, a sector erase timeout of 50μs begins. During the time-out period, additional sector addresses and sector erase commands may be written. Loading the sector erase buffer may be done in any sequence, and the number of sectors may be from one sector to all sectors. The time between these additional cycles must be less than 50μs, otherwise the last address and command might not be accepted, and erasure may begin. It is recommended that processor interrupts be disabled during this time to ensure all commands are accepted. The interrupts can be re-enabled after the last Sector Erase command is written. If the time between additional sector erase commands can be assumed to be less than 50μs, the system need not monitor I/O3. Any command other than Sector Erase or Erase Suspend during the time-out period resets the device to reading array data. The system must rewrite the command sequence and any additional sector addresses and commands.
The system can monitor I/O3 to determine if the sector erase timer has timed out. (See the " I/O3: Sector Erase Timer" section.) The time-out begins from the rising edge of the final
WE pulse in the command sequence.
Once the sector erase operation has begun, only the Erase Suspend command is valid. All other commands are ignored. When the Embedded Erase algorithm is complete, the device returns to reading array data and addresses are no longer latched. The system can determine the status of the erase operation by using I/O7, I/O6, or I/O2. Refer to "Write Operation Status" for information on these status bits.
(December, 2002, Version 1.1) |
9 |
AMIC Technology, Corp. |
A29002/A290021 Series
Figure 3 illustrates the algorithm for the erase operation. Refer to the Erase/Program Operations tables in the "AC Characteristics" section for parameters, and to the Sector Erase Operations Timing diagram for timing waveforms.
Erase Suspend/Erase Resume Commands
The Erase Suspend command allows the system to interrupt a sector erase operation and then read data from, or program data to, any sector not selected for erasure. This command is valid only during the sector erase operation, including the 50μs time-out period during the sector erase command sequence. The Erase Suspend command is ignored if written during the chip erase operation or Embedded Program algorithm. Writing the Erase Suspend command during the Sector Erase time-out immediately terminates the time-out period and suspends the erase operation. Addresses are "don't cares" when writing the Erase Suspend command.
When the Erase Suspend command is written during a sector erase operation, the device requires a maximum of 20μs to suspend the erase operation. However, when the Erase Suspend command is written during the sector erase time-out, the device immediately terminates the time-out period and suspends the erase operation.
After the erase operation has been suspended, thes ystem can read array data from or program data to any sector not selected for erasure. (The device "erase suspends" all sectors selected for erasure.) Normal read and write timings and command definitions apply. Reading at any address within erase-suspended sectors produces status data on I/O7 - I/O0. The system can use I/O7, or I/O6 and I/O2 together, to determine if a sector is actively erasing or is erasesuspended. See "Write Operation Status" for information on these status bits.
After an erase-suspended program operation is complete, the system can once again read array data within nonsuspended sectors. The system can determine the status of the program operation using the I/O7 or I/O6 status bits, just as in the standard program operation. See "Write Operation Status" for more information.
The system may also write the autoselect command sequence when the device is in the Erase Suspend mode. The device allows reading autoselect codes even at addresses within erasing sectors, since the codes are not stored in the memory array. When the device exits the autoselect mode, the device reverts to the Erase Suspend mode, and is ready for another valid operation. See "Autoselect Command Sequence" for more information.
The system must write the Erase Resume c ommand (address bits are "don't care") to exit the erase suspend mode and continue the sector erase operation. Further writes of the Resume command are ignored. Another Erase Suspend command can be written after the device has resumed erasing.
START |
|
Write Erase |
|
Command |
|
Sequence |
|
Data Poll |
|
from System |
Embedded |
|
|
|
Erase |
|
algorithm in |
|
progress |
No |
|
Data = FFh ? |
|
Yes
Erasure Completed
Note :
1.See the appropriate Command Definitions table for erase command sequences.
2.See "I/O3 : Sector Erase Timer" for more information.
Figure 3. Erase Operation
(December, 2002, Version 1.1) |
10 |
AMIC Technology, Corp. |