Fujitsu FR81S User Manual

Page of 2342
CHAPTER 46: WORKFLASH MEMORY 
 
 
5. Operation 
 
FUJITSU SEMICONDUCTOR LIMITED 
CHAPTER : WORKFLASH MEMORY 
FUJITSU SEMICONDUCTOR CONFIDENTIAL 
25 
Note: 
When the automatic algorithm is running, the data for the specified address cannot be read. Read data after 
using this bit to check whether the automatic algorithm operation has finished. 
 
[bit6] TOGG1 (Toggle flag 1 bit) 
When the hardware sequence flag is read by specifying an arbitrary address, this bit indicates whether or 
not the automatic algorithm is running. The value that is read differs depending on the status.   
During write / sector erase / chip erase 
During write / sector 
erase / chip erase 
If this bit is read sequentially, "1" and "0" are read alternatively (toggle 
operation). The address specified for reading the hardware sequence flag 
is not accessed. 
After write / sector erase 
/ chip erase 
Reads out the value of bit6 of the address specified for reading the 
hardware sequence flag. 
 
[bit5] TLOV (Timing limit exceeded flag bit) 
When the hardware sequence flag is read by specifying an arbitrary address, this bit indicates whether or 
not the execution time of the automatic algorithm exceeded the time specifying internally within the flash 
memory (number of internal pulses). The value that is read differs depending on the state. 
During write / sector erase / chip erase 
The next values are read. 
"0" 
Within the rated time 
"1" 
Exceeds rated time 
When this bit is "1", if the DPOLL bit and TOGG1 bit indicate that the automatic algorithm execution is in 
progress, the write or erase has failed. 
For example, because data written to "0" cannot be rewritten with "1" in flash memory, when an attempt is 
made to write "1" to an address already written with "0", the flash memory is locked and the automatic 
algorithm does not end. In this case, the value of the DPOLL bit remains invalid and the value read from the 
TOGG1 bit continues to alternate between "1" and "0". If the rated time is exceeded in this state, this bit 
changes to "1". If this bit becomes "1", issue a reset command. 
Note: 
When this bit is "1", this indicates that the flash memory was not used correctly. The flash memory is not 
faulty. Perform the appropriate processing after issuing the reset command. 
 
MB91520 Series
MN705-00010-1v0-E
1996