CHAPTER 23 2M/3M BIT FLASH MEMORY
23.6 Flash Memory Write/Erase Operations
This section describes various operation procedures after issuing the automatic
algorithm start command, including flash memory read/reset, write, chip erase, sector
erase, sector erase suspend and sector erase resume.
■
Flash memory write/erase
The automatic algorithm can be started by writing one of read/reset, write, chip erase, sector
erase, sector erase suspend, and erase resume in the command sequence (see Table 23.4-1)
from CPU to the flash memory. Write cycle from CPU to the flash memory must be executed
consecutively. The end of the automatic algorithm can be detected with such functions as the
data polling function. After a normal end, the operational state returns to the read/reset state.
This section describes the following items related to flash memory write/erase operations.
•
Setting the flash memory to read/reset state
•
Writing data
•
Erasing all data (entire chip erase)
•
Erasing arbitrary data (sector erase)
•
Suspending sector erase
•
Resuming sector erase
•
Flash memory performs a bus write cycle according to for operations such as
494