Datasheet
698
22.6 On-Board Programming Mode
When pins are set to on-board programming mode and a power-on reset is executed, a transition is
made to the on-board programming state in which 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
22.6. For a diagram of the transitions to the various flash memory modes, see figure 22.2.
Table 22.6 Setting On-Board Programming Modes
Mode PLL Multiple FWP MD3 MD2 MD1 MD0
Boot mode Expanded Mode ×1 00000
Single-chip Mode 0 0 0 1
Expanded Mode ×2 0100
Single-chip Mode 0 1 0 1
Expanded Mode ×4 1000
Single-chip Mode 1 0 0 1
User program mode Expanded Mode ×1 00010
Single-chip Mode 0 0 1 1
Expanded Mode ×2 0110
Single-chip Mode 0 1 1 1
Expanded Mode ×4 1010
Single-chip Mode 1 0 1 1