Download Print this page

Programming/Erasing Interface - Renesas H8S Family Hardware Manual

Advertisement

25.1.5

Programming/Erasing Interface

Programming/erasing is executed by downloading the on-chip program to the on-chip RAM and
specifying the program address/data and erase block by using the interface register/parameter.
The procedure program is made by the user in user program mode and user boot mode. An
overview of the procedure is given as follows. For details, see section 25.4.3, User Program Mode.
1. Selection of on-chip program to be downloaded
For programming/erasing execution, the FLSHE bit in STCR must be set to 1 to transition to
user program mode.
This LSI has programming/erasing programs which can be downloaded to the on-chip RAM.
The on-chip program to be downloaded is selected by setting the corresponding bits in the
programming/erasing interface register. The address of the programming destination is
specified by the flash transfer destination address register (FTDAR).
Start user procedure
program for programming/erasing.
Select on-chip program to be
specify the destination.
Download on-chip program
by setting FKEY and SCO bits.
Initialization execution
(downloaded program execution)
Programming (in 128-byte units)
or erasing (in one-block units)
(downloaded program execution)
Programming/erasing
No
End user procedure
Figure 25.5 Overview of User Procedure Program
downloaded and
completed?
Yes
program
Rev. 1.00 Mar. 12, 2008 Page 923 of 1178
Section 25 Flash Memory
REJ09B0403-0100

Advertisement

loading

This manual is also suitable for:

R4f2472R4f2462H8s/2462H8s/2400 seriesH8s/2472