欢迎访问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文件第419页浏览型号HD6473434F16的Datasheet PDF文件第420页浏览型号HD6473434F16的Datasheet PDF文件第421页浏览型号HD6473434F16的Datasheet PDF文件第422页浏览型号HD6473434F16的Datasheet PDF文件第424页浏览型号HD6473434F16的Datasheet PDF文件第425页浏览型号HD6473434F16的Datasheet PDF文件第426页浏览型号HD6473434F16的Datasheet PDF文件第427页  
19.4  
Programming and Erasing Flash Memory  
The H8/3434F’s on-chip flash memory is programmed and erased by software, using the CPU.  
The flash memory can operate in program mode, erase mode, program-verify mode, erase-verify  
mode, or prewrite-verify mode. Transitions to these modes can be made by setting the P, E, PV,  
and EV bits in the flash memory control register (FLMCR).  
The flash memory cannot be read while being programmed or erased. The program that controls  
the programming and erasing of the flash memory must be stored and executed in on-chip RAM or  
in external memory. A description of each mode is given below, with recommended flowcharts  
and sample programs for programming and erasing.  
For details on programming and erasing, refer to section 19.7, Flash Memory Programming and  
Erasing Precautions.  
19.4.1 Program Mode  
To write data into the flash memory, follow the programming algorithm shown in figure 19.8. This  
programming algorithm can write data without subjecting the device to voltage stress or impairing  
the reliability of programmed data.  
To program data, first specify the area to be written in flash memory with erase block registers  
EBR1 and EBR2, then write the data to the address to be programmed, as in writing to RAM. The  
flash memory latches the address and data in an address latch and data latch. Next set the P bit in  
FLMCR, selecting program mode. The programming duration is the time during which the P bit is  
set. A software timer should be used to provide a programming duration of about 10 to 20 µs. The  
value of N, the number of attempts, should be set so that the total programming time does not  
exceed 1 ms. Programming for too long a time, due to program runaway for example, can cause  
device damage. Before selecting program mode, set up the watchdog timer so as to prevent  
overprogramming.  
394  
 复制成功!