492
•
User program mode
Flash memory
H8/3062F-ZTAT or
H8/3062F-ZTAT R-mask version
RAM
Host
Programming/
erase control program
SCI
Boot program
New application
program
Flash memory
H8/3062F-ZTAT or
H8/3062F-ZTAT R-mask version
RAM
Host
SCI
New application
program
Flash memory
H8/3062F-ZTAT or
H8/3062F-ZTAT R-mask version
RAM
Host
SCI
Flash memory
erase
Boot program
New application
program
Flash memory
H8/3062F-ZTAT or
H8/3062F-ZTAT R-mask version
Program execution state
RAM
Host
SCI
Boot program
;
;
Boot program
Application program
(old version)
New application
program
;;
1. Initial state
(1) The program that will transfer the
programming/ erase control program to on-chip
RAM should be written into the flash memory by
the user beforehand. (2) The programming/erase
control program should be prepared in the host
or in the flash memory.
2. Programming/erase control program transfer
When the FWE pin is driven high, 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.
Programming/
erase control program
Programming/
erase control program
Programming/
erase control program
Application program
(old version)
Transfer
program
Transfer
program
Transfer Program
Transfer Program
Figure 17.4 User Program Mode (Example)
Summary of Contents for H8/3060
Page 10: ......
Page 16: ......
Page 114: ...66 ...
Page 132: ...84 ...
Page 144: ...96 ...
Page 170: ...122 ...
Page 212: ...164 ...
Page 268: ...220 ...
Page 332: ...284 ...
Page 396: ...348 ...
Page 494: ...446 ...
Page 698: ...650 ...
Page 748: ...700 H8 3064F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 8 Sample LED Circuit ...
Page 777: ...729 H8 3062F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 14 Sample LED Circuit ...
Page 810: ...762 ...
Page 994: ...946 ...