English
Language : 

SH7065 Datasheet, PDF (750/941 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7000 Series
Section 19 256 kB Flash Memory (F-ZTAT)
19.2.3 On-Board Programming Modes
Boot Mode
Figure 19.3 shows programming operation in boot mode. For details of this mode, see section
19.6.1, Boot Mode.
1. Initial state
The old program version or data remains
written in the flash memory. The user should
prepare the programming control program and
new application program beforehand in the
host.
Host
Programming control program
New application
program
SH7065
Boot program
Flash memory
SCI2
RAM
Application
program
(old version)
2. Programming control program transfer
When boot mode is entered, the boot program in the
SH7065 (originally incorporated in the chip) is
started and the programming control program in the
host is transferred to RAM via SCI communication.
The boot program required for flash memory erasing
is automatically transferred to the RAM boot
program area.
Host
New application
program
SH7065
Boot program
Flash memory
SCI2
RAM
Boot program area
Application
program
(old version)
Programming control program
3. Flash memory initialization
The erase program in the boot program area (in
RAM) is executed, and the flash memory is
initialized (to H'FF). In boot mode, total flash
memory erasure is performed, without regard to
blocks.
Host
New application
program
SH7065
Boot program
Flash memory
SCI2
RAM
Boot program area
Flash memory
erase
Programming control program
4. Writing new application program
The programming control program transferred
from the host to RAM is executed, and the new
application program in the host is written into
the flash memory.
Host
SH7065
Boot program
Flash memory
New application
program
SCI2
RAM
Boot program area
Programming control program
Note:
: Program execution state
Figure 19.3 Programming Operation in Boot Mode
Rev. 5.00 Sep 11, 2006 page 728 of 916
REJ09B0332-0500