English
Language : 

M16C65 Datasheet, PDF (191/829 Pages) Renesas Technology Corp – RENESAS MCU M16C FAMILY / M16C/60
Under development
M16C/65 Group
Preliminary Specification
This is a preliminary specification and is subject to change.
10.2.3 Program 2 Area Control Register (PRG2C)
10. Processor Mode
Program 2 Area Control Register
b7 b6 b5 b4 b3 b2 b1 b0
Symbol
Address
PRG2C
0010h
After Reset
XXXX XX00b
Bit Symbol
Bit Name
Function
RW
PRG2C0 Program ROM 2 disable bit
0 : Enable program ROM 2
1 : Disable program ROM 2
RW
IRON
Program ROM 1 addresses (40000h to 7FFFFh)
Internal area expansion bit 1 0 : Disabled
RW
1 : Enabled
—
(b7-b2)
No register bits. If necessary, set to 0. Read as undefined value
—
Rewrite this register after setting the PRC6 bit in the PRCR register to 1 (write enabled).
PRG2C0 (Program ROM 2 Disable Bit) (b0)
This bit is used to select the function of addresses 10000h to 13FFFh. Table 10.7 lists Program ROM 2
(Addresses 10000h to 13FFFh).
Table 10.7 Program ROM 2 (Addresses 10000h to 13FFFh)
PRG2C0 bit in PRG2C Register
0
1
Processor Mode
Single-chip mode
Program ROM 2
Reserved area
Memory expansion mode
Program ROM 2
External area
Microprocessor mode
Reserved area
External area
Program ROM 2 includes the on-chip debugger monitor area and user boot code area (refer to 30.7
“User Boot Function”).
IRON (Internal Area Expansion Bit 1) (b1)
This bit enables the program ROM 1 (addresses 40000h to 7FFFFh) for products with the size of
program ROM 1 over 512 Kbytes. Table 10.8 lists Functions of Addresses 40000h to 7FFFFh. Table
10.5 lists Functions of Bits PM13 and IRON.
Set the IRON bit to 0 when either of the following is true.
• The PM13 bit in the PM1 register is 0 (maximum of 192 Kbytes are available in program ROM 1).
• Bits PM15 and PM14 in the PM1 register are set to “11b” (4-Mbyte mode).
Table 10.8 Functions of Addresses 40000h to 7FFFFh
IRON Bit in PRG2C Register
0
1
Processor Mode Single-chip mode
Reserved area Program ROM 1(when program ROM 1 exists)
Memory expansion mode External area if not, reserved area
Microprocessor mode External area External area
REJ09B0484-0030 Rev.0.30 Sep 09, 2008
Page 156 of 791