參數(shù)資料
型號(hào): MC68HC908LB8
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: On-Chip FLASH Programming Routines
中文描述: 片上閃存編程例程
文件頁數(shù): 33/36頁
文件大?。?/td> 150K
代理商: MC68HC908LB8
On-Chip Routines Source Code
On-Chip FLASH Programming Routines, Rev. 4
Freescale Semiconductor
33
;clr HVEN (Prog Algo Step 12)
sta COPCTL ;[4] service COP
rts ;[4]
;* PRGRNGE DONE ******************
;*********************************************************************
;* NAME: DELNUS
;* PURPOSE: Generate delay (3 * A * X) + 5 [cycles]
;* ENTRY CONDITIONS:
;* A contains an integer value equal to 4 or higher
;* X contains an integer value equal to 1 or higher
;* STACK USED: 3 bytes (including the call to this routine)
;* SIZE: 10 bytes
;* DESCRIPTION: EXECUTED OUT OF ROM
;* This routine is called from ERARNGE routines.
;* For example when bus frequency = 4MHz, A=16, and X=17, the
;* delay time is:
;* delay time = (3 x 16 x 17) + 5 = 821 cycles (205.25us)
;* remember to consider delays associated with setup and JSR/BSR
;*********************************************************************
DELNUS: deca ;[1] A - 1
Loop: psha ;[2] temp save
deca ;[1] original A - 2
deca ;[1] original A - 3
dbnza * ;[3(orig A - 3)] (inner loop)
pula ;[2] recover original A - 1
dbnzx Loop ;[3] (bottom of outer loop)
;* outer loop = (X(2+1+1+(3(A-3))+2+3)) = (X(9+(3A-9)) = 3 * X * A
rts ;[4]
;* DELNUS DONE ******************
;*********************************************************************
;* NAME: ERARNGE
;* PURPOSE:
;* Erase a page or a whole array in FLASH memory. A bus frequency
;* range has to be between 1.0MHz and 8.4MHz.
;* ENTRY CONDITIONS:
;* H:X contains an FLASH address within a page or an array to be
;* erased
;* CTRLBYT selects MASS erase ($40) or PAGE erase ($00)
;* If other value is written to CTRLBYT, the erase operation
;* will not be performed
;* CPUSPD contains a nearest integer of 4 x bus frequency
;* EXIT CONDITIONS:
;* The contents of H:X (address passed) is preserved; I-bit set
;* SUBROUTINES CALLED: DELNUS
;* VARIABLES READ: CTRLBYT, CPUSPD
;* VARIABLES MODIFIED:
;* STACK USED: 7 (including the call to this routine)
;* SIZE: 76 bytes
;* DESCRIPTION: EXECUTED OUT OF ROM
;* Does not check for a blank range before (to see if erase is
;* necessary) or after (to see if successful erase). The COP is
;* serviced in this routine. The first COP is serviced on
;* (40+3xCPUSPD) bus cycles after this routine is called in the user
;* software. However, there could still be COP time out if the COP
相關(guān)PDF資料
PDF描述
MC68HC908LD60 Microcontrollers
MC68HC908LD64 Microcontrollers
MC68HC908LJ12CFB 8-bit microcontroller units
MC68HC908LJ12 8 bit Microcontroller Unit (MCU)(8位MCU)
MC68HC908LJ24 8 bit Microcontroller Unit (MCU)(8位MCU)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
MC68HC908LB8CDWE 功能描述:IC MCU 8K FLASH 8MHZ 20SOIC RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC08 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲(chǔ)器容量:40KB(20K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
MC68HC908LB8CPE 功能描述:IC MCU 8K FLASH 8MHZ 20DIP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC08 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲(chǔ)器容量:40KB(20K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
MC68HC908LB8MDWE 功能描述:IC MCU 8K FLASH 8MHZ 20SOIC RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC08 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲(chǔ)器容量:40KB(20K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
MC68HC908LB8MPE 功能描述:IC MCU 8K FLASH 8MHZ 20DIP RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC08 標(biāo)準(zhǔn)包裝:250 系列:56F8xxx 核心處理器:56800E 芯體尺寸:16-位 速度:60MHz 連通性:CAN,SCI,SPI 外圍設(shè)備:POR,PWM,溫度傳感器,WDT 輸入/輸出數(shù):21 程序存儲(chǔ)器容量:40KB(20K x 16) 程序存儲(chǔ)器類型:閃存 EEPROM 大小:- RAM 容量:6K x 16 電壓 - 電源 (Vcc/Vdd):2.25 V ~ 3.6 V 數(shù)據(jù)轉(zhuǎn)換器:A/D 6x12b 振蕩器型:內(nèi)部 工作溫度:-40°C ~ 125°C 封裝/外殼:48-LQFP 包裝:托盤 配用:MC56F8323EVME-ND - BOARD EVALUATION MC56F8323
MC68HC908LB8VDWE 功能描述:IC MCU 8K FLASH 8MHZ 20-SOICW RoHS:是 類別:集成電路 (IC) >> 嵌入式 - 微控制器, 系列:HC08 標(biāo)準(zhǔn)包裝:1 系列:87C 核心處理器:MCS 51 芯體尺寸:8-位 速度:16MHz 連通性:SIO 外圍設(shè)備:- 輸入/輸出數(shù):32 程序存儲(chǔ)器容量:8KB(8K x 8) 程序存儲(chǔ)器類型:OTP EEPROM 大小:- RAM 容量:256 x 8 電壓 - 電源 (Vcc/Vdd):4 V ~ 6 V 數(shù)據(jù)轉(zhuǎn)換器:- 振蕩器型:外部 工作溫度:0°C ~ 70°C 封裝/外殼:44-DIP 包裝:管件 其它名稱:864285