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
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 ...