Flash Memory Control Register 1 (Fmr1); Flash Memory Control Register 4 (Fmr4) - Renesas M16C/26A Series Hardware Manual

16-bit single-chip microcomputer m16c family / m16c/tiny series
Hide thumbs Also See for M16C/26A Series:
Table of Contents

Advertisement

M
1
6
C
2 /
6
A
G
o r
u
p
(
M
1
6

17.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 setting.
Set this bit to "1" (with wait state) when rewriting more than 100 times (U7 and U9).
Table 17.5.2.1. Protection using FMR16 and FMR02
FMR16
FMR02
0
0
1
1

17.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".
R
e
. v
2
0 .
0
F
e
b
1 .
, 5
2
0
0
7
R
E
J
0
9
B
0
2
0
2
0 -
2
0
0
C
2 /
6
, A
M
1
6
C
2 /
6
, B
M
1
6
Block A, Block B
0
write enabled
1
write enabled
0
write enabled
1
write enabled
page 240
f o
3
2
9
C
2 /
6
) T
Block 0, Block 1
write disabled
write disabled
write disabled
write enabled
17. Flash Memory Version
other user block
write disabled
write disabled
write enabled
write enabled

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/26aM16c/26bM16c/26t

Table of Contents