欢迎访问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文件第423页浏览型号HD6473434F16的Datasheet PDF文件第424页浏览型号HD6473434F16的Datasheet PDF文件第425页浏览型号HD6473434F16的Datasheet PDF文件第426页浏览型号HD6473434F16的Datasheet PDF文件第428页浏览型号HD6473434F16的Datasheet PDF文件第429页浏览型号HD6473434F16的Datasheet PDF文件第430页浏览型号HD6473434F16的Datasheet PDF文件第431页  
CMP.B  
BEQ  
BRA  
#H'32,  
NGEND  
PRGMS  
R6L  
; Program-verify executed 50 times?  
; If program-verify executed 50 times, branch to NGEND  
; Program again  
PVOK:  
BCLR  
MOV.B  
MOV.B  
#2,  
#H'00,  
R6L,  
@FLMCR:8 ; Clear PV bit  
R6L  
;
@EBR*:8  
; Clear EBR*  
One byte programmed  
Programming error  
NGEND:  
19.4.4 Erase Mode  
To erase the flash memory, follow the erasing flowchart shown in figure 19.9. This erasing flow  
can erase data without subjecting the device to voltage stress or impairing the reliability of  
programmed data.  
To erase flash memory, before starting to erase, first place all memory data in all blocks to be  
erased in the programmed state (program all memory data to H'00). If all memory data is not in the  
programmed state, follow the sequence described later (figure 19.10) to program the memory data  
to zero. Select the flash memory areas to be erased with erase block registers 1 and 2 (EBR1 and  
EBR2). Next set the E bit in FLMCR, selecting erase mode. The erase time is the time during  
which the E bit is set. To prevent overerasing, use a software timer to divide the erase time into  
repeated 10 ms intervals, and perform erase operations a maximum of 3000 times so that the total  
erase time does not exceed 30 seconds. Overerasing, due to program runaway for example, can  
give memory cells a negative threshold voltage and cause them to operate incorrectly. Before  
selecting erase mode, set up the watchdog timer so as to prevent overerasing.  
19.4.5 Erase-Verify Mode  
In erase-verify mode, after data has been erased, it is read to check that it has been erased  
correctly. After the erase time has elapsed, exit erase mode (clear the E bit to 0) and select erase-  
verify mode (set the EV bit to 1). Before reading data in erase-verify mode, write H'FF dummy  
data to the address to be read. This dummy write applies an erase-verify voltage to the memory  
cells at the latched address. If the flash memory is read in this state, the data at the latched address  
will be read. After the dummy write, wait 2 µs or more before reading. When performing the  
initial dummy write, wait 4 µs or more after selecting erase-verify mode. If the read data has been  
successfully erased, perform an erase-verify (dummy write, wait 2 µs or more, then read) for the  
next address. If the read data has not been erased, select erase mode again and repeat the same  
erase and erase-verify sequence through the last address, until all memory data has been erased to  
1. Do not repeat the erase and erase-verify sequence more than 3000 times, however.  
398  
 复制成功!