Datasheet
Section 22 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 707 of 910
REJ09B0350-0300
(1) On-Chip RAM Address Map when Programming/Erasing is Executed
Parts of the procedure program that is made by the user, like download request,
programming/erasing procedure, and decision of the result, must be executed in the on-chip RAM.
Since the on-chip program to be downloaded is embedded in the on-chip RAM, make sure the on-
chip program and procedure program do not overlap. Figure 22.11 shows the area of the on-chip
program to be downloaded.
H'FFEFFF
Programming/
programming end/
erasing program entry
System use area
(15 bytes)
DPFR
(Return value: 1 byte)
FTDAR setting
FTDAR setting + address 32
FTDAR setting + address 16
Initialization program
entry
Initialization +
programming +
programming end program
or
Initialization +
erasing program
Area that can be used
by user
Area to be
downloaded
(size: 3 kbytes)
Unusable area during
programming/erasing
FTDAR setting + 3 kbytes
Figure 22.11 RAM Map when Programming/Erasing is Executed