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.
Содержание H8/3060
Страница 10: ......
Страница 16: ......
Страница 114: ...66 ...
Страница 132: ...84 ...
Страница 144: ...96 ...
Страница 170: ...122 ...
Страница 212: ...164 ...
Страница 268: ...220 ...
Страница 332: ...284 ...
Страница 396: ...348 ...
Страница 494: ...446 ...
Страница 698: ...650 ...
Страница 729: ...681 H8 3062F ZTAT or H8 3062F ZTAT R mask version Ports 1 2 5 LED 600 Ω Figure 22 5 Sample LED Circuit ...
Страница 748: ...700 H8 3064F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 8 Sample LED Circuit ...
Страница 777: ...729 H8 3062F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 14 Sample LED Circuit ...
Страница 810: ...762 ...
Страница 994: ...946 ...