Fujitsu FR81S User Manual

Page of 2342
CHAPTER 46: WORKFLASH MEMORY 
 
 
5. Operation 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : WORKFLASH MEMORY 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
31 
5.6.  Chip Erase Command 
The chip erase command is shown below. 
The erase target flash macros in the flash memory can be erased in one step using the chip erase command. 
If the chip erase command is sent to the target sector sequentially, the automatic algorithm starts and all 
sectors of the flash memory can be erased in one step. See "5.3 Automatic Algorithm" for details on the chip 
erase command.   
 
1.  Send chip erase commands sequentially to a sector in the flash macro to erase. 
The automatic algorithm is started and data is written to the flash memory. 
 
2.  Perform a read access to an arbitrary address in the flash macro to erase. 
The read data is the hardware sequence flag. Therefore, when bit7 (DPOLL bit) of the read data is "1", 
the chip erase has finished. 
 
The time required to erase the chip is [sector erasure time × total no. of sectors + chip write time 
(preprogram)]. When the chip erase operation finishes, the flash memory returns to the read/reset state.   
 
Notes: 
  When the automatic erase algorithm is started, "0" is written to all of the cells in the flash memory chip 
before erasing the entire chip, and there is no needs to write to the flash memory before the chip erase to 
verify the margins (preprogramming). Furthermore, while verifying the margin, there is no need to 
control the flash memory externally.   
  When security is on, there are restrictions in the procedure for erasing the flash. See "5.9.3 Unlocking 
Flash Security" for details.   
 
 
MB91520 Series
MN705-00010-1v0-E
2002