590
Example of User Program Mode Operation
Flash memory
H8/3062F-ZTAT B-mask version
RAM
Host
Programming/erase
control program
SCI
Boot program
New application
program
Flash memory
H8/3062F-ZTAT B-mask version
RAM
Host
SCI
New application
program
Flash memory
H8/3062F-ZTAT B-mask version
RAM
Host
SCI
Flash memory
erase
Boot program
New application
program
Flash memory
H8/3062F-ZTAT B-mask version
Program execution state
RAM
Host
SCI
Boot program
Programming/erase
control program
;
;
Boot program
FWE assessment program
Transfer program
Application program
(old version)
;
Application program
(old version)
FWE assessment program
Transfer program
New application
program
FWE assessment program
Transfer program
;
;
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.
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.
2. Programming/erase control program transfer
When user program mode is entered, user
software recognizes this fact, executes the
transfer program in the flash memory, and
transfers the programming/erase control
program to RAM.
FWE assessment program
Transfer program
Programming/erase
control program
Programming/erase
control program
Содержание H8/3060
Страница 10: ......
Страница 16: ......
Страница 114: ...66 ...
Страница 132: ...84 ...
Страница 144: ...96 ...
Страница 170: ...122 ...
Страница 212: ...164 ...
Страница 268: ...220 ...
Страница 332: ...284 ...
Страница 396: ...348 ...
Страница 494: ...446 ...
Страница 698: ...650 ...
Страница 729: ...681 H8 3062F ZTAT or H8 3062F ZTAT R mask version Ports 1 2 5 LED 600 Ω Figure 22 5 Sample LED Circuit ...
Страница 748: ...700 H8 3064F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 8 Sample LED Circuit ...
Страница 777: ...729 H8 3062F ZTAT B mask version Ports 1 2 5 LED 600 Ω Figure 22 14 Sample LED Circuit ...
Страница 810: ...762 ...
Страница 994: ...946 ...