Datasheet
Section 21 ROM (Mask ROM Version, H8S/2138 F-ZTAT, H8S/2134 F-ZTAT, and H8S/2132 F-ZTAT)
Rev. 4.00 Jun 06, 2006 page 597 of 1004
REJ09B0301-0400
On-Chip RAM Area Divisions in Boot Mode: In boot mode, the 128-byte area from H'(FF)FF00
to H'(FF)FF7F is reserved for use by the boot program, as shown in figure 21.10. The area to
which the programming control program is transferred is H'(FF)E080 to H'(FF)EFFF (3968 bytes)
in the 128-kbyte versions including H8S/2132, except for H8S/2132R or H'(FF)E880 to
H'(FF)EFFF (1920 bytes) in the 64-kbyte versions including H8S/2132R, except for H8S/2132.
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'(FF)E080
H'(FF)EFFF
Programming
control
*
1
program
area
(3,968 bytes)
H'(FF)FF00
H'(FF)FF7F
Boot program
area
*
2
(128 bytes)
(a) 128-kbyte versions
(including H8S/2132)
H'(FF)E880
H'(FF)EFFF
Programming
control program
area
(1,920 bytes)
H'(FF)FF00
H'(FF)FF7F
Boot program
area
*
1
(128 bytes)
(b) 64-kbyte versions
(except for H8S/2132)
Notes: 1. In H8S/2132 F-ZTAT (Mask ROM version), H'(FF)E080 to H'(FF)E87F is a reserved
area that is used only for boot mode operation. Do not use this area for other purpose.
2. 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 21.10 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 period of the input at the
SCI’s RxD1 pin. The reset should end with RxD1 high. After the reset ends, it takes about 100
states for the chip to get ready to measure the low period of the RxD1 input.
• 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.