Datasheet
Section 17 ROM
Rev.7.00 Feb. 14, 2007 page 589 of 1108
REJ09B0089-0700
17.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
17.9. For a diagram of the transitions to the various flash memory modes, see figure 17.3.
Table 17.9 Setting On-Board Programming Modes
Modes Pins
MCU Mode CPU Operating Mode FWE MD2 MD1 MD0
Boot mode Advanced expanded mode with
on-chip ROM enabled
1 0 1 0
Advanced single-chip mode 1
User program mode
*
Advanced expanded mode with
on-chip ROM enabled
1 1 1 0
Advanced single-chip mode 1
Note: * Normally, user mode should be used. Set the FWE pin to 1 to make a transition to user
program mode before performing a program/erase/verify operation.










