Datasheet

Section 19 ROM
Rev.6.00 Sep. 27, 2007 Page 758 of 1268
REJ09B0220-0600
19.6 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.9. For a diagram of the transitions to the various flash memory modes, see figure 19.3.
Table 19.9 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
0 1 0
Advanced single-chip mode 1
User program mode
*
Advanced expanded mode with
on-chip ROM enabled
1 1 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.