Hitachi H8/3062 Hardware Manual page 502

Single-chip microcomputer
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

17.3.4
Flash Memory Status Register (FLMSR)
FLMSR is used to detect flash memory errors.
Bit
FLER
Initial value
Read/Write
Flash memory error (FLER)
Status flag indicating detection of an error during
flash memory programming or erasing
Bit 7—Flash Memory Error (FLER): Indicates that an error has occurred during flash memory
programming or erasing. When FLER is set to 1, flash memory is placed in the error-protection
state.
Bit 7
FLER
Description
0
Flash memory program/erase protection (error protection*
[Clearing condition]
WDT reset, reset by RES pin, or hardware standby mode
1
An error has occurred during flash memory programming/erasing, and error
protection*
[Setting conditions]
1. When flash memory is read*
or instruction fetch, but excluding a read in a RAM area overlapped onto flash
memory space)
2. Immediately after the start of exception handling during programming/erasing
(excluding reset, illegal instruction, trap instruction, and division-by-zero exception
handling)*
3. When a SLEEP instruction (including software standby) is executed during
programming/erasing
4. When the bus is released during programming/erasing
Notes: 1. For details of error protection, see section 17.6.3, Error Protection.
2. An undefined value will be read in this case.
3. Before a stack or vector read is performed in exception handling.
Bits 6 to 0—Reserved: Read-only bits, always read as 1.
7
6
0
1
R
1
has been enabled
3
5
4
1
1
Reserved bits
2
during programming/erasing (including a vector read
3
2
1
1
1
) is disabled (Initial value)
1
0
1
1
485

Advertisement

Table of Contents
loading

Table of Contents