Rev.6.00 Oct.28.2004 page 591
of 1016
REJ09B0138-0600H
H'FFDC00
H'FFE3FF
Programming
control program
area
(6 kbytes)
H'FFFBFF
H'FFFB7F
Boot program
area
*
1
(2 kbytes)
(128 bytes)
*
2
Notes: 1. The boot program area cannot be used until a transition is made to the execution state
for the programming control program transferred to RAM. Note that the boot program
remains stored in this area after a branch is made to the programming control program.
2. The area from H'FFFB80 to H'FFFBFF (128 bytes) is used by the boot program.
The area from H'FFE400 to H'FFFB7F can be used by the programming control program.
Figure 19-17 RAM Areas in Boot Mode
Notes on Use of User Mode:
•
When the chip comes out of reset in boot mode, it measures the low-level period of the input at the SCI’s RxD1 pin.
The reset should end with RxD1 high. After the reset ends, it takes approximately 100 states before the chip is ready to
measure the low-level period of the RxD1 pin.
•
In boot mode, if any data has been programmed into the flash memory (if all data is not 1), all flash memory blocks
are erased. Boot mode is for use when user program mode is unavailable, such as the first time on-board programming
is performed, or if the program activated in user program mode is accidentally erased.
•
Interrupts cannot be used while the flash memory is being programmed or erased.
•
The RxD1 and TxD1 pins should be pulled up on the board.
•
Before branching to the programming control program (RAM area H'FFE400), the chip terminates transmit and
receive operations by the on-chip SCI (channel 1) (by clearing the RE and TE bits in SCR to 0), but the adjusted bit
rate value remains set in BRR. The transmit data output pin, TxD1, goes to the high-level output state (P31DDR = 1,
P31DR = 1).
The contents of the CPU’s internal general registers are undefined at this time, so these registers must be initialized
immediately after branching to the programming control program. In particular, since the stack pointer (SP) is used
implicitly in subroutine calls, etc., a stack area must be specified for use by the programming control program.
Initial settings must also be made for the other on-chip registers.
•
Boot mode can be entered by making the pin settings shown in table 19-14 and executing a reset-start.
Boot mode can be cleared by driving the reset pin low, waiting at least 20 states, then setting the FWE pin and mode
pins, and executing reset release*
1
. Boot mode can also be cleared by a WDT overflow reset.
Do not change the mode pin input levels in boot mode, and do not drive the FWE pin low while the boot program is
being executed or while flash memory is being programmed or erased*
2
.
Содержание ZTAT H8S/2357F
Страница 4: ......
Страница 28: ...Rev 6 00 Oct 28 2004 page xxiv of xxiv REJ09B0138 0600H...
Страница 82: ...Rev 6 00 Oct 28 2004 page 54 of 1016 REJ09B0138 0600H...
Страница 108: ...Rev 6 00 Oct 28 2004 page 80 of 1016 REJ09B0138 0600H...
Страница 364: ...Rev 6 00 Oct 28 2004 page 336 of 1016 REJ09B0138 0600H...
Страница 438: ...Rev 6 00 Oct 28 2004 page 410 of 1016 REJ09B0138 0600H...
Страница 566: ...Rev 6 00 Oct 28 2004 page 538 of 1016 REJ09B0138 0600H...
Страница 588: ...Rev 6 00 Oct 28 2004 page 560 of 1016 REJ09B0138 0600H...
Страница 688: ...Rev 6 00 Oct 28 2004 page 660 of 1016 REJ09B0138 0600H...
Страница 694: ...Rev 6 00 Oct 28 2004 page 666 of 1016 REJ09B0138 0600H...
Страница 708: ...Rev 6 00 Oct 28 2004 page 680 of 1016 REJ09B0138 0600H...
Страница 1044: ...Rev 6 00 Oct 28 2004 page 1016 of 1016 REJ09B0138 0600H...
Страница 1047: ...H8S 2357 Group H8S 2357F ZTATTM H8S 2398F ZTATTM Hardware Manual 2 6 2 Ote machi Chiyoda ku Tokyo 100 0004 Japan...