17.5
Programming/Erasing Interface
Programming/erasing of the flash memory is done by downloading an on-chip
programming/erasing program to the on-chip RAM and specifying the start address of the
programming destination, the program data, and the erase block number using the
programming/erasing interface registers and programming/erasing interface parameters.
The procedure program for user program mode and user boot mode is made by the user. Figure
17.5 shows the procedure for creating the procedure program. For details, see section 17.8.2, User
Program Mode.
Figure 17.5 Procedure for Creating Procedure Program
Section 17 Flash Memory (0.18-(m F-ZTAT Version)
Start procedure program for
programming/erasing
Select on-chip program
to be downloaded and
specify destination
Download on-chip program
by setting VBR, FKEY, and
SCO bit in FCCS
Execute initialization
(downloaded program execution)
Programming (in 128-byte units)
or erasing (in 1-block units)
(downloaded program execution)
Programming/erasing
completed?
No
Yes
End procedure program
Rev. 3.00 Mar. 14, 2006 Page 575 of 804
REJ09B0104-0300