CP2200应用
CP2200网络芯片的应用 :根据嵌人式网络技术的最新研究,对嵌人式设备的网络化接口技术,做了详细的分析。并以C8051F020单片机和CP2200以太网控制器为例,给出了网络接口模块设计的具体方案,阐述了系统的软硬件实现方法,对CP2200的实现进行了详细介绍,同时针对嵌人式网络的实际应用场合,对TCP/IP协议栈进行了精简,并介绍了各个模块的具体实现。第1期王晓菊等:嵌入式网络接口模块设计及协议栈实现51器会通过中断请求引脚得到通知。主机可以用自前导码和帧开始定界符动读( autoread)接口读取数据包,将数据包的内容复制到其局部存储器中,或通过向 RXSKIP写从发源MAC地址以太网来跳过该包。中获:类型数据字段长度帧(最接收接口有接收过滤器和哈希表,可以防止岁据字节)不希望的包进入接收缓冲区。对于接收过滤器不校验序列支持的所有包类型,CP2200允许主控制器对接收缓冲器进行随机访问,主控制器可以检查包中的图5典型的以太网包特定字节,以决定是否复制数据包数据包的具3精简TCP/P协议及实现体接收过程如图4所示。由于嵌入式系统的资源有限,因此要根据实际应用的需求对TP/P协议作裁减,采用精简的开始TCP/田协议栈,通常协议栈只需实现ARP、ICMP、查是否育包在缓冲区中一TCP、IP协议,其软件实现流程图如图6所示。登查是否正确获收二二读取报的长度路过该包测否芷改一申请读取数据包的N到以太网空间是否成功TCP"收新然以太网读取缴据包跳过该包测以太刚城的亡部谓险当新包有效化设暖冲区了器期精?東处包首部RP重传期满ARTIe图4数据包的接收过程子棋块Abstract: The architecture of data warehouse system is a key research subject in data warehouse field. Afteranalyzing the traditional architecture of data warehouse system, three architectures and their constructing strategies of tightly coupled, loosely coupled and information issuance are proposed. Based on the technology implementation, homogeneous DW system, heterogeneous DW system and technology platform structure are prooseKeywords: data warehouse; architecture; tightly coupled loosely coupled; homogeneous system; heterogeneous system上接第52页)Embedded network interface module design andprotocol stack implementationWANG Xiao-ju PAN Zhuo-jin DU RuiComputer Science college, Shenyang Institute of Aeronautical Engineering, Liaoning Shenyang 110034)Abstract With the latest research and development in embedded network technology, this paper analyzed theembedded device network interface technology, and presents a design based on C8051 F020 and CP2200. Thehardware architecture of the system is introduced, the implementation of the driver for cp2200 is described indetails, the TCP/IP is chosen for the protocol stack, and the implementation is simplified for small embeddedapplication systemsKeywords: embedded system; MCU; CP2200; TCP/IP
用户评论