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

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
144
; Execute prewrite
PREWRT:
PREW:
PREWRS:
LOOPR1:
LOOPR2:
ABEND1:
PWVFOK:
PWADD2:
;
ERASES:
ERASE:
Execute erase
SUBS
ADDS
MOV.W
MOV.B
MOV.W
INC
MOV.B
MOV.B
MOV.W
MOV.B
MOV.B
MOV.B
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
MOV.W
CMP.W
BNE
INC
BRA
MOV.W
MOV.W
ADDS
MOV.W
MOV.B
MOV.B
MOV.B
MOV.B
MOV.W
@R2+,
#H'00,
#H'a,
R6L
#H'00
R1H,
#H'FE5A,
R4L,
R4H,
#H'36,
R4L,
R5,
#0,
#1,
R4,
LOOPR1
#0,
#H'50,
R4L,
#H'c,
R4H
LOOPR2
@R3,
PWVFOK
#H'06,
ABEND1
R5,
PREWRS
#1,
@R2,
R4,
PREW
R1L
PRETST
#H'0000,
#H'd,
#1,
#H'e5A,
R4L,
R4H,
#H'36,
R4L,
R5,
R3
R6L
R5
R1H
@R3
R4
R4L
R4
@FLMCR:8 ;
R4
R4
@FLMCR:8 ;
R4L
R4H
R1H
R6L
R5
R3
R4
R3
R6
R5
R6
R4
R4L
R4
@TCSRW:8 ;
@TCW:8
@TCSRW:8 ;
@TCSRW:8 ;
@TCSRW:8 ;
@TCW:8
@TCSRW:8 ;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
Prewrite start address
Prewrite-verify fail counter
Set prewrite loop counter
Prewrite-verify fail counter + 1
Write H'00
Start watchdog timer
Set prewrite loop counter
Set P bit
Wait loop
Clear P bit
Stop watchdog timer
Set prewrite-verify loop 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
Start address of next block
Last address?
If not last address, prewrite next address
Used to test bit R1L+1 in R0
Branch to PRETST
Erase-verify fail counter
Set erase loop counter
Erase-verify fail counter + 1
Start watchdog timer
Set erase loop counter
R3
R6
R6H

Related parts for HD6433640