Infineon F2MC 16LX Flash Programming Manual Programming Specifications v02 00 en
Infineon F2MC 16LX Flash Programming Manual Programming Specifications v02 00 en
Cypress Semiconductor
198 Champion Court
San Jose, CA 95134-1709
Phone (USA): 800.858.1810
Phone (Intnl): +1.408.943.2600
www.cypress.com
Copyrights
Copyrights
© Cypress Semiconductor Corporation, 2010-2016. This document is the property of Cypress Semiconductor Corporation
and its subsidiaries, including Spansion LLC ("Cypress"). This document, including any software or firmware included or refer-
enced in this document ("Software"), is owned by Cypress under the intellectual property laws and treaties of the United
States and other countries worldwide. Cypress reserves all rights under such laws and treaties and does not, except as spe-
cifically stated in this paragraph, grant any license under its patents, copyrights, trademarks, or other intellectual property
rights. If the Software is not accompanied by a license agreement and you do not otherwise have a written agreement with
Cypress governing the use of the Software, then Cypress hereby grants you a personal, non-exclusive, nontransferable
license (without the right to sublicense) (1) under its copyright rights in the Software (a) for Software provided in source code
form, to modify and reproduce the Software solely for use with Cypress hardware products, only internally within your organi-
zation, and (b) to distribute the Software in binary code form externally to end users (either directly or indirectly through resell-
ers and distributors), solely for use on Cypress hardware product units, and (2) under those claims of Cypress's patents that
are infringed by the Software (as provided by Cypress, unmodified) to make, use, distribute, and import the Software solely
for use with Cypress hardware products. Any other use, reproduction, modification, translation, or compilation of the Software
is prohibited.
TO THE EXTENT PERMITTED BY APPLICABLE LAW, CYPRESS MAKES NO WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, WITH REGARD TO THIS DOCUMENT OR ANY SOFTWARE OR ACCOMPANYING HARDWARE, INCLUDING,
BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PUR-
POSE. To the extent permitted by applicable law, Cypress reserves the right to make changes to this document without fur-
ther notice. Cypress does not assume any liability arising out of the application or use of any product or circuit described in
this document. Any information provided in this document, including any sample design information or programming code, is
provided only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test
the functionality and safety of any application made of this information and any resulting product. Cypress products are not
designed, intended, or authorized for use as critical components in systems designed or intended for the operation of weap-
ons, weapons systems, nuclear installations, life-support devices or systems, other medical devices or systems (including
resuscitation equipment and surgical implants), pollution control or hazardous substances management, or other uses where
the failure of the device or system could cause personal injury, death, or property damage ("Unintended Uses"). A critical
component is any component of a device or system whose failure to perform can be reasonably expected to cause the failure
of the device or system, or to affect its safety or effectiveness. Cypress is not liable, in whole or in part, and you shall and
hereby do release Cypress from any claim, damage, or other liability arising from or related to all Unintended Uses of Cypress
products. You shall indemnify and hold Cypress harmless from and against all claims, costs, damages, and other liabilities,
including claims for personal injury or death, arising from or related to any Unintended Uses of Cypress products.
Cypress, the Cypress logo, Spansion, the Spansion logo, and combinations thereof, WICED, PSoC, CapSense, EZ-USB,
F-RAM, and Traveo are trademarks or registered trademarks of Cypress in the United States and other countries. For a more
complete list of Cypress trademarks, visit cypress.com. Other names and brands may be claimed as property of their respec-
tive owners.
1. Flash Memory 5
1.1 Overview......................................................................................................................6
1.1.1 Overview ..........................................................................................................6
1.1.2 Features ...........................................................................................................6
1.1.3 Size and Products of Flash Memory ................................................................7
1.1.4 Block Diagram..................................................................................................7
1.2 Address Map and Sector Configuration .......................................................................8
1.2.1 Flash Memory Area..........................................................................................8
1.2.2 Sector Configuration ........................................................................................8
1.3 Registers.....................................................................................................................9
1.3.1 Flash Memory Registers ..................................................................................9
1.3.2 Flash Memory Control Status Register (FMCS)...............................................9
1.3.3 Flash Memory Write Control Register (FWR1/FWR0) ...................................11
1.4 Setting for Data Write/Erase Operations ...................................................................13
1.4.1 Enabling/Disabling Write Access to Sectors ..................................................13
1.4.2 Enabling Write Access to Flash Memory .......................................................14
1.4.3 Performing Data Write/Erase Operation for the Flash Memory......................14
1.5 Automatic Algorithm...................................................................................................14
1.5.1 Automatic Algorithm .......................................................................................14
1.5.2 Command Sequence .....................................................................................15
1.5.3 Reset Command ............................................................................................16
1.5.4 Data Write Command.....................................................................................17
1.5.5 Chip Erase Command....................................................................................18
1.5.6 Sector Erase Command.................................................................................19
1.5.7 Sector Erase Suspend Command..................................................................20
1.5.8 Sector Erase Resume Command ..................................................................21
1.6 Hardware Sequence Flag ..........................................................................................22
1.6.1 Hardware Sequence Flag ..............................................................................22
1.6.2 Data Polling Flag (DQ7) .................................................................................24
1.6.3 Toggle Bit Flag (DQ6).....................................................................................28
1.6.4 Timing Limit Exceeded Flag (DQ5) ................................................................31
1.6.5 Sector Erase Timer Flag (DQ3)......................................................................32
1.7 Explanation of Operations .........................................................................................36
1.7.1 Read Operation..............................................................................................36
1.7.2 Resetting Flash Memory ................................................................................36
1.7.3 Writing Data ...................................................................................................36
1.7.4 Chip Erase Operation.....................................................................................38
1.7.5 Chip Erase Operation.....................................................................................38
1.7.6 Sector Erase Operation..................................................................................39
1.7.7 Sector Erase Suspend Operation ..................................................................42
1.7.8 Sector Erase Resume Operation ...................................................................44
1.8 Flash Memory Mode ..................................................................................................45
1.8.1 Setting Flash Memory Mode ..........................................................................45
Index 49
3. Major changes 51
Revision History 52
1.1 Overview
Flash memory is rewritable built-in program memory.
1.1.1 Overview
Flash memory operates as built-in program memory. It allows data to be read by word and byte. As
instruction codes can be fetched from the flash memory, the CPU can execute programs on the flash
memory.
The flash memory is rewritable. Its data-write function enables data to be written by word. The data
written through the data-write operation is saved to the flash memory and maintained even after the
power is switched off. The flash memory is divided into sectors and this allows data to be erased by
sector. It can also erase data from all of the sectors at once.
There are the following three methods to perform Data Write/Erase operation for flash memory.
■ Execution of a program
■ Serial programmer (flash memory writer)
■ Parallel programmer (flash memory writer)
The flash security function can apply security to protect flash memory. When the security is applied,
data cannot be read from, written to, or erased from the flash memory via external pins.
1.1.2 Features
Features of the flash memory are as follows:
■ Data Write/Erase is possible according to the program execution of CPU.
■ Commands can be performed automatically using automatic algorithms (equivalent to Embedded
Algorithm).
■ The hardware sequence flag detects the execution status of the automatic algorithm.
■ Data can be written by word (16 bits).
■ Data can be erased by sector or all sectors at once (chip erase).
■ In flash memory mode, a parallel flash programmer can perform Data Write/Erase through
external pins.
■ Number of times Data Write/Erase operation (min.): 10,000 times
■ Read cycle time (min.): 2 machine cycles
8 Kbytes ´ 4 sectors
Sector configuration
48 Kbytes ´ 2 sectors
BYTE BYTE
Port
CE CE
OE OE
WE WE
FF:FFFFH
Flash Memory
(128 Kbytes)
FE:0000H
00:0000H
1.3 Registers
The flash memory has registers that control Data Write/Erase operations.
Table 1-4. Bit configuration of Flash Memory Control Status Register (FMCS)
bit 7 6 5 4 3 2 1 0
Bit
R/W R(1),W R/W R,WX R/W0 R/W0 R/W0 R/W0
attribute
Initial
0 0 0 X 0 0 0 0
value
R/W: Readable/writable
R(1),W:Readable and writable
R,WX: Read only
R/W0: Always write "0"
X: Undefined
Use a byte access to access the flash memory control status register (FMCS).
[bit7] INTE : Flash memory interrupt enable bit
This bit enables an interrupt request upon completion of the automatic algorithm of Data Write/Erase
operation. An interrupt request occurs, if the RDYINT bit is set to "1" when the INTE bit is "1". The
initial value of the INTE bit is "0". For this series, always write "0" to this bit.
The data write/erase operation has been completed or not activated (ready
1
status)
Bit
RX,W0 RX,W0 RX,W0 RX,W0 RX,W0 RX,W0 RX,W0 RX,W0
attribute
Initial
X X X X X X X X
value
bit 7 6 5 4 3 2 1 0
Bit
RX,W0 RX,W0 R,W R,W R,W R,W R,W R,W
attribute
Initial
X X 0 0 0 0 0 0
value
Table 1-5 shows the sectors corresponding to accidental write prevention setting bits (FWR0:SAxE).
Table 1-5. Sectors Corresponding to Accidental Write Prevention Setting Bits (FWR0:SAxE)
Bit Bit Name Corresponding sector Remarks
7 Reserved ¾
Set these bits to "0".
6 Reserved ¾
5 SA5E SA5
4 SA4E SA4
3 SA3E SA3
2 SA2E SA2
1 SA1E SA1
0 SA0E SA0
A reset initializes the accidental write prevention setting bit (FWR0:SAxE) to "0". After reset, the write
disabled status is maintained until the first write access to the flash memory write control register
(FWR0:FWRx). When "1" is written at the first write access after the reset, the write-enabled status is
set. Writing "0" to the bit in the write-enabled status changes it to the write-protected status. When
"0" is written at the first write access after the reset, the write-protected status is set. Even if "1" is
written to the bit in the write-protected status, the accidental write prevention setting bit is not set to
"1" and remains in the write-protected status. Figure 1-4 shows the state transition of accidental
write prevention setting bit (FWR0:SAxE).
Figure 1-4. State Transition of Accidental Write Prevention Setting Bit (FWR0:SAxE)
"1" write
"1" write
Reset
Accidental
write prevented
"0"
"0" write
"1" write
0 0
1 0
The accidental write prevention setting bit (FWR0:SAxE) can be set to the write-enabled status by
only the first register writing after a reset. Set it to the write-enabled status only for the sectors which
is to be performed Data Write/Erase operation. Figure 1-5 shows a setting example of the accidental
write prevention setting bit (FWR0:SAxE).
Figure 1-5. Setting Example of the Accidental Write Prevention Setting Bit (FWR0:SAxE)
Writing to Writing to
Initialization register register Initialization
RST
Write Accidental
Write enabled write Write disabled
disabled prevented
SA0E
Write
disabled Accidental write prevented Write disabled
SA1E
Write
disabled Accidental write prevented Write disabled
SA2E
Write
disabled Write enabled Write disabled
SA3E
Address XXXXXeH - - - - -
Reset
Data F0F0H - - - - -
Address
Data
Formula Value
Address
Data
Formula Value
Address
Data
Formula Value
The flash memory starts the automatic algorithm for data-write operation when the address and data
of the fourth writing of the command sequence is written. During the execution of the automatic
algorithm for data-write operation, only the reset command can be issued. And any write access to
the flash memory (issuing the command) other than the reset command is ignored.
Address
Data
Formula Value
The flash memory starts the automatic algorithm for chip erase operations when the sixth writing of
the command sequence are written. During the execution of the automatic algorithm for chip erase
operations, only the reset command can be issued. And any write access to the flash memory
(issuing the command) other than the reset command is ignored.
Address
Data
Formula Value
When the command sequence is written, the flash memory starts the automatic algorithm for sector
erase operation.
The sixth writing of the command sequence is a sector erase code. Writing the sector erase code of
the command sequence starts a sector erase time-out period. The next sector erase code can be
written during this sector erase time-out period. Multiple target sectors can be specified for sector
erase operation by writing the sector erase code more than once. Table 1-13 shows the sector erase
code.
Address
Data
Formula Value
During the execution of the automatic algorithm for sector erase operations, only the sector erase
suspend command and the reset command can be issued.
Address
Data
Formula Value
If the sector erase suspend command is issued during the execution of the automatic algorithm for
sector erase operations, the flash memory temporarily suspends the sector erase operation. During
the suspension of the sector erase operation, data can be read from sectors other than the sector
that was specified for the erase target by preceding sector erase command. Even if the sector erase
suspend command is reissued during the suspension of the sector erase operation, that command is
ignored.
Address
Data
Formula Value
When the sector erase resume command is issued during the suspension of a sector erase opera-
tion, the flash memory resumes the sector erase operation. Even if the sector erase resume
command is issued at a time other than during the suspension of a sector erase operation, that com-
mand is ignored.
bit 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
bit 7 6 5 4 3 2 1 0
Figure 1-7 shows the bit configuration of hardware sequence flag. The read value of undefined bits
of the hardware sequence flag is indeterminate.
Figure 1-7. Bit Configuration of Hardware Sequence Flag
bit 7 6 5 4 3 2 1 0
Hardware
Sequence DQ7 DQ6 DQ5 Undefined DQ3 Undefined Undefined Undefined
Flag
R R R R R R R R
Table 1-16 shows the list of states of hardware sequence flag. "End of execution (read/reset state)"
in Table 1-16 is not a result of the hardware sequence flag but a result of a usual read. To make
easily to compare, the item is shown in the table.
PD[7] : Value reversed from bit 7 of writing data specified by Data write command
DATA : Data written in the read address
DATA WRITE
COMMAND
NORMAL END
TIMING LIMIT
EXCESS
RESET
COMMAND
ABNORMAL STATE
DQ7=PD[7]
When the data polling flag (DQ7) is read during the execution of the automatic algorithm, its read
value is the value reversed from bit 7 of the write data (PD). The read address is any address in the
flash memory area. The write data (PD) is the data specified by the data write command.
When the flag is read after the completion of the automatic algorithm, the read value is bit 7 of the
data at that address. The flash memory returns to the read/reset state. The data written in the flash
memory is read as normal read data.
Read the address (PA) specified by the data write command as the data polling flag (DQ7). During
the execution of the automatic algorithm, it indicates the value reversed from bit 7 of the write data
(PD). After the completion of the automatic algorithm, it indicates the value of bit 7 of the write data
(PD). Although the written data (DATA) is read after the completion of the automatic algorithm, that
value is actually the same as the write data (PD).
CHIP ERASE
COMMAND
NORMAL END
TIMING LIMIT
EXCESS
RESET
COMMAND
ABNORMAL STATE
DQ7= "0"
When the data polling flag (DQ7) is read during the execution of the automatic algorithm, its read
value is "0". The read address is any address in the flash memory area.
When the flag is read after the completion of the automatic algorithm, the read value is "1". The flash
memory returns to the read/reset state. After the completion of the automatic algorithm, "1" is
actually read as the erased data from the flash memory.
SECTOR ERASE
COMMAND
SECTOR ERASE
READ/RESET STATE
TIMEOUT PERIOD
DQ7=DATA[7]
DQ7= "1"
SECTOR ERASE
ABNORMAL STATE
PERIOD
DQ7= "0"
DQ7= "0"
TIMING LIMIT
EXCESS
The data polling flag (DQ7) can be read by making read access to the sector to be erased during the
execution of the automatic algorithm. In this series, the read value of the data polling flag (DQ7) is
set to "1" when the sector erase command is issued. Then, after the sector erase timeout period is
reached, the read value is changed to "0". Once the sector erase timeout period is reached, the read
value is "0" during the execution of the automatic algorithm.
When the flag is read after the completion of the automatic algorithm, the read value is "1". The flash
memory returns to the read/reset state. After the completion of the automatic algorithm, "1" is actu-
ally read as the erased data from the flash memory.
SECTOR ERASE
SUSPEND
COMMAND
SECTOR ERASE
SUSPEND
COMMAND
READ
SECTOR ERASE SECTOR ERASE (NOT ERASE
RESUME TARGET SECTOR)
DQ7= "0"
COMMAND
DQ7=DATA[7]
When the data polling flag (DQ7) is read during the suspension of a sector erase operation, its read
value is "1". The read address is the address of the sector to be erased in the flash memory area.
When the sector erase operation is resumed, the read value of the data polling flag (DQ7) is
changed to "0".
If a sector that is not to be erased is read during the suspension of a sector erase operation, the read
value is bit 7 of the data at that address. The data written in the flash memory is read as normal read
data.
DATA WRITE
COMMAND
NORMAL END
TIMING LIMIT
EXCESS
RESET
COMMAND
ABNORMAL STATE
DQ6= TOGGLE
The toggle bit flag (DQ6) performs a toggle operation through which it indicates "1" and "0" alterna-
tively every time it is read during the execution of the automatic algorithm. The read address is any
address in the flash memory area.
When the flag is read after the completion of the automatic algorithm, its read value is bit 6 of the
data at that address. The flash memory returns to the read/reset state. The data written in the flash
memory is read as normal read data.
CHIP ERASE/
SECTOR ERASE
COMMAND
CHIP ERASE/
READ/RESET STATE
SECTOR ERASE
DQ6=DATA[6]
DQ6= TOGGLE
NORMAL END
TIMING LIMIT
EXCESS
RESET
COMMAND
ABNORMAL STATE
DQ6= TOGGLE
The toggle bit flag (DQ6) performs a toggle operation through which it indicates "1" and "0" alterna-
tively every time it is read during the execution of the automatic algorithm. The read address for the
chip erase operation is any address in the flash memory area. The read address for the sector erase
operation is the address of the sector to be erased in the flash memory area.
When the flag is read after the completion of the automatic algorithm, the read value is "1". The flash
memory returns to the read/reset state. After the completion of the automatic algorithm, "1" is actu-
ally read as the erased data from the flash memory.
SECTOR ERASE
SUSPEND
COMMAND
SUSPENDING
SECTOR ERASE
SECTOR ERASE
DQ6=TOGGLE
DQ6= "1"
SECTOR ERASE
RESUME
COMMAND
READ
(NOT ERASE
TARGET SECTOR)
DQ6=DATA[6]
When the toggle bit flag (DQ6) is read during the suspension of a sector erase operation, its read
value is "1". The read address is the address of the sector to be erased in the flash memory area.
When the sector erase operation is resumed, the read value of the toggle bit flag (DQ6) performs a
toggle operation.
When a sector that is not to be erased is read during the suspension of a sector erase operation, the
read value is bit 6 of the data at that address. The data written in the flash memory is read as normal
read data.
COMMAND
EXECUTE
READ/RESET STATE
AUTOMATIC ALGORITHM
DQ5=DATA[5]
DQ5= "0"
NORMAL END
TIMING LIMIT
EXCESS
RESET
COMMAND
ABNORMAL STATE
DQ5= "1"
If the specified time (required for the Data Write/Erase operation) has not yet been reached when the
flag is read during the execution of the automatic algorithm, the read value is "0". If the specified time
has already been exceeded, the read value is "1".
If the data polling flag (DQ7) or the toggle bit flag (DQ6) indicates that the automatic algorithm is cur-
rently being executed when the timing limit exceeded flag (DQ5) becomes "1", the Data Write/Erase
operation can be determined as unsuccessful. In such cases, issue the reset command to the flash
memory.
DATA WRITE
COMMAND
NORMAL END
TIMING LIMIT
EXCESS
RESET
COMMAND
ABNORMAL STATE
DQ3= "0"
When the sector erase timer flag (DQ3) is read during the execution of the automatic algorithm, its
read value is "0". The read address is any address in the flash memory area.
When the flag is read after the completion of the automatic algorithm, the read value is bit 3 of the
data at that address. The flash memory returns to the read/reset state. The data written in the flash
memory is read as normal read data.
CHIP ERASE
COMMAND
NORMAL END
TIMING LIMIT
EXCESS
RESET
COMMAND
ABNORMAL STATE
DQ3= "1"
When the sector erase timer flag (DQ3) is read during the execution of the automatic algorithm, its
read value is "1". The read address is any address in the flash memory area.
When the flag is read after the completion of the automatic algorithm, the read value is "1". The flash
memory returns to the read/reset state. The data erased from the flash memory is read as normal
read data.
SECTOR ERASE
COMMAND
SECTOR ERASE
READ/RESET STATE
TIMEOUT PERIOD
DQ3=DATA[3]
DQ3= "0"
SECTOR ERASE
ABNORMAL STATE
PERIOD
DQ3= "0"
DQ3= "1"
TIMING LIMIT
EXCESS
When the sector erase command is issued, the read value of the sector erase timer flag (DQ3) is set
to "0". After that, when the sector erase timeout period is reached, the read value is changed to "1".
After the sector erase timeout period is reached, the read value is "1" during the execution of the
automatic algorithm.
When the flag is read after the completion of the automatic algorithm, the read value is "1". The flash
memory returns to the read/reset state. The data erased from the flash memory is read as normal
read data.
SECTOR ERASE
SUSPEND
COMMAND
SECTOR ERASE
SUSPEND
COMMAND
READ
SECTOR
SECTOR ERASE (NOT ERASE
ERASE RESUME
DQ3= "1" COMMAND TARGET SECTOR)
DQ3=DATA[3]
When the sector erase timer flag (DQ3) is read during the suspension of a sector erase operation, its
read value is "0". The read address is the address of the sector to be erased in the flash memory
area. When the sector erase operation is resumed, the read value of the sector erase timer flag
(DQ3) is changed to "1".
When the sector that is not to be erased is read during the suspension of a sector erase operation,
the read value is bit 3 of the data at that address. The data written in the flash memory is read as
normal read data.
000000000001000
0000000000000000B 1111111111111111B 1111111111101111B
0B
After issuing the data write command to the flash memory, read the hardware sequence flag to
check if the automatic algorithm is completed. The data polling flag (DQ7) or the toggle bit flag (DQ6)
can be used to confirm if the data write operation is completed.
The timing limit exceeded flag (DQ5) can be checked to detect an unsuccessful data write operation.
The data polling flag (DQ7) may change almost at the same time as the timing limit exceeded flag
(DQ5). Check the data polling flag (DQ7) again after the timing limit exceeded flag (DQ5) indicates
"1".
Similarly, the toggle bit flag (DQ6) may also stop its toggle operation almost at the same time as the
timing limit exceeded flag (DQ5). Check the toggle bit flag (DQ6) again after the timing limit
exceeded flag (DQ5) indicates "1".
Figure 1-20 shows the example of the flash memory data write procedure using the data polling flag
(DQ7).
Figure 1-20. Example of Flash Memory Data Write Procedure
Start
FMCS:WE "1"
Write enabled
YES
DQ7=PD[7]?
NO
YES
DQ5= "0" ?
NO
NO
DQ7=PD[7]?
YES
NO
All data finished ?
YES
End
Start
FMCS:WE "1"
Write enabled
temp DQ6
YES
DQ6 = temp ?
NO (Toggle)
YES
DQ5 = "0" ?
NO
temp DQ6
DQ6 = temp ?
NO (Toggle)
YES
End
Start
FMCS:WE "1"
Write enabled
NO
DQ5 = "1"
YES
NO
DQ6_1 = DQ6_2 ?
YES
FLAG = "1" ?
YES
NO
End
Start
Confirm elapse of 20 µs
NO
Elapse of 20 µs ?
YES
temp DQ6
DQ6 = temp ?
NO (Toggle)
YES
temp : Temporary variable for
toggle operation detection
Suspend sector erase
Table 1-18. Setting of Mode Setting Pins for Flash Memory Mode
MD2 1 (high)
MD0 1 (high)
1.8.1.1 Correspondence between Flash Memory Mode Control Signal and External Pin
In flash memory mode, the MCU functions stop. The built-in flash memory is associated with exter-
nal pins via which the built-in flash memory can be controlled. The automatic algorithm of the flash
memory is activated via the external pins in order to Data Write/Erase operation. The flash memory
interface circuit is connected to ports.
MB90F931
1 M bits FE: 0001H 01H
MB90F931S
1.10 Notes
This section explains the notes of the flash memory.
1.10.1 Notes
1.10.1.1 Writing data to bits whose value is "0"
Bits whose value is "0" cannot be changed to "1" by writing data to them. If an attempt is made to
write "1" to a bit to which "0" is written as its value, the flash memory is locked and the automatic
algorithm does not complete. In rare cases, however, it may complete normally as if "1" has been
written successfully.
When the flash memory is locked, the time limit is exceeded and the timing limit exceeded flag
(DQ5) indicates "1". This state represents incorrect use of the flash memory, rather than a failure in
the flash memory. If the timing limit exceeded flag (DQ5) indicates "1", issue the reset command to
the flash memory.
1.10.1.8 Restrictions on the data polling flag (DQ7) during the sector erase operation
In this series, when the sector erase command is issued, the value of the data polling flag (DQ7)
changes differently from the original value of the automatic algorithm. In the original specification,
the flag indicates "0" when the sector erase command is issued, and it changes to "1" when the auto-
matic algorithm is completed. In this series, however, the flag indicates "1" when the sector erase
command is issued, it changes to "0" when the sector erase timeout period is reached, and then, it
changes back to "1" when the automatic algorithm is completed. Figure 1-24 shows the difference in
the value of the data polling flag (DQ7) during the sector erase operation.
Figure 1-24. Difference in the Value of Data Polling Flag (DQ7) during the Sector Erase Operation
DQ7
(Original specification)
DQ7
(This series)
DQ3
D
Data Write Command H
Data Write Command16 Hardware Sequence Flag
Hardware Sequence Flag21
E
Erase Operation M
Performing Data Write/Erase Operation for Mode
the Flash Memory12
External Pin Correspondence between Flash Memory Mode
Correspondence between Flash Memory Mode Control Signal and External Pin
Control Signal and External Pin46 46
Sector Configuration for Flash Memory Mode
46
Setting Flash Memory Mode46
F
Flag
R W
Read Write
Read Operation35 Data Write/Chip Erase/Sector Erase Operations
Register 30
Flash Memory Write Control Register Performing Data Write/Erase Operation for
(FWR1/FWR0)8 the Flash Memory12
Reset Command Write Protection36
Reset Command15 Write Access
Resetting Enabling Write Access to Flash Memory
Resetting Flash Memory35 11
Resume Command Enabling/Disabling Write Access to Sectors
Sector Erase Resume Command20 10
Resuming Sector Erase Write Operation
Procedure for Resuming Sector Erase Operation Data Write Operation23, 27, 31
45 Write Protection
Write Protection36, 38, 40
Writing Data
Procedure for Writing Data36
S
Sector
Sector Configuration4
Sector Configuration
Sector Configuration4
Sector Configuration for Flash Memory Mode
46
Sector Erase
Chip Erase/Sector Erase Operations28
Data Write/Chip Erase/Sector Erase Operations
30
Procedure for Sector Erase Operation40
Sector Erase Operation25, 33, 40
Sector Erase Command
Sector Erase Command18
- First edition