Renesas H8S Series Hardware Manual page 805

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

Advertisement

(b) Flash pass/fail result parameter (FPFR: general register R0L of CPU)
This parameter indicates the return value of the initialization result.
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 must
be passed to the programming program in which the program data has been downloaded.
1. The start address of the programming destination on the user MAT must be set in general
register ER1. This parameter is called the flash multipurpose address area parameter
(FMPAR).
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 a consecutive area. The program data
must be in the consecutive space that can be accessed by using the MOV.B instruction of the
CPU and in an address space other than flash memory.
When data to be programmed does not satisfy 128 bytes, 128-byte program data must be
prepared by filling in 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 the flash multipurpose data destination area
parameter (FMPDR).
Section 21 Flash Memory (0.18-µm F-ZTAT Version)
R/W
Description
Unused
The return value is 0.
R/W
Frequency Error Detect
Returns the check result whether the specified CPU
operating frequency 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 has ended normally or
not.
0: Initialization has ended normally (no error)
1: Initialization has ended abnormally (error occurred)
Rev. 3.00 Jul. 14, 2005 Page 757 of 986
REJ09B0098-0300

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2100 seriesH8s/2114rR4f2114r

Table of Contents