h8s-2635 Renesas Electronics Corporation., h8s-2635 Datasheet - Page 821

no-image

h8s-2635

Manufacturer Part Number
h8s-2635
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2600 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
21A.9
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 for on-chip flash
memory are made by setting the PSU, ESU, P, E, PV, and EV bits in FLMCR1.
The flash memory cannot be read while being programmed or erased. Therefore, the program
(user program) that controls flash memory programming/erasing should be located and executed in
on-chip RAM or external memory. If the program is to be located in external memory, the
instruction for writing to flash memory, and the following instruction, should be placed in on-chip
RAM. Also ensure that the DTC is not activated before or after execution of the flash memory
write instruction.
In the following operation descriptions, wait times after setting or clearing individual bits in
FLMCR1 are given as parameters; for details of the wait times, see section 24.1.7, Flash Memory
Characteristics.
Notes: 1. Operation is not guaranteed if setting/resetting of the SWE, ESU, PSU, EV, PV, E, and
2. When programming or erasing, set FWE to 1 (programming/erasing will not be
3. Programming must be executed in the erased state. Do not perform additional
P bits in FLMCR1 is executed by a program in flash memory.
executed if FWE = 0).
programming on addresses that have already been programmed.
Flash Memory Programming/Erasing
Rev. 6.00 Feb 22, 2005 page 761 of 1484
Section 21A ROM (H8S/2636 Group)
REJ09B0103-0600

Related parts for h8s-2635