Datasheet
Rev.6.00 Oct.28.2004 page 632 of 1016
REJ09B0138-0600H
Bits 2 to 0—Flash Memory Area Selection (RAM2 to RAM0): These bits are used together with bit 3 to select the
flash memory area to be overlapped with RAM. (See table 19-34.)
Table 19-34 Flash Memory Area Divisions
RAM Area Block Name RAMS RAM2 RAM1 RAM0
H'FFDC00 to H'FFEBFF RAM area, 4 kbytes 0 ×××
H'000000 to H'000FFF EB0 (4 kbytes) 1000
H'001000 to H'001FFF EB1 (4 kbytes) 1001
H'002000 to H'002FFF EB2 (4 kbytes) 1010
H'003000 to H'003FFF EB3 (4 kbytes) 1011
H'004000 to H'004FFF EB4 (4 kbytes) 1100
H'005000 to H'005FFF EB5 (4 kbytes) 1101
H'006000 to H'006FFF EB6 (4 kbytes) 1110
H'007000 to H'007FFF EB7 (4 kbytes) 1111
×: Don’t care
19.17 On-Board Programming Modes
When pins are set to on-board programming mode, program/erase/verify operations can be performed on the on-chip flash
memory. There are two on-board programming modes: boot mode and user program mode. The pin settings for transition
to each of these modes are shown in table 19-35. For a diagram of the transitions to the various flash memory modes, see
figure 19-37.
Table 19-35 Setting On-Board Programming Modes
Mode Pins
MCU Mode CPU Operating Mode MD2 MD1 MD0
Boot mode Advanced expanded mode with
on-chip ROM enabled
01 0
Advanced single-chip mode 1
User program mode* Advanced expanded mode with
on-chip ROM enabled
11 0
Advanced single-chip mode 1
Note: * Normally, user mode should be used. Set the SWE bit to 1 to make a transition to user program mode before
performing a program/erase/verify operation.