Figure 19.9 Example Of User Program Mode Execution Procedure - Hitachi H8/3062 Hardware Manual

Single-chip microcomputer h8/3062 series; h8/3062b series; h8/3062f-ztat series; h8/3064f-ztat series
Hide thumbs Also See for H8/3062:
Table of Contents

Advertisement

Notes: 1. Do not apply a constant high level to the FWE pin. A high level should be applied to the
FWE pin only when programming or erasing flash memory (including execution of flash
memory emulation by RAM). Also, while a high level is applied to the FWE pin, the
watchdog timer should be activated to prevent overprogramming or overerasing due to
program runaway, etc.
2. For further information on FWE application and disconnection, see section 19.11, Flash
Memory Programming and Erasing Precautions.
3. In order to execute a normal read of flash memory in user program mode, the
programming/erase program must not be executing. It is thus necessary to ensure that
bits 6 to 0 in FLMCR1 are cleared to 0.

Figure 19.9 Example of User Program Mode Execution Procedure

600
Write FWE assessment program and transfer
program (and programming/erase control
program if necessary) beforehand
MD
to MD
2
Reset-start
Transfer programming/erase control
program to RAM
Branch to programming/erase control
program in RAM area
FWE = High
(user program mode)
Execute programming/erase control
program in RAM
(flash memory rewriting)
Clear SWE bit, then release FWE
(user program mode clearing)
Branch to application program
in flash memory
= 101 or 111
0

Advertisement

Table of Contents
loading

Table of Contents