Hitachi H8/3022 Hardware Manual page 448

H8/3022 series hitachi single-chip microcomputer
Table of Contents

Advertisement

User Program Mode (Example)
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.
Programming/
erase control program
New application
program
H8/3022
Boot program
Flash memory
FWE assessment
program
Transfer program
Application program
(old version)
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.
New application
program
H8/3022
Boot program
Flash memory
FWE assessment
program
Transfer program
Flash memory
erase
Host
SCI
RAM
Host
SCI
RAM
Programming/
erase control program
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
H8/3022
Boot program
Flash memory
FWE assessment
program
Transfer program
Application program
(old version)
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
H8/3022
Boot program
Flash memory
FWE assessment
program
Transfer program
New application
program
SCI
RAM
Programming/
erase control program
SCI
RAM
Programming/
erase control program
Program execution state
437

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/3021H8/3020H8/3022 f-ztat

Table of Contents