HD6433640 HITACHI [Hitachi Semiconductor], HD6433640 Datasheet - Page 148

no-image

HD6433640

Manufacturer Part Number
HD6433640
Description
H8/3644 Series Hardware Manual
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433640RA78H
Manufacturer:
HITACHI/日立
Quantity:
20 000
Part Number:
HD6433640RB90H
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
LOOPR1:
LOOPR2:
ABEND1:
PWVFOK:
;
ERASES:
ERASE:
LOOPE:
;
Execute erase
Execute erase-verify
SUBS
ADDS
MOV.B
MOV.W
BSET
MOV.W
BNE
BCLR
MOV.B
MOV.B
MOV.B
DEC
BNE
MOV.B
BEQ
CMP.B
BEQ
ADD.W
BRA
Write error
CMP.W
BNE
MOV.W
MOV.W
ADDS
MOV.W
MOV.B
MOV.B
MOV.B
MOV.B
MOV.W
BSET
NOP
NOP
NOP
NOP
SUBS
MOV.W
BNE
BCLR
MOV.B
MOV.B
MOV.W
MOV.B
BSET
R4L,
R5,
#0,
#1,
R4,
LOOPR1
#0,
#H'50,
R4L,
#H'c,
R4H
LOOPR2
@R3,
PWVFOK
#H'06,
ABEND1
R5,
PREWRS
#1,
R2,
PREWRT
#H'0000,
#H'd,
#1,
#H'e5A,
R4L,
R4H,
#H'36,
R4L,
R5,
#1,
#1,
R4,
LOOPE
#1,
#H'50,
R4L,
R0,
#H'b,
#3,
R4
@FLMCR:8 ;
R4
R4
@FLMCR:8 ;
R4L
R4H
R1H
R6L
R5
R3
R3
R6
R5
R6
R4
R4L
R4
@FLMCR:8 ;
R4
R4
@FLMCR:8 ;
R4L
R3
R4H
@FLMCR:8 ;
@TCSRW:8 ;
@TCSRW:8 ;
@TCSRW:8 ;
@TCW:8
@TCSRW:8 ;
@TCSRW:8 ;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
Start watchdog timer
Set prewrite loop counter
Set P bit
Wait loop
Clear P bit
Stop watchdog timer
Set prewrite-verify fail counter
Wait loop
Read data = H'00?
If read data = H'00, branch to PWVFOK
Prewrite-verify executed 6 times?
If prewrite-verify executed 6 times, branch to ABEND1
Double the programming time
Prewrite again
Address + 1
Last address?
If not last address, prewrite next address
Erase-verify fail counter
Set erase loop counter
Erase-verify fail counter + 1
Start watchdog timer
Set erase loop counter
Set E bit
Wait loop
Clear E bit
Stop watchdog timer
Start address of block to be erased
Set erase-verify loop counter
Set EV bit
R3
R6
139

Related parts for HD6433640