English
Language : 

SH7058 Datasheet, PDF (928/1130 Pages) Renesas Technology Corp – Renesas SuperHTM RISC engine
H'00000
EB0
H'01000
EB1
H'02000
EB2
H'03000
EB3
H'04000
EB4
H'05000
EB5
H'06000
EB6
H'07000
EB7
H'08000
Flash memory
(user MAT)
EB8 to EB15
H'FFFFF
(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'FFFF0000
H'FFFF0FFF
FTDAR setting
Programming/erasing
procedure program
area
H'FFFFBFFF
Figure 23.19 Programming of Tuned Data
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. 3.0, 09/04, page 887 of 1086