Renesas H8S/2319 series Hardware Manual page 719

Renesas 16-bit single-chip microcomputer
Table of Contents

Advertisement

(c) Flash pass/fail parameter (FPFR: general register R0L of CPU)
An explanation of FPFR as the return value indicating the programming result is provided here.
Bit
:
7
0
Initial value :
R/W
:
Bit 7—Reserved: Returns 0.
Bit 6—Programming Mode Related Setting Error Detect (MD): Returns the check result of
whether the error protection state has been entered.
If the error protection state has been entered, 1 is written to this bit. This state can be confirmed by
checking bit 4, FLER, in the FCCS register. For conditions to enter the error protection state, see
section 17.25.3, Error Protection.
Bit 6
MD
Description
0
FLER setting is normal (FLER = 0)
1
FLER = 1, and programming cannot be performed
Bit 5—Programming Execution Error Detect (EE): 1 is returned to this bit when the specified
data could not be written because the user MAT was not erased.
If this bit is set to 1, there is a high possibility that the user MAT is partially rewritten. In this case,
after removing the error factor, erase the user MAT.
If FMATS is set to H'AA and the user boot MAT is selected, an error occurs when programming
is performed. In this case, both the user MAT and user boot MAT are not rewritten.
Programming of the user boot MAT should be performed in the boot mode or PROM mode.
Bit 5
EE
Description
0
Programming has ended normally
1
Programming has ended abnormally (programming result is not guaranteed)
6
5
MD
EE
R/W
R/W
4
3
FK
0
R/W
R/W
Rev. 5.00, 12/03, page 689 of 1088
2
1
WD
WA
R/W
R/W
0
SF

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2318 series

Table of Contents