Renesas H8S/2437 Hardware Manual page 583

Renesas 16-bit single-chip microcomputer h8s family / h8s / 2600 series
Table of Contents

Advertisement

Initial
Bit
Bit Name
Value
7 to 2
1
FQ
0
SF
(3) Programming Execution
When flash memory is programmed, the programming destination address on the user MAT and
program data must be transferred to the downloaded programming program.
1. The start address of the programming destination in the user MAT must be set to the general
register ER1. This parameter is called the flash multipurpose address area parameter
(FMPAR).
Since program data is always in 128 bytes, the lower eight bits (A7 to A0) must be H'00 or
H'80 as the boundary of the programming start address in 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 in other than the flash memory space.
When data to be programmed is less than 128 bytes, the 128-byte program data must be
prepared by filling with the dummy code H'FF.
The start address of the area in which the prepared program data is stored must be set to the
general register ER0. This parameter is called the flash multipurpose data destination area
parameter (FMPDR).
For details on the program processing procedure, see section 20.4.2, User Program Mode.
(a) Flash Multipurpose Address Area Parameter (FMPAR: General Register ER1 of CPU)
FMPAR sets the start address of the programming destination in the user MAT.
When the address in the area other than the flash memory space is set, an error occurs.
R/W
Description
Unused
Return 0.
R/W
Frequency Error Detect
Returns the check result whether the specified operating
frequency of the CPU is in the range of the supported
operating frequency.
0: Setting of operating frequency is normal
1: Setting of operating frequency is abnormal
R/W
Success/Fail
Indicates whether initialization is completed normally.
0: Initialization is ended normally (no error)
1: Initialization is ended abnormally (error occurs)
Rev. 1.00, 09/03, page 545 of 704

Advertisement

Table of Contents
loading

Table of Contents