English
Language : 

M16C6K7 Datasheet, PDF (257/285 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Rev.1.0
CPU Reprogram Mode
Mitsubishi microcomputers
M16C / 6K7 Group
SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER
Flash memory control register
b7 b6 b5 b4 b3 b2 b1 b0
00
Symbol
FMR
Address
03B716
When reset
XXXX00012
Bit symbol
Bit name
FMR0
FMR1
RY/BY signal status bit
CPU reprogram mode
select bit (Note 1)
Function
0: Busy (be written and erased)
1: Ready
0: Normal mode
1: CPU reprogram mode
RR WW
Reserved bit
Must be “0”.
FMR3
Flash memory reset bit 0: Normal operation
(Note 2)
1: Reset
Reserved bit
Must be “0”.
FMR5
User ROM area select bit
(Note 3)
0: Access to boot ROM area
(Only enabled in boot mode) 1: Access to user ROM area
Nothing is assigned.
When write, set “0”. When read, values is indeterminate.
Note 1: To write “1” to the bit, it is necessary to write “0” and “1” in succession.
Otherwise the bit will not be “1”. Please do not enter interrupt and DMA.
Note 2: It is enabled only CPU reprogram mode select bit is “1”. After setting to
“1”(reset), please write “0” in succession.
Note 3: Please write this bit with program that is not located in on-chip flash
memory area.
Flash memory identification register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
FTR
Address
03B416
When reset
000000002
Function
The value after reset
000000002 : M16C/6K7 Group
XXXX00012 : M16C/6K5 Group (Note)
Note: Address 03B416 of M16C/6K5 Group is the flash memory control register.
RW
Fig.BB-1 The structure of flash memory control register and flash memory identification register
256