English
Language : 

SH7052 Datasheet, PDF (779/919 Pages) Renesas Technology Corp – SuperHTM RISC engine
21.6 On-Board Programming Modes
When pins are set to on-board programming mode and a reset-start 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
21.6. For a diagram of the transitions to the various flash memory modes, see figure 21.2.
Table 21.6 Setting On-Board Programming Modes
Mode
Boot mode Expanded mode
Single-chip mode
User program Expanded mode
mode
Single-chip mode
PLL Multiple FWE
×4
1
1
MD2
1
1
1
1
MD1
0
0
1
1
MD0
0
1
0
1
21.6.1 Boot Mode
When boot mode is used, the flash memory programming control program must be prepared in the
host beforehand. The SCI channel to be used is set to asynchronous mode.
When a reset-start is executed after the SH7054F’s pins have been set to boot mode, the boot
program built into the SH7054F is started and the programming control program prepared in the
host is serially transmitted to the SH7054F via the SCI. In the SH7054F, the programming control
program received via the SCI is written into the programming control program area in on-chip
RAM. After the transfer is completed, control branches to the start address of the programming
control program area and the programming control program execution state is entered (flash
memory programming is performed).
The transferred programming control program must therefore include coding that follows the
programming algorithm given later.
The system configuration in boot mode is shown in figure 21.8, and the boot mode execution
procedure in figure 21.9.
753