CHAPTER 28 256-KBIT FLASH MEMORY
28.6
Details of Programming/Erasing Flash Memory
This section describes the individual procedures for flash memory reading/resetting,
programming, and chip-erasing by entering their respective commands to invoke the
automatic algorithm.
Details of Programming/Erasing Flash Memory
The automatic algorithm can be invoked by writing the read/reset, program, and chip-erase command
sequence to flash memory from the CPU. Writing command sequence to flash memory from the CPU must
always be performed continuously. The termination of the automatic algorithm can be checked by the data
polling function. After the automatic algorithm terminates normally, the flash memory returns to the read/
reset state.
The individual operations are explained in the following order:
• Enter read/reset state.
• Program data.
• Erase all data (chip-erase).
534