English
Language : 

SH7080_09 Datasheet, PDF (1336/1622 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family
Section 23 Flash Memory
H'00000
H'01000
H'02000
H'03000
H'04000
H'05000
H'06000
H'07000
H'08000
EB0
EB1
EB2
EB3
EB4
EB5
EB6
EB7
Flash memory
(user MAT)
EB8 to EB11
H'3FFFF
(1) Cancel the emulation mode.
(2) Transfer the user programming/erasing
procedure program.
(3) Download the on-chip programming/
erasing program to the destination set
by FTDAR without overlapping the tuned
data area.
(4) Execute programming after erasing.
<On-chip RAM>
Tuned data area
Download area
H'FFFFA000
H'FFFFAFFF
FTDAR setting
Programming/erasing
procedure program
area
H'FFFFBFFF
Figure 23.19 Programming of Tuned Data (SH7083: 256-kbyte Flash Memory Version)
1. After the data to be programmed has fixed values, clear the RAMS bit to 0 to cancel the
overlap of RAM. Emulation mode is canceled and emulation protection is also cleared.
2. Transfer the user programming/erasing procedure program to RAM.
3. Run the programming/erasing procedure program in RAM and download the on-chip
programming/erasing program.
Specify the download start address with FTDAR so that the tuned data area does not overlap
with the download area.
4. When the EB0 area of the user MAT has not been erased, erasing must be performed before
programming. Set the parameters FMPAR and FMPDR so that the tuned data is designated,
and execute programming.
Note:
Setting the RAMS bit to 1 puts all the blocks in flash memory in the
programming/erasing-protected state regardless of the values of the RAM2 to RAM0 bits
(emulation protection). Clear the RAMS bit to 0 before actual programming or erasure.
Though RAM emulation can also be carried out with the user boot MAT selected, the user
boot MAT can be erased or programmed only in boot mode or programmer mode.
Rev. 4.00 Dec. 15, 2009 Page 1276 of 1558
REJ09B0181-0400