参数资料
型号: KSZ8873MLL AM TR
厂商: Micrel Inc
文件页数: 7/115页
文件大小: 0K
描述: IC ETHERNET SWITCH 3PORT 64LQFP
产品培训模块: KSZ8873 Ethernet Switches
标准包装: 1,000
控制器类型: 以太网开关控制器
接口: MII
电源电压: 1.8V,2.5V,3.3V
工作温度: 0°C ~ 70°C
安装类型: 表面贴装
封装/外壳: 64-LQFP
供应商设备封装: 64-PQFP(10x10)
包装: 带卷 (TR)
PIC16(L)F1508/9
DS41609A-page 104
Preliminary
2011 Microchip Technology Inc.
EXAMPLE 10-3:
WRITING TO FLASH PROGRAM MEMORY
; This write routine assumes the following:
; 1. 64 bytes of data are loaded, starting at the address in DATA_ADDR
; 2. Each word of data to be written is made up of two adjacent bytes in DATA_ADDR,
; stored in little endian format
; 3. A valid starting address (the least significant bits = 00000) is loaded in ADDRH:ADDRL
; 4. ADDRH and ADDRL are located in shared data memory 0x70 - 0x7F (common RAM)
;
BCF
INTCON,GIE
; Disable ints so required sequences will execute properly
BANKSEL
PMADRH
; Bank 3
MOVF
ADDRH,W
; Load initial address
MOVWF
PMADRH
;
MOVF
ADDRL,W
;
MOVWF
PMADRL
;
MOVLW
LOW DATA_ADDR
; Load initial data address
MOVWF
FSR0L
;
MOVLW
HIGH DATA_ADDR ; Load initial data address
MOVWF
FSR0H
;
BCF
PMCON1,CFGS
; Not configuration space
BSF
PMCON1,WREN
; Enable writes
BSF
PMCON1,LWLO
; Only Load Write Latches
LOOP
MOVIW
FSR0++
; Load first data byte into lower
MOVWF
PMDATL
;
MOVIW
FSR0++
; Load second data byte into upper
MOVWF
PMDATH
;
MOVF
PMADRL,W
; Check if lower bits of address are '00000'
XORLW
0x1F
; Check if we're on the last of 32 addresses
ANDLW
0x1F
;
BTFSC
STATUS,Z
; Exit if last of 32 words,
GOTO
START_WRITE
;
MOVLW
55h
; Start of required write sequence:
MOVWF
PMCON2
; Write 55h
MOVLW
0AAh
;
MOVWF
PMCON2
; Write AAh
BSF
PMCON1,WR
; Set WR bit to begin write
NOP
; NOP instructions are forced as processor
; loads program memory write latches
NOP
;
INCF
PMADRL,F
; Still loading latches Increment address
GOTO
LOOP
; Write next latches
START_WRITE
BCF
PMCON1,LWLO
; No more loading latches - Actually start Flash program
; memory write
MOVLW
55h
; Start of required write sequence:
MOVWF
PMCON2
; Write 55h
MOVLW
0AAh
;
MOVWF
PMCON2
; Write AAh
BSF
PMCON1,WR
; Set WR bit to begin write
NOP
; NOP instructions are forced as processor writes
; all the program memory write latches simultaneously
NOP
; to program memory.
; After NOPs, the processor
; stalls until the self-write process in complete
; after write processor continues with 3rd instruction
BCF
PMCON1,WREN
; Disable writes
BSF
INTCON,GIE
; Enable interrupts
Required
S
equence
Required
Sequenc
e
相关PDF资料
PDF描述
PIC16C54CT-04I/SO IC MCU OTP 512X12 18SOIC
PIC12CE519T-04I/SN IC MCU OTP 1KX12 W/EE 8SOIC
V300A8C400BG CONVERTER MOD DC/DC 8V 400W
LTC1955IUH#PBF IC SMART CARD INTERFACE DL 32QFN
V300A8C400BF3 CONVERTER MOD DC/DC 8V 400W
相关代理商/技术参数
参数描述
KSZ8873MLL-EVAL 功能描述:以太网开发工具 3-Port Fast Ethernet Switch with 1x MII Interface - Evaluation Board RoHS:否 制造商:Micrel 产品:Evaluation Boards 类型:Ethernet Transceivers 工具用于评估:KSZ8873RLL 接口类型:RMII 工作电源电压:
KSZ8873MLLI 功能描述:以太网 IC 3-Port Fast Ethernet Switch with 1x RMII Interface (Industrial Grade, Lead Free) RoHS:否 制造商:Micrel 产品:Ethernet Switches 收发器数量:2 数据速率:10 Mb/s, 100 Mb/s 电源电压-最大:1.25 V, 3.45 V 电源电压-最小:1.15 V, 3.15 V 最大工作温度:+ 85 C 封装 / 箱体:QFN-64 封装:Tray
KSZ8873MLLJ 功能描述:以太网 IC 3-Port Fast Ethernet Switch with 1x RMII Interface (Extended Temp) RoHS:否 制造商:Micrel 产品:Ethernet Switches 收发器数量:2 数据速率:10 Mb/s, 100 Mb/s 电源电压-最大:1.25 V, 3.45 V 电源电压-最小:1.15 V, 3.15 V 最大工作温度:+ 85 C 封装 / 箱体:QFN-64 封装:Tray
KSZ8873MML 功能描述:以太网 IC 3-Port Fast Ethernet Switch with 2x MII Interface, Lead Free RoHS:否 制造商:Micrel 产品:Ethernet Switches 收发器数量:2 数据速率:10 Mb/s, 100 Mb/s 电源电压-最大:1.25 V, 3.45 V 电源电压-最小:1.15 V, 3.15 V 最大工作温度:+ 85 C 封装 / 箱体:QFN-64 封装:Tray
KSZ8873MML-EVAL 功能描述:以太网开发工具 3-Port Fast Ethernet Switch with 2x MII Interface - Evaluation Board RoHS:否 制造商:Micrel 产品:Evaluation Boards 类型:Ethernet Transceivers 工具用于评估:KSZ8873RLL 接口类型:RMII 工作电源电压: