欢迎访问ic37.com |
会员登录 免费注册
发布采购

HD6473434F16 参数 Datasheet PDF下载

HD6473434F16图片预览
型号: HD6473434F16
PDF下载: 下载PDF文件 查看货源
内容描述: 12伏不能应用于S -掩模模型(单电源规格) ,因为这可能会永久损坏设备。 [12 V must not be applied to the S-mask model (single-power-supply specification), as this may permanently damage the device.]
分类和应用: 外围集成电路微控制器可编程只读存储器时钟
文件页数/大小: 752 页 / 2557 K
品牌: HITACHI [ HITACHI SEMICONDUCTOR ]
 浏览型号HD6473434F16的Datasheet PDF文件第422页浏览型号HD6473434F16的Datasheet PDF文件第423页浏览型号HD6473434F16的Datasheet PDF文件第424页浏览型号HD6473434F16的Datasheet PDF文件第425页浏览型号HD6473434F16的Datasheet PDF文件第427页浏览型号HD6473434F16的Datasheet PDF文件第428页浏览型号HD6473434F16的Datasheet PDF文件第429页浏览型号HD6473434F16的Datasheet PDF文件第430页  
Sample Program for Programming One Byte: This program uses the following registers.  
R0H: Specifies blocks to be erased.  
R1H: Stores data to be programmed.  
R1L: Stores data to be read.  
R3: Stores address to be programmed. Valid addresses are H'0000 to H'7FFF.  
R4: Sets program and program-verify timing loop counters, and also stores register setting  
value.  
R5: Sets program timing loop counter.  
R6L: Used for program-verify fail count.  
Arbitrary data can be programmed at an arbitrary address by setting the address in R3 and the data  
in R1H.  
The setting of #a and #b values depends on the clock frequency. Set #a and #b values according to  
tables 19.9 (1) and (2).  
FLMCR:  
EBR1:  
EBR2:  
TCSR:  
.EQU  
.EQU  
.EQU  
.EQU  
H'FF80  
H'FF82  
H'FF83  
H'FFA8  
.ALIGN  
MOV.B  
MOV.B  
2
PRGM:  
#H'**,  
R0H,  
R0H  
@EBR*:8  
;
; Set EBR*  
MOV.B  
MOV.W  
MOV.B  
INC  
MOV.W  
MOV.W  
MOV.W  
BSET  
#H'00,  
#H'a,  
R1H,  
R6L  
#H'A578, R4  
R4,  
R5,  
#0,  
#1,  
R4,  
LOOP1  
#0,  
R6L  
R5  
@R3  
; Program-verify fail counter  
; Set program loop counter  
; Dummy write  
; Program-verify fail counter + 1 R6L  
;
PRGMS:  
LOOP1:  
@TCSR  
R4  
@FLMCR:8 ; Set P bit  
R4  
R4  
; Start watchdog timer  
; Set program loop counter  
SUBS  
MOV.W  
BNE  
;
;
; Wait loop  
BCLR  
@FLMCR:8 ; Clear P bit  
MOV.W  
MOV.W  
#H'A500, R4  
;
R4,  
@TCSR  
; Stop watchdog timer  
MOV.B  
BSET  
DEC  
#H'b ,  
#2,  
R4H  
LOOP2  
@R3,  
R1H,  
PVOK  
#2,  
R4H  
; Set program-verify loop counter  
@FLMCR:8 ; Set PV bit  
LOOP2:  
;
BNE  
; Wait loop  
; Read programmed address  
; Compare programmed data with read data  
; Program-verify decision  
MOV.B  
CMP.B  
BEQ  
R1L  
R1L  
BCLR  
@FLMCR:8 ; Clear PV bit  
397  
 复制成功!