Flash P/E Mode Control Register (Fpmcr) - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
31.4.5

Flash P/E Mode Control Register (FPMCR)

Address(es): FLASH.FPMCR 007F FF80h
b7
b6
FMS2
LVPE
0
0
Value after reset:
Bit
Symbol
Bit Name
b0
Reserved
b1
FMS0
Flash Operating Mode Select 0
b2
Reserved
b3
RPDIS
ROM P/E Disable
b4
FMS1
Flash Operating Mode Select 1
b5
Reserved
b6
LVPE
Low-Voltage P/E Mode Enable
b7
FMS2
Flash Operating Mode Select 2
The FPMCR register is used to set the operating mode of the flash memory.
This register is protected. Set its value using the procedure to unlock protection. For details, refer to section 31.4.3,
Protection Unlock Register (FPR) .
When entering discharge mode 2 or ROM P/E mode, or during either of these modes, an instruction must be executed on
the RAM.
FMS0, FMS1, and FMS2 Bits (Flash Operating Mode Select 0 to Flash Operating Mode Select 2)
These bits are used to set the operating mode of the flash memory.
[Transition from read mode to ROM P/E mode]
Set the FMS2 bit = 0, the FMS1 bit = 1, the FMS0 bit = 1, and the RPDIS bit = 0.
Wait for ROM mode transition wait time 1 (tDIS, refer to section 32, Electrical Characteristics ).
Set the FMS2 bit = 1, the FMS1 bit = 1, the FMS0 bit = 1, and the RPDIS bit = 0.
Set the FMS2 bit = 1, the FMS1 bit = 0, the FMS0 bit = 1, and the RPDIS bit = 0.
Wait for ROM mode transition wait time 2 (tMS, refer to section 32, Electrical Characteristics ).
[Transition from ROM P/E mode to read mode]
Set the FMS2 bit = 1, the FMS1 bit = 1, the FMS0 bit = 1, and the RPDIS bit = 0.
Wait for ROM mode transition wait time 1 (tDIS, refer to section 32, Electrical Characteristics ).
Set the FMS2 bit = 0, the FMS1 bit = 1, the FMS0 bit = 1, and the RPDIS bit = 0.
Set the FMS2 bit = 0, the FMS1 bit = 0, the FMS0 bit = 0, and the RPDIS bit = 1.
Wait for ROM mode transition wait time 2 (tMS, refer to section 32, Electrical Characteristics ).
[Transition from read mode to E2 DataFlash P/E mode]
Set the FMS2 bit = 0, the FMS1 bit = 1, the FMS0 bit = 0, and the RPDIS bit = 0.
[Transition from E2 DataFlash P/E mode to read mode]
Set the FMS2 bit = 0, the FMS1 bit = 0, the FMS0 bit = 0, and the RPDIS bit = 1.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
b5
b4
b3
b2
FMS1 RPDIS
FMS0
0
0
1
0
b1
b0
0
0
Description
This bit is read as 0. The write value should be 0.
FMS2 FMS1 FMS0
0
0
0: ROM/E2 DataFlash read mode
0
1
0: E2 DataFlash P/E mode
0
1
1: Discharge mode 1
1
0
1: ROM P/E mode
1
1
1: Discharge mode 2
Settings other than above are prohibited.
This bit is read as 0. The write value should be 0.
0: ROM programming/erasure enabled
1: ROM programming/erasure disabled
See the FMS0 bit.
This bit is read as 0. The write value should be 0.
0: Low-voltage P/E mode disabled
1: Low-voltage P/E mode enabled
See the FMS0 bit.
31. Flash Memory (FLASH)
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
Page 913 of 1041

Advertisement

Table of Contents
loading

Table of Contents