Datasheet

Section 17 ROM
Rev.7.00 Feb. 14, 2007 page 733 of 1108
REJ09B0089-0700
[6] After erasure finishes, clear FKEY and specify software protection.
If this LSI is restarted by a power-on reset immediately after user MAT erasure has finished,
secure a reset period (period of RES = 0) that is at least as long as normal 100 μs.
Erasing and Programming Procedure in User Program Mode: By changing the on-chip RAM
address of the download destination in FTDAR, the erasing program and programming program
can be downloaded to separate on-chip RAM areas.
Figure 17.72 shows an example of repetitively executing RAM emulation, erasing, and
programming.
Start procedure program
Erasing program
download
Programming program
download
Emulation/Erasing/Programming
Set FTDAR to H'00
(Specify H'FFBC00 as
download destination)
Set FTDAR to H'01
(Specify H'FFCC00 as
download destination)
Download erasing program
Initialize erasing program
Initialize programming
program
Download programming
program
1
End procedure program
Enter RAM emulation mode
and tune data
in on-chip RAM
Set FMPDR to H'FFDC00 to
program relevant block
(execute programming
program)
Cancel RAM emulation mode
Confirm operation
1
Erase relevant block
(execute erasing program)
End ?
Yes
No
Figure 17.72 Sample Procedure of Repeating RAM Emulation, Erasing, and Programming
(Overview)
In the above example, the erasing program and programming program are downloaded to areas
excluding the 4 kbytes (H'FFDC00 to H'FFEC00) from H'FFDC00.