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

MC68HC908AP64CFB 参数 Datasheet PDF下载

MC68HC908AP64CFB图片预览
型号: MC68HC908AP64CFB
PDF下载: 下载PDF文件 查看货源
内容描述: [MC68HC908AP64CFB]
分类和应用: 外围集成电路时钟
文件页数/大小: 325 页 / 1651 K
品牌: FREESCALE [ Freescale ]
 浏览型号MC68HC908AP64CFB的Datasheet PDF文件第130页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第131页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第132页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第133页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第135页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第136页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第137页浏览型号MC68HC908AP64CFB的Datasheet PDF文件第138页  
ROM-Resident Routines  
F L A S H  
PAGE BOUNDARY  
CONTROL: 9 BYTES  
DATA ARRAY  
DATA ARRAY  
DATA ARRAY  
ONE PAGE = 512 BYTES  
PAGE BOUNDARY  
Figure 8-10. EE_WRITE FLASH Memory Usage  
The coding example below uses the $EE00–$EFFF page for data storage. The data array size is 15  
bytes, and the bus speed is 4.9152 MHz. The coding assumes the data block is already loaded in RAM,  
with the address pointer, FILE_PTR, pointing to the first byte of the data block.  
ORG  
RAM  
:
FILE_PTR:  
BUS_SPD  
DATASIZE  
START_ADDR  
DATAARRAY  
DS.B  
DS.B  
DS.W  
DS.B  
1
1
1
15  
; Indicates 4x bus frequency  
; Data size to be programmed  
; FLASH starting address  
; Reserved data array  
EE_WRITE  
FLASH_START  
EQU  
EQU  
$FF36  
$EE00  
ORG  
FLASH  
INITIALISATION:  
MOV  
MOV  
#20,  
#15,  
BUS_SPD  
DATASIZE  
LDHX  
STHX  
RTS  
#FLASH_START  
START_ADDR  
MAIN:  
BSR  
:
INITIALISATION  
:
LHDX  
JSR  
#FILE_PTR  
EE_WRITE  
NOTE  
The EE_WRITE routine is unable to check for incorrect data blocks, such  
as the FLASH page boundary address and data size. It is the responsibility  
of the user to ensure the starting address indicated in the data block is at  
the FLASH page boundary and the data size is 7 to 15. If the FLASH page  
is already programmed with a data array with a different size, the  
EE_WRITE call will be ignored.  
MC68HC908AP Family Data Sheet, Rev. 4  
Freescale Semiconductor  
133  
 复制成功!