R5F61525 RENESAS [Renesas Technology Corp], R5F61525 Datasheet - Page 654

no-image

R5F61525

Manufacturer Part Number
R5F61525
Description
32-Bit CISC Microcomputer H8SX Family H8SX/1500 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 17 Flash Memory (0.18-(m F-ZTAT Version)
(3)
Figure 17.15 shows the procedure for erasing the user MAT in user boot mode.
The difference between the erasing procedures in user program mode and user boot mode is the
memory MAT switching as shown in figure 17.15. For erasing the user MAT in user boot mode,
additional processing made by setting FMATS is required: switching from the user boot MAT to
the user MAT, and switching back to the user boot MAT after erasing completes.
Rev. 3.00 Mar. 14, 2006 Page 616 of 804
REJ09B0104-0300
User MAT Erasing in User Boot Mode
Figure 17.15 Procedure for Erasing User MAT in User Boot Mode
Set SCO to 1 after initializing
VBR and execute download
JSR FTDAR setting
Select on-chip program
and bus master operation
to be downloaded and
destination by FTDAR
specify download
procedure program
Set FKEY to H'A5
Set the FPEFEQ
Disable interrupts
Clear FKEY to 0
other than CPU
Initialization
Start erasing
DPFR
parameter
FPFR = 0 ?
1
Yes
Yes
0 ?
Initialization error processing
Download error processing
32
No
No
User-boot-MAT
selection state
Note:
The MAT must be switched by FMATS to perform
the erasing error processing in the user boot MAT.
No
JSR FTDAR setting
Set FMATS to H'AA to
Set FEBS parameter
select user boot MAT
Set FMATS to value
procedure program
to select user MAT
Set FKEY to H'5A
Clear FKEY to 0
other than H'AA
Programming
block erasing is
End erasing
completed?
FPFR
Required
1
Yes
Yes
0 ?
16
Clear FKEY and erasing
No
error processing
switchover
switchover
MAT
MAT

Related parts for R5F61525