English
Language : 

HD64F7045F28V Datasheet, PDF (747/925 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family/SH7040 Series
• Sample 32-byte programming program
The wait time set values (number of loops) are for the case where f = 28.7 MHz. For other
frequencies, the set value is given by the following expression:
Wait time (µs) × f (MHz) ÷ 4
Registers Used
R4 (input):
R5 (input):
R7 (output):
R0-3, 8-13:
Program data storage address
Programming destination address
OK (normal) or NG (error)
Work registers
FLMCR1
FLMCR2
OK
NG
Wait10u
Wait50u
Wait4u
Wait2u
Wait200u
WDT_TCSR
WDT_573u
SWESET
PSU1SET
P1SET
P1CLEAR
PSU1CLEAR
PVSET
PVCLEAR
SWECLEAR
MAXVerify
;
FlashProgram
MOV
MOV.L
MOV
MOV
COPY_LOOP
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
.EQU
H’80
H’81
H’0
H’1
72
359
29
14
1435
H’FFFF8610
H’A579
B’01000000
B’00010000
B’00000001
B’11111110
B’11101111
B’00000100
B’11111011
B’10111111
1000
.EQU
$
#H’01,R2
#PdataBuff,R0
R4,R12
#8,R13
.EQU
$
; R2 work register (1)
; Save program data to work area
707