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

MC908AP32CFAE 参数 Datasheet PDF下载

MC908AP32CFAE图片预览
型号: MC908AP32CFAE
PDF下载: 下载PDF文件 查看货源
内容描述: [MC908AP32CFAE]
分类和应用:
文件页数/大小: 325 页 / 4102 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC908AP32CFAE的Datasheet PDF文件第126页浏览型号MC908AP32CFAE的Datasheet PDF文件第127页浏览型号MC908AP32CFAE的Datasheet PDF文件第128页浏览型号MC908AP32CFAE的Datasheet PDF文件第129页浏览型号MC908AP32CFAE的Datasheet PDF文件第131页浏览型号MC908AP32CFAE的Datasheet PDF文件第132页浏览型号MC908AP32CFAE的Datasheet PDF文件第133页浏览型号MC908AP32CFAE的Datasheet PDF文件第134页  
ROM-Resident Routines  
8.5.2 ERARNGE  
ERARNGE is used to erase a range of locations in FLASH.  
Table 8-12. ERARNGE Routine  
Routine Name ERARNGE  
Routine Description Erase a page or the entire array  
Calling Address $FCE4  
Stack Used 9 bytes  
Bus speed (BUS_SPD)  
Data size (DATASIZE)  
Starting address (ADDRH)  
Data Block Format  
Starting address (ADDRL)  
There are two sizes of erase ranges: a page or the entire array. The ERARNGE will erase the page (512  
consecutive bytes) in FLASH specified by the address ADDRH:ADDRL. This address can be any address  
within the page. Calling ERARNGE with ADDRH:ADDRL equal to $FFFF will erase the entire FLASH  
array (mass erase). Therefore, care must be taken when calling this routine to prevent an accidental mass  
erase.  
The ERARNGE routine do not use a data array. The DATASIZE byte is a dummy byte that is also not  
used.  
The coding example below is to perform a page erase, from $EE00–$EFFF. The Initialization subroutine  
is the same as the coding example for PRGRNGE (see 8.5.1 PRGRNGE).  
ERARNGE  
EQU  
$FCE4  
MAIN:  
BSR  
:
INITIALISATION  
:
LDHX  
JSR  
:
#FILE_PTR  
ERARNGE  
MC68HC908AP Family Data Sheet, Rev. 4  
Freescale Semiconductor  
129  
 复制成功!