English
Language : 

HD64F2357F20V Datasheet, PDF (621/1049 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-chip Microcomputer H8S Family / H8S/2300 Series
H'FFDC00
H'FFE3FF
Boot program
area*1
(2 kbytes)
Programming
control program
area
(6 kbytes)
H'FFFB7F
H'FFFBFF
(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.
Rev.6.00 Oct.28.2004 page 591 of 1016
REJ09B0138-0600H