Flash Memory Control Register 1 (Fmr1); Fmr11 Bit; Fmr16 Bit; Fmr17 Bit - Renesas M16C/29 Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for M16C/29 Series:
Table of Contents

Advertisement

M16C/29 Group

21.5.2 Flash memory control register 1 (FMR1):

•FMR11 Bit

EW1 mode is entered by setting the FMR11 bit to "1" (EW1 mode). This bit is enabled only when the
FMR01 bit is "1".

•FMR16 Bit

The combined setting of the FMR02 bit and the FMR16 bit enables to program and erase in the user
ROM area. To set this bit to "1", it is necessary to set to "1" after first setting to "0". Set this bit to "0" by
only writing "0". This bit is enabled only when the FMR01 bit is "1".

•FMR17 Bit

If FMR17 bit is "1" (with wait state), regardless of the content of the PM17 bit, 1 wait is inserted at the
access to block A and block B. Regardless of the content of the FMR17 bit, access to other block and
the internal RAM is determined by PM17 bit.
Set this bit to "1" (with wait state) when rewriting more than 100 times (Option).
Table 21.5.2.1. Protection using FMR16 and FMR02
FMR16
FMR02
0
0
1
1

21.5.3 Flash memory control register 4 (FMR4):

•FMR40 Bit

The erase-suspend function is enabled by setting the FMR40 bit is set to "1" (enabled).

•FMR41 Bit

When setting the FMR41 bit to "1" in a program during auto-erasing in EW0 mode the flash module
enters erase suspend mode. In EW1 mode, the FMR41 bit is automatically set to "1" (suspend re-
quest) when an interrupt request of an enabled interrupt is generated, the FMR41 bit is automatically
set to "1" (suspend request) and when an auto-erasing operation is restarted, set the FMR41 bit to "0"
(erase restart).

•FMR46 Bit

The FMR46 bit is set to "0" during auto-erasing execution and set to "1" during erase-suspend mode.
Do not access to flash memory while this bit is "0".
Rev.1.00 Nov 01,2004
REJ09B0101-0100Z
Block A, Block B
0
write enabled
1
write enabled
0
write enabled
1
write enabled
page 375 of 402
Block 0, Block 1
other user block
write disabled
write disabled
write disabled
write disabled
write disabled
write enabled
write enabled
write enabled
21. Flash Memory Version

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c seriesM16c/tiny series

Table of Contents