Datasheet
Section 24 Flash Memory
Rev. 2.00 Sep. 28, 2009 Page 754 of 994
REJ09B0452-0200
24.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 24.5
shows the procedure for creating the procedure program. For details, see section 24.8.2, User
Program Mode, section 24.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 24.5 Procedure for Creating Procedure Program










