1-MBIT FLASH MEMORY
25-19
25.7.3 All Data Erasing from Flash Memory (Chip Erasing)
This section explains the procedure for issuing the chip erase command to erase all data from flash memory.
n
All data erasing from flash memory (Chip Erase)
All data can be erased from flash memory by continuously sending the chip erase command in the command
sequence table (see
Table 25-2
of
Section
25.5
) to a target sector in flash memory.
The chip erase command is executed in six bus operations. Chip erasing is started at completion of the 6th
write cycle. Before chip erasing, the user need not perform writing to flash memory. During execution of the
automatic erasing algorithm, flash memory writes 0 for verification before automatically erasing all cells.
25.7.4 Erasing any Data in Flash Memory (Sector Erasing)
This section explains the procedure for issuing the Sector Erase command to erase any data in flash
memory. Sector-by-sector erasing is enabled and multiple sectors can be specified at a time.
n
Erasing any data in flash memory (sector erasing)
Any sector in flash memory can be erased by continuously sending the Sector Erase command in the
command sequence table (see
Table 25-2
of
Section
25.5
) to a target sector in flash memory.
•
Specifying sector
The sector erase command is executed in six bus operations. When the sector erase code (30
H
) is written
to any one of the accessible even addresses in the sixth cycle, a 50-µs sector erasing wait is started.
When erasing more than one sector, the sector erase code (30
H
) is written to the sector address, following
the above sequence.
•
Precautions at specifying multiple sectors
Sector erasing is started after a 50-µs period waiting for sector erasing is completed after the last sector
erase code has been written. That is, when erasing more than one sector simultaneously, the next sector
to be erased must be input within 50 µs and subsequent sectors many not be accepted. Whether
subsequent writing of the sector erase code is enabled can be checked by the sector erase timer (the
hardware sequence flag (DQ3)). In this case, the address from which the sector erase timer is read should
correspond to the sector to be erased.
n
Erasing procedure for flash memory sectors
The state of the automatic algorithm in the flash memory can be determined using the hardware sequence
flag (
Section 25.6
).
Figure 25.4
gives an example of the flash memory sector erase procedure. In this
example, the toggle bit flag (DQ6) is used to check that erase ends.
Note that data to be read to check the flag is read from the sector about to be erased.
The toggle bit flag (DQ6) stops the toggle operation concurrently with the transition of the timing limit
exceeding flag (DQ5) to 1, so the toggle bit flag (DQ6) must be re-checked even when DQ5 is 1.
Similarly, the data polling flag (DQ7) changes concurrently with the transition of the timing limit exceeding
flag (DQ5), so DQ7 must be re-checked.
Содержание MB90420/5 (A) Series
Страница 2: ...ii ...
Страница 24: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 1 2 ...
Страница 42: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 2 2 ...
Страница 76: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 2 36 ...
Страница 78: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 3 2 ...
Страница 90: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 4 2 ...
Страница 102: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 4 14 ...
Страница 104: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 5 2 ...
Страница 126: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 5 24 ...
Страница 128: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 6 2 ...
Страница 165: ...7 1 Mode Setting 7 3 7 2 Mode Pins MD2 to MD0 7 4 7 3 Mode Data 7 5 7 MODE SETTING ...
Страница 166: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 7 2 ...
Страница 172: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 8 2 ...
Страница 224: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 9 2 ...
Страница 244: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 10 2 ...
Страница 270: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 11 2 ...
Страница 286: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 12 2 ...
Страница 326: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 13 2 ...
Страница 338: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 14 2 ...
Страница 353: ...LCD CONTROLLER DRIVER 14 17 ...
Страница 365: ...LCD CONTROLLER DRIVER 14 29 ...
Страница 367: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 15 2 ...
Страница 377: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 16 2 ...
Страница 397: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 17 2 ...
Страница 400: ...18 1 Overview of Timepiece Timer 18 3 18 2 Timepiece Timer Registers 18 4 18 TIMEPIECE TIMER ...
Страница 401: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 18 2 ...
Страница 409: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 19 2 ...
Страница 436: ...20 1 Overview of Sound Generator 20 3 20 2 Sound Generator Registers 20 4 20 SOUND GENERATOR ...
Страница 437: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 20 2 ...
Страница 445: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 20 10 ...
Страница 446: ...21 1 Overview of ROM Correction 21 3 21 2 Application Example of ROM Correction 21 6 21 ROM CORRECTION ...
Страница 447: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 21 2 ...
Страница 455: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 21 10 ...
Страница 457: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 22 2 ...
Страница 461: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 23 2 ...
Страница 503: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 23 44 ...
Страница 505: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 24 2 ...
Страница 513: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 24 10 ...
Страница 515: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 25 2 ...
Страница 541: ...MB90420 5 A SERIES F2 MC 16LX FAMILY 16 BIT MICROCONTROLLERS HARDWARE MANUAL 26 2 ...