English
Language : 

SH7280 Datasheet, PDF (1457/1726 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine family
Section 26 Flash Memory
The area that can be executed in the steps of the user procedure program (on-chip RAM, user
MAT, and external space) is shown in section 26.8.2, Areas for Storage of the Procedural Program
and Data for Programming.
The following description assumes the area to be programmed on the user MAT is erased and
program data is prepared in the consecutive area. When erasing has not been executed, carry out
erasing before writing.
256-byte programming is performed in one program processing. When more than 256-byte
programming is performed, programming destination address/program data parameter is updated
in 256-byte units and programming is repeated.
When less than 256-byte programming is performed, data must total 256 bytes by adding the
invalid data. If the invalid data to be added is H'FF, the program processing period can be
shortened.
(2.1) Select the on-chip program to be downloaded
When the PPVS bit of FPCS is set to 1, the programming program is selected.
Several programming/erasing programs cannot be selected at one time. If several programs are
set, download is not performed and a download error is returned to the source select error
detect (SS) bit in the DPFR parameter.
Specify the start address of the download destination by FTDAR.
(2.2) Write H'A5 in FKEY
If H'A5 is not written to FKEY for protection, 1 cannot be written to the SCO bit for a
download request.
(2.3) VBR is set to 0 and 1 is written to the SCO bit of FCCS, and then download is executed.
VBR must always be set to H'80000000 before setting the SCO bit to 1.
To write 1 to the SCO bit, the following conditions must be satisfied.
1. H'A5 is written to FKEY.
2. The SCO bit writing is executed in the on-chip RAM.
Rev. 1.00 Jun. 26, 2008 Page 1427 of 1692
REJ09B0393-0100