547
*2 For further information on FWE application and disconnection, see section 18.11,
Flash Memory Programming and Erasing Precautions.
*3 See section 4.2.2, Reset Sequence, and section 18.11, Flash Memory Programming and
Erasing Precautions. The H8/3064F-ZTAT B-mask version requires a minimum of 20
system clock cycles for a reset during operation.
18.5.2
User Program Mode
When set to user program mode, the H8/3064F-ZTAT B-mask version can program and erase its
flash memory by executing a user program/erase control program. Therefore, on-board
reprogramming of the on-chip flash memory can be carried out by providing on-board means of
FWE control and supply of programming data, and storing a program/erase control program in
part of the program area as necessary.
To select user program mode, select a mode that enables the on-chip ROM (mode 5 or 7), and
apply a high level to the FWE pin. In this mode, on-chip supporting modules other than flash
memory operate as they normally would in modes 5 and 7.
Flash memory programming/erasing should not be carried out in mode 6. When mode 6 is set, the
FWE pin must be driven low.
The flash memory itself cannot be read while being programmed or erased, so the program that
performs programming should be placed in external memory or transferred to RAM and executed
there.
Figure 18.8 shows the execution procedure when user program mode is entered during program
execution in RAM. It is also possible to start from user program mode in a reset-start.
Содержание 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 ...