English
Language : 

R8C35A Datasheet, PDF (668/766 Pages) Renesas Technology Corp – MCU M16C FAMILY / R8C/Tiny SERIES
Under development Preliminary specification
Specifications in this manual are tentative and subject to change
R8C/35A Group
32. Flash Memory
32.4.3 Flash Memory Control Register 1 (FMR1)
Address 01B5h
Bit b7
Symbol FMR17
After Reset 0
b6
FMR16
0
b5
FMR15
0
b4
FMR14
0
b3
FMR13
0
b2
FMR12
0
b1
FMR11
0
b0
FMR10
0
Bit Symbol
Bit Name
Function
R/W
b0 FMR10 Nothing is assigned. If necessary, set to 0. When read, the content is 0.
—
b1 FMR11
—
b2 FMR12
—
b3 FMR13 Lock bit disable select bit (1)
0: Lock bit enabled
R/W
1: Lock bit disabled
b4 FMR14 Data flash block A rewrite
0: Rewrite enabled (software command acceptable)
R/W
disable bit (2)
1: Rewrite disabled (software command not acceptable,
no error occurred)
b5 FMR15 Data flash block B rewrite
0: Rewrite enabled (software command acceptable)
R/W
disable bit (2)
1: Rewrite disabled (software command not acceptable,
no error occurred)
b6 FMR16 Data flash block C rewrite
0: Rewrite enabled (software command acceptable)
R/W
disable bit (2)
1: Rewrite disabled (software command not acceptable,
no error occurred)
b7 FMR17 Data flash block D rewrite
0: Rewrite enabled (software command acceptable)
R/W
disable bit (2)
1: Rewrite disabled (software command not acceptable,
no error occurred)
Notes:
1. To set the FMR13 bit to 1, first write 0 and then 1 immediately. Do not generate an interrupt between writing 0
and writing 1.
2. To set this bit to 0, first write 1 and then 0 immediately. Do not generate an interrupt between writing 1 and
writing 0.
FMR13 Bit (Lock Bit Disable Select Bit)
When the FMR13 bit is set to 1 (lock bit disabled), the lock bit is disabled. When the FMR13 bit is set to 0, the
lock bit is enabled. Refer to 32.4.10 Data Protect Function for the details of the lock bit.
The FMR13 bit enables the lock bit function only and the lock bit data does not change. However, when a block
erase command is executed while the FMR13 bit is set to 1, the lock bit data set to 0 (locked) changes to 1 (not
locked) after erasure completes.
[Conditions for setting to 0]
The FMR13 bit is set to 0 when one of the following conditions is met.
• Completion of the program command
• Completion of the erase command
• Generation of a command error
• If the FMR01 bit in the FMR0 register is set to 0 (CPU rewrite mode disabled).
• If the FMSTP bit in the FMR0 register is set to 1 (flash memory stops).
• If the CMDRST bit in the FMR0 register is set to 1 (erasure/writing stopped).
[Condition for setting to 1]
Set to 1 by a program.
REJ09B0407-0010 Rev.0.10 Jan 16, 2008
Page 637 of 728