S6E2CC/C5/C4/C3/C2/C1 Series Flash Programming Specification, Document Number: 002-04913 Rev. *D
20
While write is in progress:
Reads out the opposite value (inverse data) of bit7 of data written at the last command sequence (PD).
This does not access the address that was specified for reading the hardware sequence flags.
Note:
−
The data for a specified address cannot be read while the automatic algorithm is running. Confirm that the automatic
algorithm has finished running by using this bit before reading data.
[bit6] TOGG: Toggle Flag Bit
When the hardware sequence flags are read by specifying an arbitrary address, this bit indicates whether or not the
automatic algorithm is currently running.
The value that is read out varies depending on the operating state.
During write, sector erase, or flash erase
During write, sector erase, or flash erase:
When this bit is read out continuously, it alternatingly returns "1" and "0" (toggles). The address that was specified for
reading the hardware sequence flags is not accessed.
After write, sector erase, or flash erase has finished:
Reads out the value of bit 6 of the address specified for reading the hardware sequence flags.
During sector erase suspended
When this bit is read out by specifying an address in the sector specified as sector erase:
Reads out "0".
When this bit is read out by specifying an address in the sector other than specified as sector erase:
Reads out the value of bit6 of a specified address.
While write is in progress:
When this bit is read out continuously, it alternatingly returns "1" and "0" (toggles). The address that was specified for
reading the hardware sequence flags is not accessed
[bit5] TLOV: Timing Limit Exceeded Flag Bit
When the hardware sequence flags are read by specifying an arbitrary address, this bit indicates whether or not the
execution time of the automatic algorithm has exceeded the rated time defined internally within the flash memory (number
of internal pulses).
The value that is read out varies depending on the operating state.
During write, sector erase, or flash erase
The following values are read out.
0: Within the rated time
1: Rated time exceeded
When this bit is "1", if the DPOL bit and TOGG bit indicate that the automatic algorithm is currently executing, that means
a failure occurred during the write or erase.
For example, because data that has been written to "0" cannot be overwritten to "1" in flash memory, if "1" is written to an
address that has been written to "0", the flash memory is locked and the automatic algorithm does not finish. In this case,
the value of the DPOL bit remains invalid, and "1" and "0" are continuously read out alternatingly from the TOGG bit.
Once the rated time is exceeded while still in this state, this bit changes to "1". If this bit changes to "1", issue the reset
command.