On-Board Programming Modes; Table 19.4 Setting On-Board Programming Mode - Renesas H8S/2368 Series Hardware Manual

16-bit single-chip microcomputer
Table of Contents

Advertisement

Bit
Bit Name
7 to
4
3
RAMS
2
RAM2
1
RAM1
0
RAM0
19.6

On-Board Programming Modes

In an on-board programming mode, programming, erasing, and verification for the on-chip flash
memory can be performed. There are two on-board programming modes: boot mode and user
program mode. Table 19.4 shows how to select boot mode. User program mode can be selected by
setting the control bits by software. For a diagram that shows mode transitions of flash memory,
see figure 19.2.

Table 19.4 Setting On-Board Programming Mode

Boot mode
Initial Value
R/W
0
R
0
R/W
0
R/W
0
R/W
0
R/W
Mode Setting
Single-chip activation expanded
mode with on-chip ROM enabled
Description
Reserved
These bits always read 0.
RAM Select
Specifies selection or non-selection of flash
memory emulation in RAM. When RAMS = 1, the
flash memory is overlapped with part of RAM, and
all flash memory block are in the program/erase-
protect state. When this bit is cleared to 0, the RAM
emulation function is invalid.
Flash Memory Area Selection
When the RAMS bit is set to 1, selects one of the
following flash memory areas to overlap the RAM
area. The areas correspond with 4-kbyte erase
blocks.
Modes 3, 4, and 7
000: H'000000 to H'000FFF (EB0)
001: H'001000 to H'001FFF (EB1)
010: H'002000 to H'002FFF (EB2)
011: H'003000 to H'003FFF (EB3)
100: H'004000 to H'004FFF (EB4)
101: H'005000 to H'005FFF (EB5)
110: H'006000 to H'006FFF (EB6)
111: H'007000 to H'007FFF (EB7)
MD2
0
Rev. 2.00, 05/03, page 657 of 820
MD1
MD0
1
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s seriesH8s/2300 series

Table of Contents