
684
22.2.3
Onboard Program Mode
Boot mode
;;
;;
;;
;;
;;
;
;;
;;
New application
program
New application
program
New application
program
Program
Program
Program
Program
LSI
LSI
Boot program
Boot program
LSI
LSI
Boot program
Flash memory
Application
version
(old version)
Boot program
Flash memory
Flash memory
Application
version
(old version)
RAM
Flash memory
RAM
RAM
RAM
SCI1
SCI1
SCI1
SCI1
HOST
HOST
HOST
HOST
Boot program area
Boot program area
Boot program area
3. Initializing the flash memory
To initialize (to H'FF) the flash memory, execute
the erase program located in the boot program
area (within RAM). During the boot mode, the
entire flash memory is erased, regardless of blocks.
4. Writing the new application program
Execute the program transferred to RAM from the
host and write the new application program located
at the transfer destination to the flash memory.
Erasing the
flash memory
New application
program
Program execution state
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.
2. Programming control program transfer
When boot mode is entered, the boot program in
the LSI (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.
Figure 22.3 Boot Mode
Summary of Contents for SH7041 Series
Page 2: ......
Page 6: ......
Page 38: ...xvi ...
Page 44: ...6 ...
Page 46: ...8 ...
Page 48: ...10 ...
Page 82: ...44 ...
Page 114: ...76 ...
Page 118: ...80 ...
Page 124: ...86 ...
Page 170: ...132 ...
Page 250: ...212 ...
Page 492: ...454 ...
Page 506: ...468 ...
Page 604: ...566 ...
Page 684: ...646 ...
Page 706: ...668 ...
Page 778: ...740 ...
Page 780: ...742 ...
Page 818: ...780 ...
Page 850: ...812 ...
Page 923: ...SH7040 SH7041 SH7042 SH7043 SH7044 SH7045 Group Hardware Manual REJ09B0044 0600O ...