6
6-23
INTERNAL MEMORY
32180 Group User’s Manual (Rev.1.0)
END
Read any address of the internal flash
memory (Note 2) to check for
programming error (see Figure 6.4.2)
START
Write the Verify command (H'D0D0)
to the last even address of the flash
memory block to be protected
Write the Lock Bit Program command
(H'7777) to any address of the
internal flash memory
Lock bit is programmed
by Lock Bit Program (Note 1)
Wait for 1 µs
(using a hardware or software timer)
FSTAT bit = 1
TIME OUT?
0.5s
YES
NO
Forcibly terminated
(see Figure 6.4.3.)
YES
NO
Note 1: When a programming operation started, the internal flash memory is automatically readied to run the Read Status
command, so that there is no need to enter the Read Status command until another command is entered.
Note 2: Inspect the Flash Status Register 2 ERASE (erase status), WRERR1 (write status 1) and WRERR2 (write status 2)
bits to check for programming error.
Figure 6.5.9 Lock Bit Program Command
6.5 Programming the Internal Flash Memory