English
Language : 

HD64F2638F20J Datasheet, PDF (801/1512 Pages) Renesas Technology Corp – Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2600 Series
H8S/2639, H8S/2638, H8S/2636,
H8S/2630, H8S/2635 Group
Section 21A ROM
(H8S/2636 Group)
User Program Mode
1. Initial state
The FWE assessment program that confirms that
user program mode has been entered, and the
program that will transfer the programming/erase
control program from flash memory to on-chip
RAM should be written into the flash memory by
the user beforehand. The programming/erase
control program should be prepared in the host or
in the flash memory.
Host
Programming/
erase control program
New application
program
Chip
Boot program
Flash memory
FWE assessment
program
Transfer program
SCI
RAM
Application program
(old version)
2. Programming/erase control program transfer
When user program mode is entered, user
software confirms this fact, executes transfer
program in the flash memory, and transfers the
programming/erase control program to RAM.
Host
New application
program
Chip
Boot program
Flash memory
FWE assessment
program
Transfer program
Application program
(old version)
SCI
RAM
Programming/
erase control program
3. Flash memory initialization
The programming/erase program in RAM is
executed, and the flash memory is initialized (to
H'FF). Erasing can be performed in block units,
but not in byte units.
Host
4. Writing new application program
Next, the new application program in the host is
written into the erased flash memory blocks. Do
not write to unerased blocks.
Host
New application
program
Chip
Boot program
Flash memory
FWE assessment
program
Transfer program
Flash memory
erase
SCI
RAM
Programming/
erase control program
Chip
Boot program
Flash memory
FWE assessment
program
Transfer program
New application
program
SCI
RAM
Programming/
erase control program
Program execution state
REJ09B0103-0800 Rev. 8.00
May 28, 2010
Page 751 of 1458