English
Language : 

SH7014 Datasheet, PDF (526/754 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
18. 128 kB Flash Memory (F-ZTAT)
18.2.3 On-Board Programming Modes
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
SH7017
Boot program
Flash memory
SCI1
RAM
Application program
(old version)
2. Programming control program transfer
When boot mode is entered, the boot program in
the SH7050 (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
SH7017
Boot program
Flash memory
SCI1
RAM
Application program
(old version)
Boot program area
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, entire flash
memory erasure is performed, without regard to
blocks.
Host
New application
program
SH7017
Boot program
Flash memory
SCI1
RAM
Flash memory
erase
Boot program area
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
SH7017
Boot program
Flash memory
New application
program
SCI1
RAM
Boot program area
Programming control
program
Figure 18.3 Boot Mode
Rev.5.00 Sep. 27, 2007 Page 492 of 716
REJ09B0398-0500
Program execution state