CHAPTER 18 FLASH MEMORY
User’s Manual U16898EJ3V0UD
279
If VCERR is set, it means that the flash memory has not been erased or written correctly. Erase or write the
memory again in the specified procedure.
Remark
The VCERR flag may also be set if an erase or write protect error occurs.
<Reset conditions>
•
When 0 is written to the VCERR flag
•
When the reset signal is generated
3. Operating conditions of WEPRERR flag
<Setting conditions>
•
If the area specified by the protect byte to be protected from erasing or writing is specified by the flash
address pointer H (FLAPH) and a command is executed to this area
•
If 1 is written to a bit that has not been erased (a bit for which the data is 0).
<Reset conditions>
•
When 0 is written to the WEPRERR flag
•
When the reset signal is generated
(4) Flash programming command register (FLCMD)
This register is used to specify whether the flash memory is erased, written, or verified in the self programming
mode.
This register is set with a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.