English
Language : 

M16C6KA_15 Datasheet, PDF (241/270 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER Description
M16C/6KA Group
CPU Reprogram Mode
Flash memory control register 0
b7 b6 b5 b4 b3 b2 b1 b0
00
Symbol
FMR0
Address
03B716
When reset
XX0000012
Bit symbol
Bit name
FMR00 RY/BY signal status bit
FMR01 EW0 mode selection bit
(Note1)
Function
0: Busy (be written and erased)
1: Ready
0: Normal mode
(S/W command disable)
1: EW0 mode
(S/W command enable)
RR W
Reserved bit
Must be “0”.
FMR03 Flash memory reset bit
(Note 2)
0: Normal operation
1: Reset
Reserved bit
Must be “0”.
FMR05
FMR06
User ROM area selection bit 0: Access to boot ROM area
(Note 3)
1: Access to user ROM area
(Only enabled in boot mode)
Program status flag
(Note 4)
0: Terminate normally
1: Terminate in error
FMR07 Erase status flag
(Note 4)
0: Terminate normally
1: Terminate in error
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”. Do not enter interrupt.
Note 2: It is enabled only EW0 mode selection 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 control register 1
b7 b6 b5 b4 b3 b2 b1 b0
00 0
Symbol
FMR1
Address
03B516
Bit symbol
Bit name
Reserved bit
FMR11
EW1 mode selection
bit(Note1)
Reserved bit
When reset
000XXX0X2
Function
Uncertain in read.
0: EW0mode
1: EW1 mode
Uncertain in read.
RR WW
Reserved bit
Must be “0”.
Note 1: To write the bit to "1", the status of FMR01 should be "1" and it is
necessary to write "0" and then "1" in succession. Do not enter interrupt
before writing "1".
Keep NMI pin to "H" at setting of the bit.
If writing "0" to FMR01, both FMR01 and FMR11 are cleared to "0".
Flash memory identification register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
FTR
Address
03B416
When reset
XXXXXX112
Function
The value after reset
XXXXXX112 : M16C/6KA Group
XXXXXX102 : M16C/6K9 Group
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
Rev.1.00 Jul 16, 2004 page 239 of 266
REJ03B0100-0100Z