Datasheet
Section 19 Flash Memory
Rev. 3.00 Sep. 28, 2009 Page 544 of 710
REJ09B0384-0300
(1) On-chip RAM Address Map when Programming/Erasing is Executed
Parts of the procedure program that are made by the user, like download request,
programming/erasing procedure, and determination of the result, must be executed in the on-chip
RAM. The on-chip program that is to be downloaded is all in the on-chip RAM. Note that area in
the on-chip RAM must be controlled so that these parts do not overlap.
Figure 19.10 shows the program area to be downloaded.
System use area
(15 bytes)
<
On-chip RAM
>
Address
Area to be
downloaded
(Size : 3 Kbytes)
Unusable area in
programming/erasing
processing period
Area that can be used by user*
DPFR
(Return value: 1 byte)
Programming/erasing program entry
Initialization program entry
Initialization + programming program
or
Initialization + erasing program
Area that can be used by user*
Note: * The on-chip RAM area in this LSI is split into H'FF0800 to H'FF97FF,
H'FFE080 to H'FFEFFF, and H'FFFF00 to H'FFFF7F.
The area that can be used by the user is specified by FTDAR.
RAMTOP
FTDAR setting
FTDAR setting + 16
FTDAR setting + 32
FTDAR setting + 3 Kbytes
RAMEND
Figure 19.10 RAM Map When Programming/Erasing is Executed