文件名称:avr+cp2200_source
介绍说明--下载内容均来自于网络,请自行研究使用
m16+cp2200组成的网络接口。
m16使用内部RC振荡8M,如果要提高主频,请注意修改模拟总线读函数。
cp2200模块使用www.icdev.com.cn的,更改pin44连接VCC,即总线复用方式,地址数据复用。
软件编写使用avrstudio4.12+sp4+winavr(avrstudio自带的winavr嵌入方式)。
硬件连接:
m16 | cp2200
PORTA | AD0-7
PB0 | RST
PB1 | CS
PB2 | RD
PB3 | WR
PD2 | INT
PD3 | ALE(A3)
由于采用的是m16做为主控,只能使用总线模拟方式,其读写速度有限,经测试约为双向11.8kBps(90kbps)。
由于ram有限,仅仅采用了332Bytes的数据缓冲做为收发buffer,超过此长度的以太网包将抛弃。
此工程文件仅仅做为cp220x的一个移植范例,高级tcpip应用代码因商业缘故不会提供,请勿找我询问。-m16 cp2200 a network interface. M16 use of internal RC oscillator 8 M, if we are to raise the frequency, please note time change Bus simulation function. Cp2200 module uses www.icdev.com.cn. changes pin44 connecting VCC, bus multiplexing, address data multiplexing. Software programmers use avrstudio4.12 sp4 winavr (bringing their avrstudio winavr embedded in the way). Hardware connections : m16 | cp2200 PORTA | AD0-7 pins | RST PB1 | CS PB2 | RD PB3 | WR NC | INT PD3 | ALE (A3) is used as the main control m16, It can only use bus simulation, the literacy rate is limited, After about a two-way test 11.8 kBps (90kbps). As the ram limited, merely using the 332 Bytes of data as a buffer TX buffer, Over this length of the Ethernet packets will be discarded. This works only as a document of a tr
m16使用内部RC振荡8M,如果要提高主频,请注意修改模拟总线读函数。
cp2200模块使用www.icdev.com.cn的,更改pin44连接VCC,即总线复用方式,地址数据复用。
软件编写使用avrstudio4.12+sp4+winavr(avrstudio自带的winavr嵌入方式)。
硬件连接:
m16 | cp2200
PORTA | AD0-7
PB0 | RST
PB1 | CS
PB2 | RD
PB3 | WR
PD2 | INT
PD3 | ALE(A3)
由于采用的是m16做为主控,只能使用总线模拟方式,其读写速度有限,经测试约为双向11.8kBps(90kbps)。
由于ram有限,仅仅采用了332Bytes的数据缓冲做为收发buffer,超过此长度的以太网包将抛弃。
此工程文件仅仅做为cp220x的一个移植范例,高级tcpip应用代码因商业缘故不会提供,请勿找我询问。-m16 cp2200 a network interface. M16 use of internal RC oscillator 8 M, if we are to raise the frequency, please note time change Bus simulation function. Cp2200 module uses www.icdev.com.cn. changes pin44 connecting VCC, bus multiplexing, address data multiplexing. Software programmers use avrstudio4.12 sp4 winavr (bringing their avrstudio winavr embedded in the way). Hardware connections : m16 | cp2200 PORTA | AD0-7 pins | RST PB1 | CS PB2 | RD PB3 | WR NC | INT PD3 | ALE (A3) is used as the main control m16, It can only use bus simulation, the literacy rate is limited, After about a two-way test 11.8 kBps (90kbps). As the ram limited, merely using the 332 Bytes of data as a buffer TX buffer, Over this length of the Ethernet packets will be discarded. This works only as a document of a tr
(系统自动生成,下载前可以参看下载内容)
下载文件列表
压缩包 : 117143203avr cp2200_source.rar 列表 cp2200.aps cp2200.c readme.txt reg.h board.h cp2200.h main.c ne2000.h default\Makefile default\dep\cp2200.o.d default\dep\main.o.d default\dep\arp.o.d default\dep\icmp.o.d default\dep\netcomm.o.d default\dep default\main.o default\arp.o default\icmp.o default\netcomm.o default\cp2200.o default\cp2200.elf default\cp2200.hex default\cp2200.eep default arp.c arp.h icmp.c icmp.h netcomm.c nettest.JPG