Figure 17.11 Programming Procedure In User Program Mode - Renesas H8SX/1520 Series Hardware Manual

32-bit cisc microcomputer
Hide thumbs Also See for H8SX/1520 Series:
Table of Contents

Advertisement

Item
17.8.2 User Program Mode
(2) Programming Procedure in
User Program Mode
Figure 17.11 Programming
Procedure in User Program Mode
Rev. 3.00 Mar. 14, 2006 Page 792 of 804
REJ09B0104-0300
Downloaded from
Elcodis.com
electronic components distributor
Page Revision (See Manual for Details)
606
Amended
607,
Amended
609
7. Initialization is executed. The initialization program
is downloaded together with the programming
program to the on-chip RAM. The entry point of the
initialization program is at the address which is 32
bytes after #DLTOP (start address of the download
destination specified by FTDAR). Call the
subroutine to execute initialization by using the
following steps.
 The general registers other than ER0 and ER1
are held in the initialization program.
12. Programming is executed. The entry point of the
programming program is a the address which is 16
bytes after #DLTOP (start address of the download
destination specified by FTDAR). Call the
subroutine to execute programming by using the
following steps.
 The general registers other than ER0 and ER1
are held in the programming program.
1
Disable interrupts and bus
master operation
9.
other than CPU
Set FKEY to H'5A
10.
Set parameters to ER1
and ER0
11.
(FMPAR and FMPDR)
Programming
JSR FTDAR setting + 16
12.
13.
FPFR = 0?
No
Yes
Clear FKEY and
programming
error processing
Required data
No
programming is
14.
completed?
Yes
Clear FKEY to 0
15.
End programming
procedure program

Advertisement

Table of Contents
loading

Table of Contents