Flash Extra Area Control Register (Fexcr) - Renesas RX100 Series User Manual

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

Advertisement

RX13T Group
31.4.10

Flash Extra Area Control Register (FEXCR)

Address(es): FLASH.FEXCR 007F C0B7h
b7
b6
OPST
0
0
Value after reset:
Bit
Symbol
Bit Name
b2 to b0
CMD[2:0]
Software Command Setting
b6 to b3
Reserved
b7
OPST
Processing Start
Note 1. This does not include set the FEXCR register to 00h when the FSTATR1.EXRDY flag is 1.
Data can be written to the FEXCR register when in ROM P/E mode and the ROM can be programmed/erased.
This register is initialized by a reset or setting the FRESETR.FRESET bit to 1. Data cannot be written to this register
while the FRESETR.FRESET bit is 1.
Note that this register cannot be initialized by the FRESETR.FRESET bit while a software command is being executed.
CMD[2:0] Bits (Software Command Setting)
These bits are used to set a software command (start-up area information program or access window information
program).
The details of each command are described below.
[Start-up area information program]
This command is used to switch the start-up area used for start-up program protection.
 When setting the start-up area to the default area
Set registers FWBH and FWBL to FFFFh, and execute this command.
 When setting the start-up area to the alternative area
Set the FWBH register to FFFFh, set the FWBL register to FEFFh, and execute this command.
When registers FWBH and FWBL are set to values other than the above, do not execute the start-up area information
program.
[Access window information program]
This command is used to set the access window used for area protection.
Set the access window in block units.
Specify the access window start address, which is the beginning address of the access window in the FWBL register,
specify the access window end address, which is the next address of the last address of the access window in the FWBH
register, and issue this command. Set bit 19 to bit 10 of the address for programming/erasure in each register.
If the same value is set as the start address and end address, all areas can be accessed. Do not set the start address to a
value larger than the value of the end address.
OPST Bit (Processing Start)
This bit is used to execute the command set in the CMD[2:0] bits.
This bit is not set to 0 again even when the processing is completed. Confirm that the FSTATR1.EXRDY flag is 1
(processing completed) before setting the OPST bit to 0 again. After that, confirm that the FSTATR1.EXRDY flag is 0
before executing the next processing.
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
b5
b4
b3
b2
CMD[2:0]
0
0
0
0
b1
b0
0
0
Description
b2
b0
0 0 1: Start-up area information program
0 1 0: Access window information program
Settings other than above are prohibited.*
These bits are read as 0. The write value should be 0.
0: Processing stops.
1: Processing starts.
31. Flash Memory (FLASH)
R/W
R/W
1
R/W
R/W
Page 919 of 1041

Advertisement

Table of Contents
loading

Table of Contents