English
Language : 

SH7059 Datasheet, PDF (736/1042 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
24. ROM (SH7058S)
24.2.3 Mode Comparison
The comparison table of programming and erasing related items about boot mode, user program mode, user boot mode,
and programmer mode is shown in table 24.2.
Table 24.2 Comparison of Programming Modes
Boot Mode
User Program Mode User Boot Mode
Programmer Mode
Programming/
erasing environment
On-board
programming
On-board
programming
On-board
programming
Off-board
programming
Programming/
erasing enable MAT
User MAT
User boot MAT
User MAT
User MAT
User MAT
User boot MAT
Programming/
erasing control
Command method
Programming/
erasing interface
Programming/
erasing interface
Command method
All erasure
O (Automatic)
O
O
O (Automatic)
Block division erasure O*1
O
O
X
Program data transfer From host via SCI
From optional device From optional device Via programmer
via RAM
via RAM
User branch function X
O
O
X
RAM emulation
Reset initiation MAT
X
Embedded program
storage MAT
O
User MAT
X
User boot MAT*2
X
Embedded program
storage MAT
Transition to user
mode
Mode setting change FWE setting change
and reset
Mode setting change —
and reset
Notes: 1. All-erasure is performed. After that, the specified block can be erased.
2. Initiation starts from the embedded program storage MAT. After checking the flash-memory related registers,
initiation starts from the reset vector of the user MAT.
• The user boot MAT can be programmed or erased only in boot mode and programmer mode.
• The user MAT and user boot MAT are all erased in boot mode. Then, the user MAT and user boot MAT can be
programmed by means of the command method. However, the contents of the MAT cannot be read until this state.
Only user boot MAT is programmed and the user MAT is programmed in user boot mode or only user MAT is
programmed because user boot mode is not used.
• In user boot mode, the boot operation of the optional interface can be performed by a mode pin setting different from
user program mode.
24.2.4 Flash Memory Configuration
This LSI's flash memory is configured by the 1-Mbyte user MAT and 12-Kbyte user boot MAT.
The start address is allocated to the same address in the user MAT and user boot MAT. Therefore, when the program
execution or data access is performed between the two MATs, the MAT must be switched by using FMATS. The user
MAT is divided into two 512-Kbyte banks (bank 0 and bank 1).
The user MAT or user boot MAT can be read in all modes if it is in ROM valid mode. However, the user boot MAT can
be programmed only in boot mode and programmer mode.
Rev.3.00 Mar. 12, 2008 Page 646 of 948
REJ09B0177-0300