6. ROM
Rev.3.00 Jul. 19, 2007 page 124 of 532
REJ09B0397-0300
•
User Program Mode
Flash memory
H8/3857F or H8/3854F
(RAM)
Host
SCI
Boot program
Flash memory
H8/3857F or H8/3854F
(RAM)
Host
SCI
New application
program
Flash memory
H8/3857F or H8/3854F
(RAM)
Host
SCI
Flash memory
erase
Boot program
New application
program
Flash memory
H8/3857F or H8/3854F
Program execution state
(RAM)
Host
SCI
Boot program
Programming/erase
control program
Boot program
1. Initial state
FWE assessment
program
Transfer program
Application program
(old version)
Application program
(old version)
New application
program
Programming/erase
control program
Programming/erase
control program
Programming/erase
control program
New application
program
The FWE assessment program that confirms that a high
level has been applied to the FWE pin, 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.
2. Programming/erase control program transfer
When a high level is applied to the FWE pin, user
software confirms this fact, executes the transfer program
in the flash memory, and transfers the programming/erase
control program to RAM.
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.
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.
FWE assessment
program
Transfer program
FWE assessment
program
Transfer program
FWE assessment
program
Transfer program
Figure 6.5 User Program Mode (Example)
Summary of Contents for F-ZTAT H8 Series
Page 6: ...Rev 3 00 Jul 19 2007 page iv of xxiv REJ09B0397 0300...
Page 194: ...7 RAM Rev 3 00 Jul 19 2007 page 168 of 532 REJ09B0397 0300...
Page 234: ...8 I O Ports Rev 3 00 Jul 19 2007 page 208 of 532 REJ09B0397 0300...
Page 274: ...9 Timers Rev 3 00 Jul 19 2007 page 248 of 532 REJ09B0397 0300...
Page 352: ...12 A D Converter Rev 3 00 Jul 19 2007 page 326 of 532 REJ09B0397 0300...
Page 561: ......