Renesas H8S/2100 Series Hardware Manual page 785

6-bit single-chip microcomputer
Hide thumbs Also See for H8S/2100 Series:
Table of Contents

Advertisement

(3)
User MAT Erasing in User Boot Mode
For erasing the user MAT in user boot mode, additional processing made by setting FMATS are
required: However, switching back from user-MAT selection state to user-boot-MAT selection
state after programming completes is impossible.
Figure 24.15 shows the procedure for erasing the user MAT in user boot mode.
Start erasing
procedure program
Select on-chip program
to be downloaded and
specify download
destination by FTDAR
Set FKEY to H'A5
Set SCO to 1 and
execute download
Clear FKEY to 0
DPFR = 0?
Set the FPEFEQ
parameter
Initialization
JSR FTDAR setting + 32
FPFR = 0?
Disable interrupts
and bus master operation
other than CPU
Figure 24.15 Procedure for Erasing User MAT in User Boot Mode
No
Yes
Download error processing
No
Yes
Initialization error processing
1
Section 24 Flash Memory
1
Set FMATS to value other
than H'AA to select user MAT
Set FKEY to H'5A
Set FEBS parameter
Programming
JSR FTDAR setting + 16
FPFR = 0?
No
Yes
Clear FKEY and erasing
error processing
Required
No
block erasing is
completed?
Yes
Clear FKEY to 0
End erasing
procedure program
Rev. 1.00 May 09, 2008 Page 759 of 954
MAT
switchover
REJ09B0462-0100

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2112r

Table of Contents