English
Language : 

HD64F3039F18 Datasheet, PDF (467/710 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8 Family / H8/300H Series
15.3 Register Descriptions
Section 15 ROM
15.3.1 Flash Memory Control Register (FLMCR)
FLMCR is an 8-bit register used for flash memory operating mode control. Program-verify mode
or erase-verify mode is entered by setting SWE to 1 when FWE = 1. Program mode is entered by
setting SWE to 1 when FWE = 1, then setting the PSU bit, and finally setting the P bit. Erase
mode is entered by setting SWE to 1 when FWE = 1, then setting the ESU bit, and finally setting
the E bit. FLMCR is initialized by a reset, and in hardware standby mode and software standby
mode. Its initial value is H'80 when a high level is input to the FWE pin, and H'00 when a low
level is input. In mode 6 the FWE pin must be fixed low, as flash memory on-board programming
is not supported. Therefore, bits in this register cannot be set to 1 in mode 6. When on-chip flash
memory is disabled, a read will return H'00, and writes are invalid. When setting bits 6 to 0 in this
register to 1, each bit should be set individually.
Writes to the ESU, PSU, EV and PV bits in FLMCR are enabled only when FWE = 1 and SWE =
1; writes to the E bit only when FWE = 1, SWE = 1, and ESU = 1; and writes to the P bit only
when FWE = 1, SWE = 1, and PSU = 1.
Rev.3.00 Mar. 26, 2007 Page 443 of 682
REJ09B0353-0300