English
Language : 

HD64F2357F20V Datasheet, PDF (666/1049 Pages) Renesas Technology Corp – Hardware Manual Renesas 16-Bit Single-chip Microcomputer H8S Family / H8S/2300 Series
On-Chip RAM Area Divisions in Boot Mode: In boot mode, the 2-kbyte area from H'FFDC00 to H'FFE3FF is reserved
for use by the boot program, as shown in figure 19-46. The area to which the programming control program is transferred
is H'FFE400 to H'FFFBFF. The boot program area can be used when the programming control program transferred into
RAM enters the execution state. A stack area should be set up as required.
H'FFDC00
H'FFE3FF
Boot program
area*
(2 kbytes)
Programming
control program
area
(6 kbytes)
H'FFFBFF
Note: * 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.
Figure 19-46 RAM Areas in Boot Mode
Notes on Use of Boot 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 to H'FFFBFF), 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-35 and executing a reset-start.
Boot mode can be cleared by driving the reset pin low, waiting at least 20 states, then setting the mode pins, and
executing reset release*1. Boot mode can also be cleared by a WDT overflow reset.
Rev.6.00 Oct.28.2004 page 636 of 1016
REJ09B0138-0600H