Datasheet
Section 22 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 680 of 910
REJ09B0350-0300
22.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/user boot mode is made by the user. Figure 22.5
shows the procedure for creating the procedure program. For details, see section 22.8.2, User
Program Mode/section 22.8.3, User Boot Mode.
Download on-chip program
by setting FKEY and
SCO bit in FCCS
Yes
No
Execute initialization
(downloaded program execution)
Select on-chip program
to be downloaded and
specify destination
Programming (in 128-byte units)
or erasing (in 1-block units)
(downloaded program execution)
Start procedure program for
programming/erasing
End procedure program
Programming/erasing
completed?
Figure 22.5 Procedure for Creating Procedure Program