Programming/Erasing Interface - Renesas H8S/2100 Series Hardware Manual

6-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

24.5

Programming/Erasing Interface

Programming/erasing of the flash memory is done by downloading an on-chip
programming/erasing program to the on-chip RAM and specifying the start address of the
programming destination, the program data, and the erase block number using the
programming/erasing interface registers and programming/erasing interface parameters.
The procedure program for user program mode is made by the user. Figure 24.5 shows the
procedure for creating the procedure program. For details, see section 24.8.2, User Program Mode.
Figure 24.5 Procedure for Creating Procedure Program
(1)
Selection of On-Chip Program to be Downloaded
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 the programming/erasing interface registers. The
start address of the on-chip RAM where an on-chip program is downloaded is specified by the
flash transfer destination address register (FTDAR).
Start procedure program for
programming/erasing
Select on-chip program
to be downloaded and
specify destination
Download on-chip program
by setting FKEY and
SCO bit in FCCS
Execute initialization
(downloaded program execution)
Programming (in 128-byte units)
or erasing (in 1-block units)
(downloaded program execution)
No
Programming/erasing
completed?
Yes
End procedure program
Section 24 Flash Memory
Rev. 1.00 May 09, 2008 Page 721 of 954
REJ09B0462-0100

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents