Fujitsu FR81S User Manual

Page of 2342
CHAPTER 46: WORKFLASH MEMORY 
 
 
5. Operation 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : WORKFLASH MEMORY 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
32 
5.7.  Sector Erase Command 
The sector erase command is shown below. 
A sector in the flash memory can be selected and only data in the selected sector can be deleted. Multiple 
sectors can also be specified at the same time. Sector erase is performed in the following order. 
1.  Send sector erase commands sequentially to the target sector 
Once 40μs has elapsed (timeout period), the automatic algorithm starts and the sector erase operation is 
started. If you want to erase multiple sectors, write the erase code (30
H
) to the address of the sector to 
erase within the 40μs (timeout period). If the write is performed after the timeout period has elapsed, 
the sector erase command may be invalid. 
 
2.  Perform read access to an arbitrary address 
The read data is the hardware sequence flag. Therefore, when bit7 (DPOLL bit) of the read data is "1", 
the sector erase has finished. Furthermore, you can use the TOGG1 bit to check whether or not the 
sector erase has finished. 
The following shows an example of the sector erase procedure taking the example of using the TOGG1 
bit in the check operation. 
MB91520 Series
MN705-00010-1v0-E
2003