Datasheet

Section 20 Flash Memory (0.18-μm F-ZTAT Version)
Rev.6.00 Mar. 18, 2009 Page 754 of 980
REJ09B0050-0600
(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 20.10 shows the program area to be downloaded.
System use area
(15 bytes)
<
On-chip RAM
>
Address
Area to be
downloaded
(Size : 4 kbytes)
Unusable area in
programming/erasing
processing period
Area that can be used by user
DPFR
(Return value: 1 byte)
Programming/erasing program entry
Programming finished
Initialization program entry
Initialization + programming program
+ Programming finished
or
Initialization + erasing program
Area that can be used by user
RAMTOP
(H'FF4000/H'FF6000/H'FF8000)
FTDAR setting
FTDAR setting + 16
FTDAR setting + 32
FTDAR setting + 4
RAMEND (H'FFC000)
Figure 20.10 RAM Map when Programming/Erasing Is Executed