On-Board Programming Modes; Table 18.3 Setting On-Board Programming Modes - Renesas H8S Series Hardware Manual

16-bit single-chip microcomputer
Hide thumbs Also See for H8S Series:
Table of Contents

Advertisement

Section 18 ROM
Bit
Bit Name
2
RAM2
1
RAM1
0
RAM0
18.6

On-Board Programming Modes

There are two modes for programming/erasing of the flash memory; boot mode, which enables on-
board programming/erasing, and programmer mode, in which programming/erasing is performed
with a PROM programmer. On-board programming/erasing can also be performed in user
program mode. At reset-start in reset mode, this LSI changes to a mode depending on the MD pin
settings and FWE pin setting, as shown in table 18.3. The input level of each pin must be defined
four states before the reset ends.
When changing to boot mode, the boot program built into this LSI is initiated. The boot program
transfers the programming control program from the externally-connected host to on-chip RAM
via SCI_2. After erasing the entire flash memory, the programming control program is executed.
This can be used for programming initial values in the on-board state or for a forcible return when
programming/erasing can no longer be done in user program mode. In user program mode,
individual blocks can be erased and programmed by branching to the user program/erase control
program prepared by the user.

Table 18.3 Setting On-Board Programming Modes

MD2
MD1
MD0
1
1
1
0
1
1
Rev. 6.00 Mar 15, 2006 page 466 of 570
REJ09B0211-0600
Initial Value
R/W
0
R/W
0
R/W
0
R/W
FWE
LSI State after Reset End
1
User Mode
1
Boot Mode
Description
Flash Memory Area Selection
When the RAMS bit is set to 1, one of the following
flash memory areas are selected to overlap the
RAM area of H'FFE000 to H'FFE3FF. The areas
correspond with 1-kbyte erase blocks.
00X: H'000000 to H'0003FF (EB0)
01X: H'000400 to H'0007FF (EB1)
10X: H'000800 to H'000BFF (EB2)
11X: H'000C00 to H'000FFF (EB3)
Note: X: Don't care

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2600 seriesH8s/2612 seriesH8s/2612 f-ztat

Table of Contents