613
RD
VF
PR ER FLER = 0
Error
occurrence
RES
= 0 or
STBY
= 0
RES
= 0 or
STBY
= 0
RD
VF
PR
ER
INIT FLER = 0
Program mode
Erase mode
Reset or standby
(hardware protection)
RD VF
PR
ER
FLER = 1
RD
VF
PR
ER
INIT FLER = 1
Error protection mode
Error protection mode
(software standby)
Software
standby mode
FLMCR1, EBR
initialization state
FLMCR1, FLMCR2,
EBR1, EBR2
initialization state
Software standby
mode release
RD : Memory read possible
VF : Verify-read possible
PR : Programming possible
ER : Erasing possible
RD
: Memory read not possible
VF
: Verify-read not possible
PR
: Programming not possible
ER
: Erasing not possible
INIT : Register initialization state
RES
= 0 or
STBY
= 0
Error occurrence
(software standby)
Figure 19.13 Flash Memory State Transitions
(When High Level is Applied to FWE Pin in Mode 5 or 7 (On-Chip ROM Enabled))
The error protection function is invalid for abnormal operations other than the FLER bit setting
conditions. Also, if a certain time has elapsed before this protection state is entered, damage may
already have been caused to the flash memory. Consequently, this function cannot provide
complete protection against damage to flash memory.
To prevent such abnormal operations, therefore, it is necessary to ensure correct operation in
accordance with the program/erase algorithm, with the flash write enable (FWE) voltage applied,
and to conduct constant monitoring for MCU errors, internally and externally, using the watchdog
timer or other means. There may also be cases where the flash memory is in an erroneous
programming or erroneous erasing state at the point of transition to this protection mode, or where
programming or erasing is not properly carried out because of an abort. In cases such as these, a
forced recovery (program rewrite) must be executed using boot mode. However, it may also
happen that boot mode cannot be normally initiated because of overprogramming or overerasing.
Summary of Contents for H8/3060
Page 10: ......
Page 16: ......
Page 114: ...66 ...
Page 132: ...84 ...
Page 144: ...96 ...
Page 170: ...122 ...
Page 212: ...164 ...
Page 268: ...220 ...
Page 332: ...284 ...
Page 396: ...348 ...
Page 494: ...446 ...
Page 698: ...650 ...
Page 748: ...700 H8 3064F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 8 Sample LED Circuit ...
Page 777: ...729 H8 3062F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 14 Sample LED Circuit ...
Page 810: ...762 ...
Page 994: ...946 ...