Programming/Erasing Flash Memory - Renesas H8/3067 Series User Manual

Renesas 16-bit single-chip microcomputer
Hide thumbs Also See for H8/3067 Series:
Table of Contents

Advertisement

18.5

Programming/Erasing Flash Memory

A software method, using the CPU, is employed to program and erase flash memory in the on-
board programming modes. There are four flash memory operating modes: program mode, erase
mode, program-verify mode, and erase-verify mode. Transitions to these modes can be made by
setting the PSU, P, E, PV, and EV bits in FLMCR.
For a description of state transition by FLMCR bit setting, see figure 18.10.
The flash memory cannot be read while being programmed or erased. Therefore, the program that
controls flash memory programming/erasing (the programming control program) should be
located and executed in on-chip RAM or external memory.
For the programming/erasing notes, see section 18.9, Notes on Flash Memory
Programming/Erasing. For the wait time after each bit in FLMCR is set or cleared, see section
21.2.6, Flash Memory Characteristics.
Notes: 1. Operation is not guaranteed if setting/resetting of the SWE, ESU, PSU, EV, PV, E, and
P bits in FLMCR is executed by a program in flash memory.
2. When programming or erasing, set the FWE pin input level to the high level, and set
FWE to 1. (programming/erasing will not be executed if FWE = 0).
Rev. 4.00 Jan 26, 2006 page 631 of 938
Section 18 ROM
REJ09B0276-0400

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3067H8/3066H8/3065H8/3067rf

Table of Contents