Download Print this page

Nmi Input Masking - Renesas F-ZTAT H8 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for F-ZTAT H8 Series:

Advertisement

Section 19 Flash Memory (H8/3048F: Dual Power Supply (V
constant internal and external supervision, using the watchdog timer for example. If a transition to
error-protect mode occurs, the flash memory may contain incorrect data due to errors in
programming or erasing, or it may contain data that has been insufficiently programmed or erased
because of the suspension of these operations. Boot mode should be used to recover to a normal
state.
If the memory contains overerased memory cells, boot mode may not operate correctly. This is
because the H8/3048F's built-in boot program is located in part of flash memory, and will not read
correctly if memory cells have been overerased.
19.5.9

NMI Input Masking

NMI input is disabled when flash memory is being programmed or erased (when the P or E bit is
set in FLMCR). NMI input is also disabled while the boot program is executing in boot mode,
until the branch to the on-chip RAM area takes place *
• NMI input during programming or erasing might cause a violation of the programming or
erasing algorithm. Normal operation could not be assured.
• In the NMI exception-handling sequence during programming or erasing, the vector would not
be read correctly *
• If NMI input occurred during boot program execution, the normal boot-mode sequence could
not be executed.
NMI input is also disabled in the error-protect state while the P or E bit remains set in the flash
memory control register (FLMCR).
NMI requests should be disabled externally whenever V
Notes: 1. The disabled state lasts until the branch to the boot program area in on-chip RAM
(addresses H'FFEF10 to H'FFF2FF) that takes place as soon as the transfer of the user
program is completed. After the branch to the RAM area, NMI input is enabled except
during programming or erasing. NMI interrupt requests must therefore be disabled
externally until the user program has completed initial programming (including the
vector table and the NMI interrupt-handling program).
2. The vector may not be read correctly for the following two reasons.
• If flash memory is read while being programmed or erased (while the P or E bit is
set in FLMCR), correct read data will not be obtained. Undetermined values are
returned.
• If the NMI entry in the vector table has not been programmed yet, NMI exception
handling will not be executed correctly.
Rev. 7.00 Sep 21, 2005 page 628 of 878
REJ09B0259-0700
2
. The result might be a program runaway.
= 12 V))
PP
1
. There are three reasons for this.
is applied.
PP

Hide quick links:

Advertisement

loading