English
Language : 

SH7147 Datasheet, PDF (886/1108 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 20 Flash Memory
<User MAT>
<On-chip RAM>
Procedure for
switching to the
user boot MAT
Procedure for
switching to
the user MAT
<User boot MAT>
Procedure for switching to the user boot MAT
(1) Mask interrupts.
(2) Write H'AA to FMATS.
(3) Execute four NOP instructions before
accessing the user boot MAT.
Procedure for switching to the user MAT
(1) Mask interrupts.
(2) Write a value other than H'AA to FMATS.
(3) Execute four NOP instructions before accessing
the user MAT.
Figure 20.20 Switching between User MAT and User Boot MAT
20.8.2 Interrupts during Programming/Erasing
(1) Download of On-Chip Program
(1.1) VBR setting change
Before downloading the on-chip program, VBR must be set to H'84000000. If VBR is set to a
value other than H'84000000, the interrupt vector table is placed in the user MAT (FMATS is
not H'AA) or the user boot MAT (FMATS is H'AA) on setting H'84000000 to VBR.
When VBR setting change conflicts with interrupt occurrence, whether the vector table before
or after VBR is changed is referenced may cause an error.
Therefore, for cases where VBR setting change may conflict with interrupt occurrence, prepare
a vector table to be referenced when VBR is H'00000000 (initial value) at the start of the user
MAT or user boot MAT.
Rev. 3.00 Oct. 06, 2008 Page 862 of 1080
REJ09B0230-0300