Renesas H8S/2319 series Hardware Manual page 716

Renesas 16-bit single-chip microcomputer
Table of Contents

Advertisement

(3) Programming Execution
When flash memory is programmed, the programming destination address on the user MAT must
be passed to the programming program in which the program data is downloaded.
1. The start address of the programming destination on the user MAT is set in general register
ER1 of the CPU. This parameter is called FMPAR (flash multipurpose address area
parameter).
Since the program data is always in 128-byte units, the lower eight bits (A7 to A0) must be
H'00 or H'80 as the boundary of the programming start address on the user MAT.
2. The program data for the user MAT must be prepared in the consecutive area. The program
data must be in the consecutive space which can be accessed by using the MOV.B instruction
of the CPU and is not the flash memory space.
When data to be programmed does not satisfy 128 bytes, the 128-byte program data must be
prepared by embedding the dummy code (H'FF).
The start address of the area in which the prepared program data is stored must be set in
general register ER0. This parameter is called FMPDR (flash multipurpose data destination
area parameter).
For details on the programming procedure, see section 17.24.2, User Program Mode.
Rev. 5.00, 12/03, page 686 of 1088

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2318 series

Table of Contents