HD6433045 HITACHI [Hitachi Semiconductor], HD6433045 Datasheet - Page 601

no-image

HD6433045

Manufacturer Part Number
HD6433045
Description
Hitachi Single-Chip Microcomputer
Manufacturer
HITACHI [Hitachi Semiconductor]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
HD6433045A58F
Manufacturer:
PWRT
Quantity:
4 172
Part Number:
HD6433045SA27F
Manufacturer:
RENESAS
Quantity:
1 000
Part Number:
HD6433045SA28FV
Manufacturer:
RENESAS/瑞萨
Quantity:
20 000
Part Number:
HD6433045SA37FV
Manufacturer:
RENESAS
Quantity:
1 000
Sample Program for Programming One Byte: This program uses the following registers.
R0:
R1:
ER2: Stores the address to be programmed as long word data. Valid addresses are H'00000000
R3H: Stores data to be programmed as byte data
R4:
E4:
R5:
E5:
Arbitrary data can be programmed at an arbitrary address by setting the address in ER2 and the
data in R3H.
The values of #a, #b, and #g depend on the clock frequency. They can be calculated as indicated
under table 18-14.
FLMCR:
EBR1:
EBR2:
TCSR:
PRGM:
LOOP0:
PRGMS:
LOOP1:
LOOP2:
Program-verify fail counter
Program-verify timing loop counter
to H'0001FFFF.
Sets and clears TCSR and FLMCR
Stores the initial program loop counter value
Clears FLMCR
Stores the program loop counter value
.EQU
.EQU
.EQU
.EQU
MOV.W
MOV.W
MOV.W
MOV.B
DEC.W
BPL
MOV.B
MOV.B
MOV.B
MOV.W
MOV.W
MOV.W
MOV:W
MOV.W
MOV.B
DEC.W
BPL
MOV.B
MOV.W
MOV.W
MOV:W
MOV.B
MOV.B
DEC.W
BPL
MOV.B
FFFF40
FFFF42
FFFF43
FFFFA8
#0001,
#g,
#4140,
R4L,
#1,
LOOP0
#**,
R0H,
R3H,
#a,
#A579,
R4,
E4,
#4140,
R4H,
#1,
LOOP1
R4L,
#A500,
R4,
#b ,
#44,
R4H,
#1,
LOOP2
@ER2,
R0
R1
R4
@FLMCR:8 ;
R1
R0H
@EBR*:8
@ER2
E4
R4
@TCSR:16 ;
E5
R4
@FLMCR:8 ;
E5
@FLMCR:8 ;
R4
@TCSR:16 ;
R1
R4H
@FLMCR:8 ;
R1
R1H
592
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
;
Program-verify fail count
Set program loop counter
Set V
Set EBR*
Dummy write
Set initial program loop counter value
Start watchdog timer
Set program loop counter
Set P bit
Program
Clear P bit
Stop watchdog timer
Set program-verify loop counter
Set PV bit
Wait
Read programmed address
PP
E bit

Related parts for HD6433045