Renesas H8S/2319 series Hardware Manual page 701

Renesas 16-bit single-chip microcomputer
Table of Contents

Advertisement

1. Selection of on-chip program to be downloaded and setting of download destination
This LSI has programming/erasing programs and they 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 download destination can be specified by
FTDAR.
2. Download of on-chip program
The on-chip program is automatically downloaded by setting the SCO bit in the flash key code
register (FKEY) and the flash code control and status register (FCCS), which are
programming/erasing interface registers.
The user MAT is replaced to the embedded program storage area when downloading. Since the
flash memory cannot be read when programming/erasing, the procedure program, which is
working from download to completion of programming/erasing, must be executed in a space
other than the flash memory to be programmed/erased (for example, on-chip RAM).
Since the result of download is returned to the programming/erasing interface parameters,
whether the normal download is executed or not can be confirmed.
Start user procedure
programming/erasing
Select on-chip program
to be downloaded and
set download destination
FKEY and the SCO bits
Initialization execution
(download program execution)
Programming (in 128-byte
units) or erasing (in
(download program execution)
Programming/erasing
No
End user procedure
Figure 17-64 Overview of User Procedure Program
program for
Download on-chip
program by setting
one-block units)
completed?
Yes
program
Rev. 5.00, 12/03, page 671 of 1088

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2318 series

Table of Contents