Information
Printed in Japan
Document No. M14914EJ4V0IF00 (4th edition)
Date Published October 2002 NS CP (K)
DUAL OPERATION FLASH MEMORY
32M BITS A SERIES
© 2000
Information M14914EJ4V0IF
2
[ MEMO ]
Information M14914EJ4V0IF 3
SUMMARY OF CONTENTS
CHAPTER 1 INPUT / OUTPUT PIN FUNCTION................................................................................. 13
CHAPTER 2 BUS OPERATIONS........................................................................................................ 14
CHAPTER 3 COMMANDS................................................................................................................... 18
CHAPTER 4 HARDWARE SEQUENCE FLAGS ................................................................................ 28
CHAPTER 5 HARDWARE DATA PROTECTION ............................................................................... 31
CHAPTER 6 TIMING CHARTS............................................................................................................ 32
CHAPTER 7 FLOW CHARTS.............................................................................................................. 39
Information M14914EJ4V0IF
4
NOTES FOR CMOS DEVICES
1 PRECAUTION AGAINST ESD FOR SEMICONDUCTORS
Note:
Strong electric field, when exposed to a MOS device, can cause destruction of the gate oxide and
ultimately degrade the device operation. Steps must be taken to stop generation of static electricity
as much as possible, and quickly dissipate it once, when it has occurred. Environmental control
must be adequate. When it is dry, humidifier should be used. It is recommended to avoid using
insulators that easily build static electricity. Semiconductor devices must be stored and transported
in an anti-static container, static shielding bag or conductive material. All test and measurement
tools including work bench and floor should be grounded. The operator should be grounded using
wrist strap. Semiconductor devices must not be touched with bare hands. Similar precautions need
to be taken for PW boards with semiconductor devices on it.
2 HANDLING OF UNUSED INPUT PINS FOR CMOS
Note:
No connection for CMOS device inputs can be cause of malfunction. If no connection is provided
to the input pins, it is possible that an internal input level may be generated due to noise, etc., hence
causing malfunction. CMOS devices behave differently than Bipolar or NMOS devices. Input levels
of CMOS devices must be fixed high or low by using a pull-up or pull-down circuitry. Each unused
pin should be connected to V
DD
or GND with a resistor, if it is considered to have a possibility of
being an output pin. All handling related to the unused pins must be judged device by device and
related specifications governing the devices.
3 STATUS BEFORE INITIALIZATION OF MOS DEVICES
Note:
Power-on does not necessarily define initial status of MOS device. Production process of MOS
does not define the initial operation status of the device. Immediately after the power source is
turned ON, the devices with reset function have not yet been initialized. Hence, power-on does
not guarantee out-pin levels, I/O settings or contents of registers. Device is not initialized until the
reset signal is received. Reset operation must be executed immediately after power-on for devices
having reset function.
Information M14914EJ4V0IF 5
M8E 00. 4
The information in this document is current as of October, 2002. The information is subject to
change without notice. For actual design-in, refer to the latest publications of NEC's data sheets or
data books, etc., for the most up-to-date specifications of NEC semiconductor products. Not all
products and/or types are available in every country. Please check with an NEC sales representative
for availability and additional information.
No part of this document may be copied or reproduced in any form or by any means without prior
written consent of NEC. NEC assumes no responsibility for any errors that may appear in this document.
NEC does not assume any liability for infringement of patents, copyrights or other intellectual property rights of
third parties by or arising from the use of NEC semiconductor products listed in this document or any other
liability arising from the use of such products. No license, express, implied or otherwise, is granted under any
patents, copyrights or other intellectual property rights of NEC or others.
Descriptions of circuits, software and other related information in this document are provided for illustrative
purposes in semiconductor product operation and application examples. The incorporation of these
circuits, software and information in the design of customer's equipment shall be done under the full
responsibility of customer. NEC assumes no responsibility for any losses incurred by customers or third
parties arising from the use of these circuits, software and information.
While NEC endeavours to enhance the quality, reliability and safety of NEC semiconductor products, customers
agree and acknowledge that the possibility of defects thereof cannot be eliminated entirely. To minimize
risks of damage to property or injury (including death) to persons arising from defects in NEC
semiconductor products, customers must incorporate sufficient safety measures in their design, such as
redundancy, fire-containment, and anti-failure features.
NEC semiconductor products are classified into the following three quality grades:
"Standard", "Special" and "Specific". The "Specific" quality grade applies only to semiconductor products
developed based on a customer-designated "quality assurance program" for a specific application. The
recommended applications of a semiconductor product depend on its quality grade, as indicated below.
Customers must check the quality grade of each semiconductor product before using it in a particular
application.
"Standard": Computers, office equipment, communications equipment, test and measurement equipment, audio
and visual equipment, home electronic appliances, machine tools, personal electronic equipment
and industrial robots
"Special": Transportation equipment (automobiles, trains, ships, etc.), traffic control systems, anti-disaster
systems, anti-crime systems, safety equipment and medical equipment (not specifically designed
for life support)
"Specific": Aircraft, aerospace equipment, submersible repeaters, nuclear reactor control systems, life
support systems and medical equipment for life support, etc.
The quality grade of NEC semiconductor products is "Standard" unless otherwise expressly specified in NEC's
data sheets or data books, etc. If customers wish to use NEC semiconductor products in applications not
intended by NEC, they must contact an NEC sales representative in advance to determine NEC's willingness
to support a given application.
(Note)
(1) "NEC" as used in this statement means NEC Corporation and also includes its majority-owned subsidiaries.
(2) "NEC semiconductor products" means any semiconductor product developed or manufactured by or for
NEC (as defined above).
Information M14914EJ4V0IF
6
MAJOR REVISIONS IN THIS EDITION
Edition/ Date Page Description
This Previous Type of Location
edition edition revision
4th edition/ p.7 p.6 Addition INTRODUCTION Object Products
Oct. 2002 p.8 p.7 Related Documents
p.20 p.21 Modification Table 3-1. Command Sequence Remark
p.36 p.39 Figure 6-9. Sector / Chip Erase Timing Chart
The mark shows major revised points.
Information M14914EJ4V0IF 7
INTRODUCTION
Target Readers This manual is intended for users who wish to design hardware using our dual operation
flash memory.
Purpose This manual is intended to give users understanding of the basic functions of dual
operation flash memory and how to use them.
Organization This manual explains the operation of our dual operation flash memory. For
specifications and addresses, refer to the Data Sheet of each product.
Conventions Note: Footnote for items marked with Note in the text
Remark: Supplementary information
Object Products This manual explains our following dual operation flash memory.
Dual Operation Flash Memory
Density Organization Part Number
(bits) (words × bits)
32M 4M × 8 / 2M × 16
µ
PD29F032202AL-X
µ
PD29F032203AL-X
µ
PD29F032204AL-X
µ
PD29F032202AL-Y
µ
PD29F032203AL-Y
µ
PD29F032204AL-Y
Information M14914EJ4V0IF
8
Related Documents The related documents indicated in this publication may include preliminary versions.
However, preliminary versions are not marked as such.
Document Name Document Number
µ
PD29F032202AL-X DATA SHEET M14911E
µ
PD29F032203AL-X DATA SHEET M14907E
µ
PD29F032204AL-X DATA SHEET M14912E
µ
PD29F032202AL-Y DATA SHEET M15515E
µ
PD29F032203AL-Y DATA SHEET M15504E
µ
PD29F032204AL-Y DATA SHEET M15516E
MC-222242A-X DATA SHEET M14908E
MC-222243A-X DATA SHEET M15029E
MC-222244A-X DATA SHEET M15318E
MC-222252A-X DATA SHEET M15319E
MC-222253A-X DATA SHEET M15285E
MC-222254A-X DATA SHEET M14931E
MC-222262-X DATA SHEET M14923E
MC-222263-X DATA SHEET M15067E
MC-222264-X DATA SHEET M15340E
MC-222272-X DATA SHEET M15341E
MC-222273-X DATA SHEET M15289E
MC-222274-X DATA SHEET M15342E
MC-242442 DATA SHEET M15413E
MC-242443 DATA SHEET M15171E
MC-242444 DATA SHEET M15411E
MC-242452 DATA SHEET M15414E
MC-242453 DATA SHEET M15371E
MC-242454 DATA SHEET M15372E
MC-2511430 DATA SHEET M15462E
MC-2621930 DATA SHEET M15456E
MC-2721930-X DATA SHEET M15461E
Information M14914EJ4V0IF 9
CONTENTS
CHAPTER 1 INPUT / OUTPUT PIN FUNCTION................................................................................. 13
CHAPTER 2 BUS OPERATIONS........................................................................................................ 14
2.1 Read .............................................................................................................................................................. 15
2.2 Write .............................................................................................................................................................. 15
2.3 Standby ......................................................................................................................................................... 15
2.4 Hardware Reset ............................................................................................................................................ 15
2.5 Output Disable............................................................................................................................................... 16
2.6 Sector Group Protection............................................................................................................................... 16
2.7 Temporary Sector Group Unprotect ........................................................................................................... 16
2.8 Product ID ..................................................................................................................................................... 16
2.9 Automatic Sleep Mode................................................................................................................................. 16
2.10 Boot Block Sector Protect ......................................................................................................................... 16
2.11 Accelerated Mode....................................................................................................................................... 16
2.12 Dual Operation............................................................................................................................................ 17
CHAPTER 3 COMMANDS................................................................................................................... 18
3.1 Writing commands ....................................................................................................................................... 18
3.2 Read / Reset.................................................................................................................................................. 22
3.3 Product ID ..................................................................................................................................................... 22
3.4 Program......................................................................................................................................................... 22
3.5 Program Suspend / Resume........................................................................................................................ 23
3.5.1 Caution about Program Suspend / Resume ........................................................................................ 23
3.6 Chip Erase..................................................................................................................................................... 23
3.7 Sector Erase ................................................................................................................................................. 24
3.8 Sector Erase Suspend / Resume ................................................................................................................ 24
3.8.1 Caution about Sector Erase Suspend / Resume................................................................................. 25
3.9 Unlock Bypass.............................................................................................................................................. 25
3.9.1 Unlock Bypass Set................................................................................................................................. 25
3.9.2 Unlock Bypass Program ....................................................................................................................... 25
3.9.3 Unlock Bypass Reset ............................................................................................................................ 25
3.10 Sector Group Protection............................................................................................................................ 25
3.11 Sector Group Unprotect............................................................................................................................. 26
3.12 Query........................................................................................................................................................... 26
3.13 Extra One Time Protect Sector Entry........................................................................................................ 26
3.14 Extra One Time Protect Sector Program.................................................................................................. 27
3.15 Extra One Time Protect Sector Erase....................................................................................................... 27
3.16 Extra One Time Protect Sector Protection ............................................................................................... 27
CHAPTER 4 HARDWARE SEQUENCE FLAGS ................................................................................ 28
4.1 Caution When Reading Flags...................................................................................................................... 29
4.2 I/O7 (Data Polling) ........................................................................................................................................ 29
4.3 I/O6 (Toggle Bit)............................................................................................................................................ 29
Information M14914EJ4V0IF
10
4.4 I/O2 (Toggle Bit II)......................................................................................................................................... 30
4.5 I/O5 (Exceeding Timing Limits) ................................................................................................................... 30
4.6 I/O3 (Sector Erase Timer)............................................................................................................................. 30
4.7 RY (/BY) (Ready / Busy) ............................................................................................................................... 30
CHAPTER 5 HARDWARE DATA PROTECTION ............................................................................... 31
5.1 Low VCC Write Inhibit.................................................................................................................................... 31
5.2 Logical Inhibit ............................................................................................................................................... 31
5.3 Power-Up Write Inhibit................................................................................................................................. 31
5.4 Write Pulse "Glitch" Protection................................................................................................................... 31
5.5 Sector Group Protection.............................................................................................................................. 31
CHAPTER 6 TIMING CHARTS............................................................................................................ 32
CHAPTER 7 FLOW CHARTS.............................................................................................................. 39
Information M14914EJ4V0IF 11
LIST OF FIGURES
Figure No. Title Page
Figure 6-1. Read Cycle Timing Chart 1.................................................................................................................... 32
Figure 6-2. Read Cycle Timing Chart 2.................................................................................................................... 32
Figure 6-3. Sector Group Protection Timing Chart................................................................................................... 33
Figure 6-4. Temporary Sector Group Unprotect Timing Chart ................................................................................. 33
Figure 6-5. Accelerated Mode Timing Chart ............................................................................................................ 34
Figure 6-6. Dual Operation Timing Chart ................................................................................................................. 34
Figure 6-7. Write Cycle Timing Chart (/WE Controlled) ........................................................................................... 35
Figure 6-8. Write Cycle Timing Chart (/CE Controlled) ............................................................................................ 35
Figure 6-9. Sector / Chip Erase Timing Chart .......................................................................................................... 36
Figure 6-10. Data Polling Timing Chart.................................................................................................................... 36
Figure 6-11. Toggle Bit Timing Chart....................................................................................................................... 37
Figure 6-12. I/O2 vs. I/O6 Timing Chart ................................................................................................................... 37
Figure 6-13. RY (/BY) (Ready / Busy) Timing Chart ................................................................................................ 37
Figure 6-14. (/RESET) / RY (/BY) Timing Chart....................................................................................................... 38
Figure 6-15. Write /BYTE Timing Chart ................................................................................................................... 38
Figure 6-16. BYTE Mode Switching Timing Chart.................................................................................................... 38
Figure 6-17. WORD Mode Switching Timing Chart.................................................................................................. 38
Figure 7-1. Sector Group Protection Flow Chart...................................................................................................... 39
Figure 7-2. Program Flow Chart............................................................................................................................... 40
Figure 7-3. Sector / Chip Erase Flow Chart ............................................................................................................. 40
Figure 7-4. Unlock Bypass Flow Chart (WORD Mode) ............................................................................................ 41
Figure 7-5. Sector Group Unprotect Flow Chart ...................................................................................................... 42
Figure 7-6. Data Polling Flow Chart......................................................................................................................... 43
Figure 7-7. Toggle Bit Flow Chart ............................................................................................................................ 43
Information M14914EJ4V0IF
12
LIST OF TABLES
Table No. Title Page
Table 2-1. Bus Operation......................................................................................................................................... 14
Table 2-2. Dual Operation........................................................................................................................................ 17
Table 3-1. Command Sequence .............................................................................................................................. 19
Table 4-1. Hardware Sequence Flags ..................................................................................................................... 28
Information M14914EJ4V0IF 13
CHAPTER 1 INPUT / OUTPUT PIN FUNCTION
For specifications, refer to the Data Sheet of each product.
Input / Output Pin Function
Pin name Input / Output Function
A0 to A20 Input Address input pins.
A0 to A20 are used differently in the BYTE mode and the WORD mode.
BYTE MODE
A0 to A20 are used as the upper 21 bits of total 22 bits of address input pin.
(The least significant bit (A1) is combined to I/O15.)
WORD MODE
A0 to A20 are used as 21 bits address input pin.
I/O0 to I/O14 Input / Output Data input / output pins.
I/O0 to I/O14 are used differently in the BYTE mode and the WORD mode.
BYTE MODE
I/O0 to I/O7 are used as the 8 bits data input / output pins.
I/O8 to I/O14 are High-Z.
WORD MODE
I/O0 to I/O14 are used as the lower 15 bits of total 16 bits of data input / output pins.
(The most significant bit (I/O15) is combined to A1.)
I/O15, A1 Input / Output I/O15, A1 are used differently in the BYTE mode and the WORD mode.
BYTE MODE
The least significant address input pin (A1)
WORD MODE
The most significant data input / output pin (I/O15)
/CE Input This pin inputs the signal that activates the chip.
When high level, the chip enters the standby mode.
/OE Input This pin inputs the read operation control signal.
When high level, output is High-Z.
/WE Input This pin inputs the write operation control signal.
When low level, command input is accepted.
/BYTE Note Input The pin for switching BYTE mode and WORD mode.
High level : WORD MODE (2M words × 16 bits)
Low level : BYTE MODE (4M words × 8 bits)
/RESET Input This pin inputs hardware reset.
When low level, hardware reset is performed.
If 11.5 to 12.5 V is applied to /RESET, the chip enters the temporary sector group unprotect
mode.
RY (/BY) Output This pin indicates whether automatic program / erase is currently being executed. It uses open
drain connection.
Low level indicates the busy state during which the device is performing automatic program /
erase.
High level indicates the device is in the ready state and will accept the next operation. In this
case, the device is either in the erase suspend mode or the standby mode.
/WP (ACC) Input This pin selects the boot block sector protect mode or accelerated mode.
Low level: The boot block (2 sectors) is protected.
High level: The boot block is unprotected.
VACC level: Accelerated mode is selected.
VCC Supply Voltage
GND Ground
NC No Connection (Some signals can be applied.)
Note The CIOf pin is used to switch between BYTE mode and WORD mode in the flash memory incorporated in
MCP products.
Information M14914EJ4V0IF
14
CHAPTER 2 BUS OPERATIONS
The following table shows the operation modes of the dual operation flash memory.
Before turning on power, input GND ± 0.2 V to the /RESET until VCC VCC (MIN.).
For specifications, refer to the Data Sheet of each product.
Table 2-1. Bus Operation
Operation /CE /OE /WE I/O15, A6 A1 A0 I/O0 to I/O8 to /RESET /WP
A–1 I/O7 I/O15 (ACC)
Read Note BYTE mode L L H A–1 Address input Data output High-Z H ×
WORD mode L L H ×Address input Data output H ×
Write BYTE mode L H L A–1 Address input Data input High-Z H ×
WORD mode L H L ×Address input Data input H ×
Standby H ××××××High-Z High-Z H ×
Hardware reset / Standby ×××××××High-Z High-Z L ×
Output Disable L H H ××××High-Z High-Z H ×
Temporary Sector Group ××××××× High-Z or VID ×
Unprotect Data input / output
Automatic BYTE mode L L H A–1 Address input Data output High-Z H ×
Sleep Mode WORD mode L L H ×Address input Data output H ×
Boot Block ××××××× High-Z or ×L
Sector Protect Data input / output
Accelerated BYTE mode L H L A–1 Address input Data input High-Z H VACC
Mode WORD mode L H L ×Address input Data input H VACC
Note When /OE = VIL, VIL can be applied to /WE. When /OE = VIH, a write operation is started.
Remarks 1. H : VIH, L : VIL, × : VIH or VIL, VID : 11.5 V to 12.5 V, VACC : 8.5 V to 9.5 V
2. If an address is held longer than the minimum read cycle time (tRC), the automatic sleep mode is set.
CHAPTER 2 BUS OPERATIONS
Information M14914EJ4V0IF 15
2.1 Read
The read operation is controlled by the /CE and /OE. The /CE is used to select a device, and the /OE controls data
output. The following three access times are used depending on the condition.
- Address access time (tACC): Time until valid data is output after an address has been determined
(however, after /CE).
- /CE access time (tCE): Time until valid data is output after /CE has been determined
(however, after address).
- /OE access time (tOE): Time until valid data is output after /OE has been determined
(however, /OE must be input after tACC–tOE, tCE–tOE after address and /CE have been
determined).
On power-up, the device is automatically set in the read mode. To read the device without changing address
immediately after power application, either execute hardware reset or briefly lower /CE to VIL from VIH.
For the timing chart, refer to Figure 6-1. Read Cycle Timing Chart 1.
2.2 Write
The operation of the device is controlled by writing commands to the registers. The command register is a function
that latches the address and data necessary for executing an instruction and does not occupy the memory area.
If an illegal address or data is written or if an address or data is written in the wrong sequence, the device is reset to
the read mode.
Refer to CHAPTER 3 COMMANS for command details.
2.3 Standby
The standby mode is set when VIH is input to the /CE. The current consumption in the standby mode can be
lowered to 5
µ
A or less in two ways.
One is to use /CE and /RESET. Input VCC ± 0.3 V to /CE and /RESET. However, while automatic programming or
erasing is being executed, the operating supply current (ICC2) does not decrease to 5
µ
A or lower even if /CE = VIH. If
a read operation is executed in the standby mode, data is output at /CE access time.
The other is to input GND ± 0.3 V to the /RESET. At this time, the level of /CE is VIH or VIL. In this case, tRH is
required for the device to return to the read mode from the standby mode.
For the timing chart, refer to Figure 6-2. Read Cycle Timing Chart 2.
2.4 Hardware Reset
The device is reset to the read mode if VIL is input to the /RESET for the duration of tRP and VIH for the duration of
tRH. While VIL is being input to the /RESET, all commands are ignored, and the output pins go into a high impedance
state. If the voltage on /RESET is kept to GND ± 0.2 V at this time, the current consumption can be lowered to 5
µ
A
or less.
Read mode is restored by tREADY after VIL is input to the /RESET pin.
For the timing chart, refer to Figure 6-2. Read Cycle Timing Chart 2.
CHAPTER 2 BUS OPERATIONS
Information M14914EJ4V0IF
16
2.5 Output Disable
Output from the device is disabled (High impedance state) if VIH is input to the /OE.
2.6 Sector Group Protection
Protect the sector group by using a command. /CE or /WE control is no need. For details, refer to 3.10 Sector
Group Protection.
2.7 Temporary Sector Group Unprotect
Protection of a sector group can be temporarily canceled. When VID is input to /RESET, the temporary sector group
unprotect mode is set. If a protected sector is selected in this mode, it can be programmed or erased. If the mode is
canceled, the sector group is protected again.
For the timing chart, refer to Figure 6-4. Temporary Sector Group Unprotect Timing Chart.
2.8 Product ID
Read the product ID code by using a command. For details, refer to 3.3 Product ID.
2.9 Automatic Sleep Mode
The automatic sleep mode is used to reduce the power consumption substantially during a read operation.
If an address is held longer than the minimum read cycle time (tRC), the sleep mode (low power consumption mode)
is automatically set. In this mode, the output data is latched and continuously output.
In the automatic sleep mode, /CE, /WE, and /OE do not have to be controlled. At this time, the current consumption
decreases to 5
µ
A or less. During dual operation, however, the current consumption is power supply current (ICC6,
ICC7).
If the address is changed, the automatic sleep mode is canceled automatically, the device returns to the read mode,
and the data of the newly input address is output.
2.10 Boot Block Sector Protect
The boot block sector protect mode protects the two sectors of the boot block. This mode is set when VIL is input to
/WP (ACC). If VIL is input to /WP (ACC) even in the temporary sector group unprotect mode, the boot block remains
protected and protection of the other sectors is temporarily canceled.
2.11 Accelerated Mode
This mode is used to program the device at high speed, and the programming time can be shortened to about 60%.
To program the device in the accelerated mode, input VACC to /WP (ACC) and use an unlock bypass program
command. Therefore, ordinary commands can be used for programming or detection of completion of programming.
If VACC is input to /WP (ACC), the device is automatically set in the unlock bypass mode. Therefore, the unlock
bypass set command and reset command are not necessary. The accelerated mode is automatically canceled if the
input of VACC to /WP (ACC) is stopped.
In the accelerated mode, protection of the sector group is temporarily canceled. Exercise care in programming the
device at this time.
For the timing chart, refer to Figure 6-5. Accelerated Mode Timing Chart.
CHAPTER 2 BUS OPERATIONS
Information M14914EJ4V0IF 17
2.12 Dual Operation
This device can execute a program or erase operation and a read operation simultaneously. By selecting bank 1 or
2 by changing the bank address, one bank can execute a read operation while the other bank is executing a program
or erase operation. When changing the bank address, no wait cycle is necessary. Note that two or more operations
cannot be executed at the same time in the same bank.
The following table shows the combinations of bank operations.
For the timing chart, refer to Figure 6-6. Dual Operation Timing Chart.
Table 2-2. Dual Operation
Case Operation of Bank 1 Operation of Bank 2
1 Read mode Read mode
2 Read mode Product ID
3 Read mode Program Note1
4 Read mode Erase Note2
5 Product ID Read mode
6Program Note1 Read mode
7Erase Note2 Read mode
Notes 1. The program operation is suspended by the program suspend command, and addresses not being
programmed to at this time can only be read.
2. The erase operation is suspended by the erase suspend command. The sector not erased at this time can
be read or programmed.
Information M14914EJ4V0IF
18
CHAPTER 3 COMMANDS
This chapter explains the commands of the dual operation flash memory and how to write the commands.
3.1 Writing commands
All operations are executed by writing a command.
To write a command, the write cycle of a standard microprocessor is used.
The operation of the device is controlled by writing a command to a register. The command register is a function
that latches the address and data necessary for executing an instruction and does not occupy the memory area.
If an illegal address or data is written or if an address or data is written in the wrong sequence, the device is reset to
the read mode.
Table 3-1 shows the commands and command sequences.
For specifications, refer to the Data Sheet of each product.
CHAPTER 3 COMMANDS
Information M14914EJ4V0IF 19
Table 3-1. Command Sequence
Command sequence Bus 1st bus cycle 2nd bus cycle 3rd bus cycle 4th bus cycle 5th bus cycle 6th bus cycle
cycles Address Data Address Data Address Data Address Data Address Data Address Data
Read / Reset Note 1 1×××H F0H RA RD ––––––––
Read / Reset Note 1 BYTE mode 3 AAAH AAH 555H 55H AAAH F0H RA RD ––––
WORD mode 555H 2AAH 555H
Program BYTE mode 4 AAAH AAH 555H 55H AAAH A0H PA PD ––––
WORD mode 555H 2AAH 555H
Program Suspend Note 2 1BAB0H
Program Resume Note 3 1 BA 30H
Chip Erase BYTE mode 6 AAAH AAH 555H 55H AAAH 80H AAAH AAH 555H 55H AAAH 10H
WORD mode 555H 2AAH 555H 555H 2AAH 555H
Sector Erase BYTE mode 6 AAAH AAH 555H 55H AAAH 80H AAAH AAH 555H 55H FSA 30H
WORD mode 555H 2AAH 555H 555H 2AAH
Sector Erase Suspend Note 4 1BAB0H
––––––––––
Sector Erase Resume Note 5 1 BA 30H ––––––––––
Unlock Bypass Set BYTE mode 3 AAAH AAH 555H 55H AAAH 20H ––––––
WORD mode 555H 2AAH 555H
Unlock Bypass Program Note 6 2×××H A0H PA PD ––––––––
Unlock Bypass Reset Note 6 2 BA 90H ×××H00HNote 11 ––––––––
Product ID BYTE mode 3 AAAH AAH 555H 55H (BA) 90H IA ID ––––
AAAH
WORD mode 555H 2AAH (BA)
555H
Sector Group Protection Note 7 4×××H 60H SPA 60H SPA 40H SPA SD ––––
Sector Group Unprotect Note 8 4×××H 60H SUA 60H SUA 40H SUA SD ––––
Query Note 9 BYTE mode 1 AAH 98H ––––––––––
WORD mode 55H
Extra One Time Protect BYTE mode 3 AAAH AAH 555H 55H AAAH 88H ––––––
Sector Entry WORD mode 555H 2AAH 555H
Extra One Time Protect BYTE mode 4 AAAH AAH 555H 55H AAAH A0H PA PD ––––
Sector Program Note 10 WORD mode 555H 2AAH 555H
Extra One Time Protect BYTE mode 6 AAAH AAH 555H 55H AAAH 80H AAAH AAH 555H 55H EOTPSA 30H
Sector Erase Note 10 WORD mode 555H 2AAH 555H 555H 2AAH
Extra One Time Protect BYTE mode 4 AAAH AAH 555H 55H AAAH 90H ×××H 00H ––––
Sector Reset Note 10 WORD mode 555H 2AAH 555H
Extra One Time Protect 4 ×××H 60H EOTPSA 60H EOTPSA 40H EOTPSA SD ––––
Sector Protection Note 10
CHAPTER 3 COMMANDS
Information M14914EJ4V0IF
20
Notes 1. Both these read / reset commands reset the device to the read mode.
2. Programming is suspended if B0H is input to the bank address being programmed to in a program
operation.
3. Programming is resumed if 30H is input to the bank address being suspended to in a program-suspend
operation.
4. Erasure is suspended if B0H is input to the bank address being erased in a sector erase operation.
5. Erasure is resumed if 30H is input to the bank address being suspended in a sector-erase-suspend
operation.
6. Valid only in the Unlock Bypass mode.
7. Valid only in /RESET = VID (except in the Extra One Time Protect Sector mode).
8. The command sequence that protects a sector group is excluded.
9. Only A0 to A6 are valid as an address.
10. Valid only in the Extra One Time Protect Sector mode.
11. This command can be used even if this data is F0H.
Remarks 1. The system should generate the following address pattern :
WORD mode : 555H or 2AAH (A10 to A0)
BYTE mode : AAAH or 555H (A10 to A0, and A1)
2. RA : Read address
RD : Read data
IA : Address input as follows
××00H (to read the manufacturer code)
××02H (to read the device code in the BYTE mode)
××01H (to read the device code in the WORD mode)
ID : Code output. For the manufacture code, device code and sector group protection
information, refer to the Product ID code in each data sheet.
PA : Program address
PD : Program data
FSA : Erase sector address. The sector to be erased is selected by the combination of A20 to
A12. Refer to the Sector Organization / Sector Address Table in each data sheet.
BA : Bank address. Refer to the Sector Organization / Sector Address Table in each data
sheet.
SPA : Sector group address to be protected or protection-verified. Set the sector group address
(SGA) and (A6, A1, A0) = (VIL, VIH, VIL).
Sector group protection can be set for each sector group address. For details, refer to
3.10 Sector Group Protection.
For the sector group address, refer to the Sector Group Address Table in each data
sheet.
SUA : Sector group address to be unprotected or unprotection-verified. Set the sector group
address (SGA) and (A6, A1, A0) = (VIH, VIH, VIL).
Sector group unprotect is performed for all sector group using a single command,
however, unprotect verification must be performed for each sector group address. For
details, refer to 3.11 Sector Group Unprotect.
For the sector group address, refer to the Sector Group Address Table in each data
sheet.
CHAPTER 3 COMMANDS
Information M14914EJ4V0IF 21
EOTPSA : Extra One Time Protect Sector area addresses. These addresses are 3F0000H to
3FFFFFH (BYTE mode) / 1F8000H to 1FFFFFH (WORD mode) for top boot, and
000000H to 00FFFFH (BYTE mode) / 000000H to 007FFFH (WORD mode) for bottom
boot.
SD : Data for verifying whether sector groups read from the address specified by SPA, SUA,
EOTPSA are protected or unprotected.
3. The sector group address is don't care except when a program / erase address or read address are
selected.
4. For the operation of bus, refer CHAPTER 2 BUS OPERATION.
5. × of address bit indicates VIH or VIL.
CHAPTER 3 COMMANDS
Information M14914EJ4V0IF
22
3.2 Read / Reset
This command resets the device to the read mode.
The read mode is maintained until the contents of the command register are changed.
Once the device is in the read mode, no command is necessary for reading data. Data read can be performed
using the read cycle of a standard microprocessor.
The read mode is maintained until the contents of the command register are changed.
3.3 Product ID
The manufacturer code and device code can be read without inputting a high voltage to the address pin.
If a bank address is specified in the third bus cycle and a read operation is started from address xx00H in the fourth
bus cycle, manufacturer code 0010H is output. If address xx02H (BYTE mode) or xx01H (WORD mode) is read, the
device code is output. If a read operation is executed from an address in the bank not specified in the third bus cycle,
data of the memory cell is output.
If a read operation is executed starting from address (BA) 02H (WORD mode) or (BA) 04H (BYTE mode),
information indicating which sector group is protected can be obtained. If the sector group address is scanned with
(A6, A1, A0) = (VIL, VIH, VIL), "1" is output to I/O0 to indicate that the sector group is protected (for details refer to 3.10
Sector Group Protection).
The product ID can be read only from the specified bank. To read the manufacturer code, device code, and
information on protection of sector group from a bank not specified, write the read / reset command, specify the bank
address to be read, and then write the product ID command again. To end the product ID mode, writes the read /
reset command. To write the product ID command in the product ID mode, execute the read / reset command once.
3.4 Program
This command is used to program data.
Program is performed in 1 byte or 1 word units. Program can be performed regardless of the address sequence,
even if the sector limit is exceeded. However, "0" cannot be changed back into "1" through the program operation. If
overwriting "1" to "0" is attempted, the program operation is interrupted and "1" is output to I/O5, or successful
program is indicated in data polling, but actually the data is "0" as before.
Following write by command sequence, the pulse required for program is automatically generated inside the device
and program verification is automatically performed, so that control from external is not required.
During automatic program, any command other than the program suspend is ignored. However, automatic program
is interrupted when hardware reset is performed. Since the programmed data is not guaranteed in this case,
reexecute the program command following completion of reset.
Upon completion of automatic program, the device returns to the read mode.
The operation status of automatic program can be determined by using the hardware sequence flags (I/O7, I/O6, RY
(/BY) pins).
See sections 4.2 I/O7 (Data Polling), 4.3 I/O6 (Toggle Bit), and 4.7 RY (/BY) (Ready / Busy).
For the timing chart and flow chart, refer to Figure 6-7. Write Cycle Timing Chart (/WE Controlled), Figure 6-8.
Write Cycle Timing Chart (/CE Controlled) and Figure 7-2. Program Flow Chart.
CHAPTER 3 COMMANDS
Information M14914EJ4V0IF 23
3.5 Program Suspend / Resume
This command is used to suspend automatic programming. Addresses not being programmed to while
programming is suspended can be read.
Sector erase (including the timeout period) and data program operations can be both suspended. Chip erase
operations cannot be suspended.
1
µ
s is required between when the command sequence is programmed and when the automatic program operation
is suspended.
The execution status of an automatic program operation can be determined using a hardware sequence flag (I/O7,
I/O6 pins.) refer to 4.2 I/O7 (Data polling) and 4.3 I/O6 (Toggle Bit).
To resume an automatic program operation, write the resume command (30H) while the operation is suspended.
3.5.1 Caution about Program Suspend / Resume
If automatic program resume and suspend are repeated at intervals of less than 5
µ
s, the program operation may
not be correctly completed.
3.6 Chip Erase
This command is used to erase the entire chip.
Following command sequence write, erase is performed after "0" is written to all memory cells and verification is
performed, using the automatic erase function. Program before erase and control from external are not required.
During automatic erase, all commands that have been written are ignored. However, automatic erase is interrupted
by hardware reset. Since erase is not guaranteed in this case, execute the chip erase command again after reset is
completed.
Upon completion of automatic erase, the device returns to read mode.
The automatic erase operation status can be determined with the hardware sequence flags (I/O7, I/O6, RY (/BY)
pins). See sections 4.2 I/O7 (Data Polling), 4.3 I/O6 (Toggle Bit), and 4.7 RY (/BY) (Ready / Busy).
For the timing chart and flow chart, refer to Figure 6-9. Sector / Chip Erase Timing Chart and Figure 7-3. Sector
/ Chip Erase Flow Chart.
CHAPTER 3 COMMANDS
Information M14914EJ4V0IF
24
3.7 Sector Erase
This command is used to erase data in sector units.
"0" is written to the entire sector whose data is to be erased by the automatic erase function after the command
sequence has been written, and erase is executed after verification has been performed. Programming before erase
and external control are not necessary.
The timeout period of sector erase starts when erase command 30H and the address of the sector to be erased are
written at the sixth bus cycle. When this timeout period (50
µ
s) has elapsed, the device automatically starts erasing.
Two or more sectors can be selected and erased at the same time by additionally writing erase command 30H and
the address of the sector whose data is to be erased during the timeout period. In this case, the timeout period starts
again after the last erase command has been written.
If a protected sector and a sector that is not protected are included in the selected sectors, only the sector that is
not protected is erased and the protected sector is ignored.
If a command other than the sector erase or erase suspend command is input during the timeout period, the device
is reset to the read mode. If the timeout period has elapsed and erase has started, any command other than the
erase suspend command is ignored. However, erase is stopped if hardware reset is executed. In this case, sector
erase is not guaranteed. Execute the sector erase command again after completion of reset.
When automatic erasure has been completed, the device returns to the read mode.
Completion of automatic sector erase can be reported to the host system by using the data polling function of I/O7,
toggle bit function of I/O6, and RY (/BY) pin. Sector erase is started after the lapse of the timeout period that is
started from the rising of the /WE or /CE pulse, whichever earlier, of the last sector erase command and is completed
when the data of I/O7 is set to "1" (refer to CHAPTER 4 HARDWARE SEQUENCE FLAGS). The device returns to
the read mode. Data polling and toggle bit function in any address of the sector that is to be erased. The time require
to erase two or more sectors is "(sector programming time + sector erase time) x number of sectors". If two or more
sectors of different banks are erased, a read operation from a bank (i.e., dual operation) cannot be executed.
For the timing chart and flow chart, refer to Figure 6-9. Sector / Chip Erase Timing Chart and Figure 7-3. Sector
/ Chip Erase Flow Chart.
3.8 Sector Erase Suspend / Resume
This command suspends automatic erase. During erase suspend, sectors for which erase is not performed can be
read and programmed.
Sector erase (including the timeout period) and data program operations can be both be suspended. Chip erase
operations cannot be suspended. Suspend can be performed for all sectors for which erase is being performed.
Following command sequence write, 20
µ
s are required until automatic erase is suspended.
While automatic erase is suspended, any sector for which erase is not being performed can be read and
programmed.
Whether automatic erase is suspended can be determined with the hardware sequence flags (I/O7, I/O6, I/O2 pins).
See sections 4.2 I/O7 (Data Polling), 4.3 I/O6 (Toggle Bit), and 4.4 I/O2 (Toggle Bit II).
If resume automatic erase that has been suspended, write the resume command (30H) while sector erase is
suspended. At this time, input a bank address of the sector for which erasure is suspended.
CHAPTER 3 COMMANDS
Information M14914EJ4V0IF 25
3.8.1 Caution about Sector Erase Suspend / Resume
If automatic erase resume and suspend are repeated at intervals of less than 100
µ
s, the erasure operation may not
be correctly completed.
3.9 Unlock Bypass
This device provides an unlock bypass mode to shorten the program time.
Normally, 4 write cycle included with 2 unlock cycles are required during program. In contrast, with the unlock
bypass mode, it is possible to perform program without unlock cycles.
In the unlock bypass mode, all commands except unlock bypass program and unlock bypass reset are ignored.
To end the unlock bypass mode, the unlock bypass reset command must be written. Note, however, that the
unlock bypass reset command must be written to an address of the bank that is not being read in dual operation. If
the unlock bypass reset command is written, the device returns to the normal read mode.
In the unlock bypass mode, the operating current is necessary even if /CE = VIH.
For the flowchart, refer to Figure 7-4. Unlock Bypass Flow Chart (WORD Mode).
3.9.1 Unlock Bypass Set
This command sets the device to the unlock bypass mode.
3.9.2 Unlock Bypass Program
This command is used to perform program in the unlock bypass mode.
3.9.3 Unlock Bypass Reset
This command is used to quit the unlock bypass mode.
When this command is executed, the device returns to the read mode.
3.10 Sector Group Protection
This command performs sector group protection.
By applying VID to /RESET and writing 60H to any address, the device enters the sector group protection mode.
Sector group protection is started by inputting the sector group address of the sector group to be protected to A12
to A20, inputting (A6, A1, A0) = (VIL, VIH, VIL), and writing 60H. After a timeout of 250
µ
s, sector group protection is
completed.
Next, with the sector group address input to A12 to A20, the device enters the sector group protection verify mode
by inputting (A6, A1, A0) = (VIL, VIH, VIL), and writing 40H. When read is performed in this state, the sector group
protection verify result is output to I/O0. If "1" is output to I/O0, the verified sector group is protected. If "1" was not
output to I/O0, sector group protection failed, so perform sector group protection again.
For the timing chart and flow chart, refer to Figure 6-3. Sector Group Protection Timing Chart and Figure 7-1.
Sector Group Protection Flow Chart.
CHAPTER 3 COMMANDS
Information M14914EJ4V0IF
26
3.11 Sector Group Unprotect
This command performs sector group unprotect.
Sector group unprotect is performed for all sector group. Unprotect cannot be performed for specific sector group.
Moreover, all sector groups must be protected priors to unprotect.
The device enters the sector group unprotect mode by applying VID to /RESET and writing 60H to any address.
If unprotected sector group exist, first perform sector group protection for these sector groups. To protect a sector
group, input the sector group address of the sector group to be protected to the sector group address input pin, input
(A6, A1, A0) = (VIL, VIH, VIL), and write 60H (refer to 3.10 Sector Group Protection).
Sector group unprotect is started by inputting (A6, A1, A0) = (VIH, VIH, VIL), and writing 60H to any address.
Following a timeout of 15 ms, sector group unprotect is completed.
Unprotect verification must be performed for each sector group.
The device enters the sector group unprotect verification mode by inputting the sector group address to input pin of
sector group address and writing 40H, with input (A6, A1, A0) = (VIH, VIH, VIL).
If reading is performed in this state, the sector group unprotect verification result is output to I/O0. If the verified
sector group is unprotected, "0" is output to I/O0. If "0" is not output to I/O0, this means that unprotect failed, so
perform sector group unprotect again.
For the flow chart, refer to Figure 7-5. Sector Group Unprotect Flow Chart.
3.12 Query
The dual operation flash memory conforms to CFI (Common Flash memory Interface). CFI enables information
about a device such as the device specifications, memory density, and supply voltage to be read. Therefore, the
software of the host system can support the software algorithm of a specific vendor used by a device by using the
CFI. For details, refer to the CFI specifications.
By writing the Query command (98H) and giving an address, the device information corresponding to that address
can be read (refer to the CFI Code List in each Data Sheet). If the device information is read in the WORD mode (16
bits), the upper bytes of data (I/O15 to I/O8) are "0".
To end the Query mode, writes the read / reset command.
3.13 Extra One Time Protect Sector Entry
The dual operation flash memory has a sector area that has One Time Protect function. This area does not allow
code that has been written to the area to be changed. This area can be programmed or erased until it is protected.
Once it has been protected, however, protection can never be canceled. Therefore, care must be exercised when
using this area.
The Extra One Time Protect Sector area has a density of 64 Kbytes and exits at the same addresses as the
8K bytes sector. These addresses are 3F0000H to 3FFFFFH for top boot in the BYTE mode (1F8000H to
1FFFFFH in the WORD mode), and 000000H to 00FFFFH for bottom boot in the BYTE mode (000000H to 007FFFH
in the WORD mode). Because boot block areas (8K bytes x 8 sectors) usually appear in the areas of these
addresses, the Extra One Time Protect Sector entry command sequence must be written to enter them as the Extra
One Time Protect Sector area. The status in which the Extra One Time Protect Sector area appears is the Extra One
Time Protect Sector mode.
In the Extra One Time Protect Sector mode, the other sectors, except the boot block area, can be read. In addition,
the Extra One Time Protect Sector area can be read, programmed, or erased in this mode. To exit from the Extra
One Time Protect Sector mode, the Extra One Time Protect Sector Reset command sequence must be written.
CHAPTER 3 COMMANDS
Information M14914EJ4V0IF 27
3.14 Extra One Time Protect Sector Program
To program data to the Extra One Time Protect Sector area, write the Extra One Time Protect Sector Program
command sequence in the Extra One Time Protect Sector mode. This command is no different from the conventional
program command except that it must be written in the Extra One Time Protect Sector mode. Therefore, completion
of execution of this command is detected in the same manner as the conventional detection method of using I/O7 data
polling, I/O6 toggle bit, and RY(/BY). Care must be exercised in selecting a program destination address. If a
program destination address other than the one in the Extra One Time Protect Sector area is selected, the data of that
address is changed.
3.15 Extra One Time Protect Sector Erase
To erase the Extra One Time Protect Sector area, write the Extra One Time Protect Sector erase command
sequence in the Extra One Time Protect Sector mode. This command is the same as the conventional sector erase
command except that it must be written in the Extra One Time Protect Sector mode. Therefore, completion of
execution of this command is detected in the same manner as the conventional detection method of using I/O7 data
polling, I/O6 toggle bit, and RY(/BY). Care must be exercised in selecting a sector address to erase. If a sector
address other than the one in the Extra One Time Protect Sector area is selected, the data of that sector is changed.
3.16 Extra One Time Protect Sector Protection
The following write operations are used to protect the Extra One Time Protect area during the Extra One Time
Protect Sector mode.
Write the sector group protection setup command (60H) in the Extra One Time Protect Sector mode.
Set (A6, A1, A0) = (VIL, VIH, VIL), and set the sector address that selects the Extra One Time Protect Sector.
Write the sector group protection command (60H).
Because the sequence is the same as the conventional command sequence to protect a sector group except that
the Extra One Time Protect Sector mode must be set and that VID is not input to the /RESET, the same command
sequence can be used.
For details of how to protect a sector group, refer to 3.10 Sector Group Protection.
If an address other than the one of the Extra One Time Protect Sector area is specified as a sector address, the
other sectors are affected. Once the sector has been protected, protection can never be canceled. Exercise utmost
care when protecting a sector.
Information M14914EJ4V0IF
28
CHAPTER 4 HARDWARE SEQUENCE FLAGS
The status of automatic program / erase operations can be determined from the status of the I/O2, I/O3, I/O5, I/O6,
I/O7, and RY (/BY) pins.
Table 4-1. Hardware Sequence Flags
Status I/O7Note1 I/O6Note2 I/O5Note3 I/O3 I/O2Note1 RY (/BY)
Progress Program /I/O7 Toggle 0 0 1 0
Erase 0 Toggle 0 1 Toggle 0
Program Program sector Data Data Data Data Data 1
suspend Other than program sector Data Data Data Data Data 1
Erase Erase suspended sector 1 1 0 0 Toggle 1
suspend Other than erase suspended sector Data Data Data Data Data 1
Erase suspend program /I/O7 Toggle 0 0 1 0
Exceeding Program /I/O7 Toggle 1 0 1 0
time Limits Erase 0 Toggle 1 1 N/A 0
Erase Erase suspend program /I/O7 Toggle 1 0 N/A 0
suspend
Notes 1. To read I/O7 or I/O2, a valid address must be input.
2. To read I/O6, any address can be used.
3. For I/O5, "1" is output if the automatic program / erase time exceeds the prescribed number of internal
pulses.
CHAPTER 4 HARDWARE SEQUENCE FLAGS
Information M14914EJ4V0IF 29
4.1 Caution When Reading Flags
When checking the completion or suspension status of an automatic program / erase operation by reading different
sector data within the same bank, be sure to either clock the /CE or change the address before reading the data.
If the /CE is fixed to VIL or data is read from the same address without the address being changed, the output data
may not be output correctly.
4.2 I/O7 (Data Polling)
Data polling is a function to determine the status of automatic program / erase is currently being performed by using
I/O7.
Data polling is valid from the rise of the last /WE in the program / erase command sequence.
The status of automatic program is currently being executed can be determined by reading from the program
destination addresses. While automatic programming is being executed or while automatic programming is being
executed during erasure suspension, the complement of the final data programmed will be output to I/O7. Upon
completion of automatic program, the true value of the programmed data, not the complement, is output.
The status of automatic erase is in progress can be determined by reading from the addresses of the sector being
erased. If erase is in progress, "0" is output to I/O7. If the automatic erase operation is complete or if it is suspend,
"1" will be output to I/O7 when a sector for which erasure is suspended is read.
During automatic erase, if all the selected sectors are protected, data polling is valid for approximately 400
µ
s. The
device is then reset to the read mode. If the selected sectors include protected and unprotected sectors, only
unprotected sectors are erased, and protected sectors are ignored.
Upon completion of automatic program / erase, after the data output to I/O7 changes from the complement to the
true value, I/O7 changes asynchronously like I/O0 to I/O6 while /OE is maintained at low level.
For the timing chart and flow chart, refer to Figure 6-10. Data Polling Timing Chart and Figure 7-6. Data Polling
Flow Chart.
4.3 I/O6 (Toggle Bit)
The toggle bit is a function that uses I/O6 to determine the status of automatic program / erase is in progress.
The toggle bit is valid from the rise of the last /WE in the program / erase command sequence.
If a continuous read is performed from any address of a bank that is undergoing automatic program or erase, I/O6
will be toggled. If a sector other than the erased sector is read after automatic program / erase is complete or when it
is suspended, the I/O6 toggle operation is stopped, and valid data for the read is output. If a sector for which erasure
is suspended is read, “1” will be output to I/O6. Continuous read control is performed with the /OE or /CE.
If program is performed for an address inside a protected sector, I/O6 is toggled approximately 1
µ
s, and then the
device is reset to the read mode.
Moreover, if all the sectors selected at the time of automatic erase are protected, I/O6 is toggled approximately 400
µ
s, and then the device is reset to the read mode.
In this way, by using I/O6, it is possible to determine the status of automatic erase is in progress (or suspended),
but to determine which sector is being erased, I/O2 (toggle bit II) is used. See section 4.4 I/O2 (Toggle Bit II).
For the timing chart and flow chart, refer to Figure 6-11. Toggle Bit Timing Chart, Figure 6-12. I/O2 vs. I/O6
Timing Chart and Figure 7-7. Toggle Bit Flow Chart.
CHAPTER 4 HARDWARE SEQUENCE FLAGS
Information M14914EJ4V0IF
30
4.4 I/O2 (Toggle Bit II)
Toggle bit II is a function that determines the status of automatic erase (or erase suspend) is in progress for a
particular sector by using I/O2.
I/O2 is toggled when continuous read is performed from addresses in a sector during automatic erase (or erase
suspend). Either /OE or /CE is used to control continuous read.
When program to a sector that is not subject to erase suspend is attempted during erase suspend, read from
sectors that are not subject to erase suspend cannot be performed until program is completed. In this case, "1" will be
output to I/O2 if a continuous read is performed from an address in a sector other than an erased sector.
In this way, it is possible to determine the status of automatic erase (including erase suspend) is in progress for
sectors specified using I/O2, but whether the state is erase in progress or erase suspend cannot be determined with
I/O2. To determine this, I/O6 (toggle bit) must be used. See section 4.3 I/O6 (Toggle Bit).
For the timing chart, refer to Figure 6-12. I/O2 vs. I/O6 Timing Chart.
4.5 I/O5 (Exceeding Timing Limits)
If the program / erase time exceeds the prescribed number of pulses during automatic program / erase (exceeding
timing limit), "1" is output to I/O5 and automatic program / erase failure is indicated.
Moreover, if overwriting "0" to "1" is attempted, the device judges data overwrite to be impossible, and "1" is output
to I/O5 when the timing limit is exceeded.
When this happens, execute command reset.
4.6 I/O3 (Sector Erase Timer)
A 50
µ
s timeout period occurs following write with the sector erase command sequence before automatic erase
starts.
During this timeout period, "0" is output to I/O3. When automatic erase starts upon completion of the timeout
period, "1" is output to I/O3.
If sector erase is performed, first confirm whether the device has received a command by using I/O7 (data polling)
or I/O6 (toggle bit). Then, using I/O3, check whether automatic erase has started. If I/O3 is "0", the timeout period is
not over, and so it is possible to add sectors to erase. If I/O3 is "1", automatic erase starts and other commands
(except erase suspend) are ignored until erase is completed.
If a sector to erase is added during the sector erase timeout period, it is recommended to check I/O3 prior to and
following the addition. If I/O3 is "1" following the addition, that addition may not be accepted.
4.7 RY (/BY) (Ready / Busy)
The RY (/BY) is a dedicated output pin used to check the status of automatic program / erase is in progress.
During automatic program / erase, "0" is output to the RY (/BY). If "1" is output, this signifies that the device is
either in the read mode (including erase suspend) or standby mode.
Since the RY (/BY) is an open-drain output pin, it is possible to connect several RY (/BY) in series by connecting a
pull-up resistor to VCC.
For the timing chart, refer to Figure 6-13. RY (/BY) (Ready / Busy) Timing Chart.
Information M14914EJ4V0IF 31
CHAPTER 5 HARDWARE DATA PROTECTION
This device requires two unlock cycles for program / erase command sequence to prevent illegal program / erase.
Moreover, a hardware data protect function is provided as follows.
For specifications, refer to the Data Sheet of each product.
5.1 Low VCC Write Inhibit
To prevent an illegal write cycle during VCC transition, the command register and program / erase circuit is
disabled and all write cycles are ignored while VCC is VLKO or lower. Write commands are ignored until VCC
becomes equal to or greater than VLKO.
5.2 Logical Inhibit
The write cycle is inhibited under any of the following conditions : /OE = VIL, /CE = VIH, or /WE = VIH. To start a
write cycle, /CE = VIL and /WE = VIL must be set while /OE = VIH.
5.3 Power-Up Write Inhibit
Even if /WE = /CE = VIL and /OE = VIH are satisfied at power-up, no commands are accepted at the rising edge of
/WE. The device is automatically reset to the read mode at power ON.
5.4 Write Pulse "Glitch" Protection
Because /OE, /CE, and /WE reject a noise pulse of 5 ns (typical) or less as an invalid pulse, a write operation is
not started.
5.5 Sector Group Protection
The dual operation flash memory can be protected by the user in sector group units. For details, refer to 3.10
Sector Group Protection.
Information M14914EJ4V0IF
32
CHAPTER 6 TIMING CHARTS
For specifications, refer to the Data Sheet of each product.
The CIOf pin is used to switch between BYTE mode and WORD mode in the flash memory incorporated in MCP
products.
Figure 6-1. Read Cycle Timing Chart 1
Address (Input)
/CE (Input)
/OE (Input)
/WE (Input)
High-Z Data out
tOEH tOHtOE
tCE
tRC
tACC
tDF
High-Z
I/O (Output)
Figure 6-2. Read Cycle Timing Chart 2
Address (Input)
/RESET (Input)
tACC
High-Z Data out High-Z
I/O (Output)
tRC
/CE (Input)
tRHtRP
tOH
tCE
tREADY
CHAPTER 6 TIMING CHARTS
Information M14914EJ4V0IF 33
Figure 6-3. Sector Group Protection Timing Chart
SGAx SGAx
Address (Input)
A0 (Input)
A1 (Input)
A6 (Input)
/CE (Input)
/RESET (Input)
VCC
/OE (Input)
/WE (Input)
I/O (Input / Output)
tWC
tVCS
tVLHT
tVIDR
tWC
tOE
TIMEOUTtWP
SGAy
60H 60H 40H 01HNote 60H
VID
VIH
High-Z High-Z High-Z
Note The sector group protection verification result is output.
01H : The sector group is protected.
00H : The sector group is not protected.
Figure 6-4. Temporary Sector Group Unprotect Timing Chart
/RESET (Input)
VCC
/WE (Input)
/CE (Input)
RY (/BY) (Output)
VID
VIH
tVLHT
tVCS
tVIDR
tRRB
tVLHT
tVLHT
(Program or erase command sequence)
Period during which
protection is canceled
CHAPTER 6 TIMING CHARTS
Information M14914EJ4V0IF
34
Figure 6-5. Accelerated Mode Timing Chart
/WP (ACC) (Input)
V
CC
/WE (Input)
/CE (Input)
RY (/BY) (Output)
V
ACC
V
IH
t
VLHT
t
VCS
t
VACCR
t
VLHT
t
VLHT
(Program or erase command sequence)
Accelerated mode period
Figure 6-6. Dual Operation Timing Chart
Address (Input)
/CE (Input)
/OE (Input)
/WE (Input)
I/O (Input / Output)
tAS
BA1
tRC
tAH
InputOutput Output
BA2 BA1 BA2 BA1 BA2
tWC tRC tWC tRC tWC
tACC
tCE tCEPH
tAHT
tAS
tOE tDF
tWP
tGHWL
tDS tDH
tDF
tOEH
Input Output Status
High-Z High-Z High-Z High-Z High-Z
CHAPTER 6 TIMING CHARTS
Information M14914EJ4V0IF 35
Figure 6-7. Write Cycle Timing Chart (/WE Controlled)
Address (Input)
/CE (Input)
/OE (Input)
/WE (Input)
I/O (Input / Output)
t
DS
t
DH
t
GHWL
t
CS
t
WPH
t
BPG
or
t
WPG
t
WC
t
AS
t
AH
t
CH
PD /I/O7 D
OUT
t
OH
t
OE
t
CE
t
RC
555H PA PA
A0H
(3rd and 4th write cycle)
D
OUT
t
WP
(Data polling)
High-Z High-Z High-Z High-Z
Remarks 1. This timing chart shows the last two write cycles among the program command sequence's four write
cycles, and data polling.
2. This timing chart shows the WORD mode’s case. In the BYTE mode, address to be input is different
from the WORD mode. See Table 3-1. Command Sequence.
3. PA : Program address
PD : Program data
/I/O7 : The output of the complement of the data written to the device.
DOUT : The output of the data written to the device.
Figure 6-8. Write Cycle Timing Chart (/CE Controlled)
Address (Input)
/CE (Input)
/OE (Input)
/WE (Input)
I/O (Input / Output)
t
DS
t
GHEL
t
WS
t
BPG
or
t
WPG
t
WC
t
AS
t
AH
PD /I/O7 D
OUT
t
OH
t
OE
t
CE
t
RC
555H PA PA
A0H
(3rd and 4th write cycle)
D
OUT
t
WH
t
DH
t
CP
t
CPH
(Data polling)
High-Z High-ZHigh-Z High-Z
Remarks 1. This timing chart shows the last two write cycles among the program command sequence's four write
cycles, and data polling.
2. This timing chart shows the WORD mode’s case. In the BYTE mode, address to be input is different
from the WORD mode. See Table 3-1. Command Sequence.
3. PA : Program address
PD : Program data
/I/O7 : The output of the complement of the data written to the device.
DOUT : The output of the data written to the device.
CHAPTER 6 TIMING CHARTS
Information M14914EJ4V0IF
36
Figure 6-9. Sector / Chip Erase Timing Chart
Address (Input)
/CE (Input)
/OE (Input)
/WE (Input)
I/O (Input / Output)
V
CC
t
DS
t
DH
t
CH
t
CS
t
WPH
555H
t
WC
t
AS
t
AH
t
WP
55HAAH 80H AAH 55H
(10H for chip erase)
30H
2AAH 555H 555H 2AAH FSA
Note
t
GHWL
t
VCS
High-ZHigh-Z High-Z High-Z High-Z High-Z High-Z
Note FSA is the sector address to be erased. In the case of chip erase, input 555H.
Remark This timing chart shows the WORD mode’s case. In the BYTE mode, address to be input is different from
the WORD mode. See Table 3-1. Command Sequence.
Figure 6-10. Data Polling Timing Chart
/CE (Input)
t
OEH
t
OE
t
BPG,
t
WPG,
t
SER
t
CE
High-Z
t
CH
/OE (Input)
/WE (Input)
I/O7 (Output)
RY (/BY) (Output)
t
EOE
/I/O7
Valid data High-Z
I/O0 to I/O6 (Output)
t
DF
t
BUSY
D
OUT
Note
Status data
High-Z
High-Z
Note I/O7 = DOUT : True value of program data (indicates completion of automatic program / erase)
CHAPTER 6 TIMING CHARTS
Information M14914EJ4V0IF 37
Figure 6-11. Toggle Bit Timing Chart
/OE (Input)
/WE (Input)
/CE (Input)
Address (Input)
I/O6, I/O2 (Input / Output)
t
AS
t
ASO
t
AHT
t
AHT
t
CEPH
t
OEPH
t
OEH
t
BUSY
t
DH
t
OEH
t
CE
t
OE
Input data Toggle Toggle
Valid
data out
Stop
toggling
Note
Toggle
RY (/BY) (Output)
High-ZHigh-ZHigh-ZHigh-ZHigh-Z High-Z
Note I/O6 stops the toggle (indicates automatic program / erase completion).
Figure 6-12. I/O2 vs. I/O6 Timing Chart
/WE (Input)
Input of automatic
erase command
Erase
suspended Erasure resumed
Erase suspended input
of program command
Erase suspended input
of program command
Erase suspended
read
Erase suspended
read
Erasure Erasure Completion of
erasure
Toggle
I/O6 (Output)
I/O2 (Output)
I/O2 and I/O6 (/CE or /OE is used for toggle)
Figure 6-13. RY (/BY) (Ready / Busy) Timing Chart
/CE (Input)
/WE (Input)
RY (/BY) (Output)
t
BUSY
Automatic program or erase
Rising edge of the last write pulse
CHAPTER 6 TIMING CHARTS
Information M14914EJ4V0IF
38
Figure 6-14. (/RESET) / RY (/BY) Timing Chart
/WE, /CE, /OE (Input)
/RESET (Input)
RY (/BY) (Output)
t
RP
t
RPD
t
RB
Figure 6-15. Write /BYTE Timing Chart
/CE, /WE (Input)
/BYTE (Input)
Input determined
t
AH
t
AS
Falling edge of last write pulse
Figure 6-16. BYTE Mode Switching Timing Chart
/CE (Input)
/BYTE (Input)
I/O0 to I/O14 (Output)
High-Z
I/O15 (Output), A1 (Input)
t
ELFL
t
ACC
t
FLQZ
High-Z High-Z
Data Output
I/O0 to I/O14
Data Output
I/O15
Data Output
I/O0 to I/O7
Address Input
A1
Figure 6-17. WORD Mode Switching Timing Chart
Data Output
I/O15
/CE (Input)
/BYTE (Input)
I/O0 to I/O14 (Output)
I/O15 (Output), A1 (Input)
t
ELFH
t
FHQV
t
CE
High-Z High-Z
High-Z
Data Output
I/O0 to I/O14
Data Output
I/O0 to I/O7
Address Input
A1
Information M14914EJ4V0IF 39
CHAPTER 7 FLOW CHARTS
For specifications, refer to the Data Sheet of each product.
Figure 7-1. Sector Group Protection Flow Chart
Start
Sector
group
protection (unprotect) mode
Address = Don't care
Data = 60H
Data = 01H?
No
Sector group protection
complete
Protect other
sector
group
?
Remove VID from /RESET‚
write reset command
No
Yes
Yes
Pulse count = 1
/RESET = VID
Sector group protection
(A6, A1, A0) = (VIL, VIH, VIL),
Address = SGA, Data = 60H
Verify sector group protection
(A6, A1, A0) = (VIL, VIH, VIL),
Address = SGA, Data = 40H
Read from sector group address
(A6, A1, A0) = (VIL, VIH, VIL),
Address = SGA
Timeout 250 s
µ
Wait 4 s
µ
Protect sector group?
No
Pulse count = 25?
Fail
Remove VID from /RESET‚
write reset command Yes
No
Yes
Increment pulse count
Temporary sector group
unprotect mode
Next sector
group address
CHAPTER 7 FLOW CHARTS
Information M14914EJ4V0IF
40
Figure 7-2. Program Flow Chart
Start
Write program
command sequence
Yes
No
Data poll from system
Increment address Last address?
Programing
completed
Figure 7-3. Sector / Chip Erase Flow Chart
Start
Write erase
command sequence
Data = FFH?
Data poll from system
Erasure completed
Yes
No
CHAPTER 7 FLOW CHARTS
Information M14914EJ4V0IF 41
Figure 7-4. Unlock Bypass Flow Chart (WORD Mode)
Start
End
Unlock bypass set
Address= 555H
Data = AAH
Address = 2AAH
Data = 55H
Address = 555H
Data = 20H
Address = BA
Data = 90H
Address = Don't Care
Data = A0H
Address = Don't Care
Data = 00H
Address = Program address
Data = Program data
Programming completed
Last address?
Unlock bypass program
Unlock bypass reset
No
Next address
Data polling
Yes
Remark This flow chart shows the WORD mode’s case. In the BYTE mode, address to be input is different from the
WORD mode. See Table 3-1. Command Sequence.
CHAPTER 7 FLOW CHARTS
Information M14914EJ4V0IF
42
Figure 7-5. Sector Group Unprotect Flow Chart
Start
Data = 00H?
No
Sector group unprotect completed
Last sector group (n=25)?
Remove VID from /RESET
Write reset command
Yes
Yes
Yes
n = 0, Pulse count = 1
/RESET = VID
Sector group protection
Sector group unprotect
(A6, A1, A0) = (VIH, VIH, VIL),
Data = 60H
Verify sector group unprotect
(A6, A1, A0) = (VIH, VIH, VIL),
A12 to A20 = SGA, Data = 40H
Read from sector group address
(A6, A1, A0) = (VIH, VIH, VIL),
A12 to A20 = SGA
Timeout 15 ms
Verify sector group protection
(A6, A1, A0) = (VIL, VIH, VIL),
A12 to A20 = SGA, Data = 40H
Read from sector group address
(A6, A1, A0) = (VIL, VIH, VIL),
A12 to A20 = SGA
n = 0
Wait 4 s
µ
Data = 01H?
Last sector group (n=25)?
No
No
Yes
Yes All sector group protected?
Pulse count = 1000?
Failure
Remove VID from /RESET
Write reset command
No
No
Yes
Increment Pulse
Next sector group address
(n=n+1)
No Next sector group address
(n=n+1)
Sector group protection
Address = Don't Care, Data = 60H
CHAPTER 7 FLOW CHARTS
Information M14914EJ4V0IF 43
Figure 7-6. Data Polling Flow Chart
Start
Read (I/O0 to I/O7)
An = Valid address
I/O7 = Data?
Yes
No
Fail
No
Yes
I/O5 = 1?
Read (I/O0 to I/O7)
An = Valid address
I/O7 = Data?
Pass
Yes
No
Figure 7-7. Toggle Bit Flow Chart
Start
Read (I/O0 to I/O7)
An = Any address in the bank being executed
I/O6 = toggle?
No
No
Fail
Yes
No
I/O5 = 1?
Read (I/O0 to I/O7)
An = Any address in the bank being executed
I/O6 =toggle?
Pass
Yes
Yes
[ MEMO ]
[ MEMO ]
[ MEMO ]
Although NEC has taken all possible steps
to ensure that the documentation supplied
to our customers is complete, bug free
and up-to-date, we readily accept that
errors may occur. Despite all the care and
precautions we've taken, you may
encounter problems in the documentation.
Please complete this form whenever
you'd like to report errors or suggest
improvements to us.
Hong Kong, Philippines, Oceania
NEC Electronics Hong Kong Ltd.
Fax: +852-2886-9022/9044
Korea
NEC Electronics Hong Kong Ltd.
Seoul Branch
Fax: +82-2-528-4411
P.R. China
NEC Electronics Shanghai, Ltd.
NEC Electronics Taiwan Ltd.
Fax: +86-21-6841-1137
Address
North America
NEC Electronics Inc.
Corporate Communications Dept.
Fax: +1-800-729-9288
+1-408-588-6130
Europe
NEC Electronics (Europe) GmbH
Market Communication Dept.
Fax: +49-211-6503-274
South America
NEC do Brasil S.A.
Fax: +55-11-6462-6829
Taiwan
Asian Nations except Philippines
NEC Electronics Singapore Pte. Ltd.
Fax: +886-2-2719-5951
Fax: +65-250-3583
Japan
NEC Semiconductor Technical Hotline
Fax: +81- 44-435-9608
I would like to report the following error/make the following suggestion:
Document title:
Document number: Page number:
Thank you for your kind support.
If possible, please fax the referenced page or drawing.
Excellent Good Acceptable PoorDocument Rating
Clarity
Technical Accuracy
Organization
CS 02.3
Name
Company
From:
Tel. FAX
Facsimile
Message