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

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)
In user boot mode, though the user boot MAT can be seen in the flash memory space, the user
MAT is hidden in the background. Therefore, the user MAT and user boot MAT are switched
while the user MAT is being programmed. Because the user boot MAT is hidden while the user
MAT is being programmed, the procedure program must be executed in an area other than flash
memory. After programming completes, switch the memory MATs again to return to the first
state.
Rev. 3.00 Mar. 14, 2006 Page 614 of 804
REJ09B0104-0300
Figure 17.14 Procedure for Programming User MAT in User Boot Mode
Set SCO to 1 after initializing
VBR and execute download
JSR FTDAR setting
and bus master operation
Select on-chip program
to be downloaded and
destination by FTDAR
procedure program
Start programming
Set FKEY to H'A5
Disable interrupts
Set the FPEFEQ
specify download
Clear FKEY to 0
other than CPU
Initialization
DPFR
FPFR
parameter
1
Yes
Yes
0 ?
0 ?
Initialization error processing
32
Download error processing
No
No
User-boot-MAT
selection state
Note:
No
The MAT must be switched by FMATS
to perform the programming error
processing in the user boot MAT.
ER1 (FMPAR and FMPDR)
Set parameter to ER0 and
JSR FTDAR setting
Set FMATS to H'AA to
Set FMATS to value
select user boot MAT
procedure program
to select user MAT
End programming
Set FKEY to H'5A
other than H'AA
Clear FKEY to 0
programming is
Programming
Required data
FPFR
completed?
1
Yes
Yes
0 ?
Clear FKEY and programming
16
No
error processing
switchover
switchover
MAT
MAT

Related parts for R5F61525