參數(shù)資料
型號(hào): AN2635
廠商: 飛思卡爾半導(dǎo)體(中國)有限公司
英文描述: On-Chip FLASH Programming Routines
中文描述: 片上閃存編程例程
文件頁數(shù): 12/36頁
文件大?。?/td> 150K
代理商: AN2635
On-Chip FLASH Programming Routines, Rev. 4
12
Freescale Semiconductor
How to Use the Routines
verifying operations. The RDVRRNG routine can be used to verify a programmed FLASH range against
the DATA array.
Interrupts are masked and the COP is serviced in this routine. The first COP is serviced at 59 bus cycles
after this routine is called in the user software.
Entry Condition
H:X — Contains the beginning address in a range.
LADDR — Contains the last address in a range.
CPUSPD — Contains the nearest integer value of f
op
(in MHz) times 4.
DATA array — Contains the data values to be programmed into FLASH.
Exit Condition
H:X — Contains the address of the next byte after the range just programmed.
Example 5:
Programming a Row
Example 5 shows how to program one full 32-byte row:
PRGRNGE equ $038A ;LB8 PRGRNGE jump address
ldhx #$0000 ;Index offset into DATA array
lda #$AA ;Initial data value (inverted)
Data_load:
coma ;Alternate between $55 and $AA
sta DATA,x ;Fill DATA array, 32 bytes data,
; values to program into FLASH
aix #1 ; (ie. 55, AA, 55, AA....)
cphx #$20
bne Data_load
mov #$0A,CPUSPD ;fop = 2.4576MHz in this example
ldhx #$C01F ;Load last address of the row
sthx LADDR ; to LADDR
ldhx #$C000 ;Load beginning address of the
; row to H:X
jsr PRGRNGE ;Call PRGRNGE routine
相關(guān)PDF資料
PDF描述
AN4009 ALARM IC SAMPLE APPLICATIONS
ARP2805D/SF 1-OUTPUT 150 W DC-DC REG PWR SUPPLY MODULE
AS1977-T nPower Single Comp. Open-Drain; Package Type: SOT23-5
AS1976-T nPower,Single Comp. Push-Pull; Package Type: SOT23-5
AT45D161 16-megabit 5-volt Only Serial DataFlash(16M位 5V串行數(shù)據(jù)閃速存儲(chǔ)器)
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
AN264 制造商:Panasonic Industrial Company 功能描述:IC
AN-264 制造商:AD 制造商全稱:Analog Devices 功能描述:DYNAMIC CHARACTERISTICS OF TRACKING CONVERTERS BY MARK THOMAS
AN2640K 制造商:未知廠家 制造商全稱:未知廠家 功能描述:VHD VIDEO DISC PLAYER CHROMA AND LUMINANCE PROCESSING CIRCUIT
AN2641 制造商:Distributed By MCM 功能描述:USB FILE TRANSFER CABLEPC / MAC 制造商:MCM 功能描述:USB FILE TRANSFER CABLE PC / MAC
AN265 制造商:SILABS 制造商全稱:SILABS 功能描述:2ND-GENERATION PROSLIC㈢ GUI USER’S GUIDE