English
Language : 

SH7047 Datasheet, PDF (599/764 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTMRISC engine Family/SH7000 Series
Initial
Bit Bit Name Value R/W Description
2
RAM2
0
R/W Flash Memory Area Selection
1
RAM1
0
0
RAM0
0
R/W When the RAMS bit is set to 1, these bits specify one of
R/W
the following flash memory areas to be overlapped with
part of RAM.
000: H'00000000 to H'00000FFF (EB0)
001: H'00001000 to H'00001FFF (EB1)
010: H'00002000 to H'00002FFF (EB2)
011: H'00003000 to H'00003FFF (EB3)
100: H'00004000 to H'00004FFF (EB4)
101: H'00005000 to H'00005FFF (EB5)
110: H'00006000 to H'00006FFF (EB6)
111: H'00007000 to H'00007FFF (EB7)
19.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 FWP pin setting, as shown in table 19.3.
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 SCI3. 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 19.3 Setting On-Board Programming Modes
MD1
0
1
MD0
0
1
0
1
FWP
0
LSI State after Reset End
Boot mode
User program mode
Expanded mode
Single-chip mode
Expanded mode
Single-chip mode
Rev. 2.00, 09/04, page 559 of 720