Font Size: a A A

Design And Implementation Of Dual Redundant Ethernet System For The Loongson2F

Posted on:2016-03-11Degree:MasterType:Thesis
Country:ChinaCandidate:C WangFull Text:PDF
GTID:2298330467993748Subject:Software engineering
Abstract/Summary:PDF Full Text Request
With the development of network function of embedded devices, embedded network equipment application in the network is more and more important in the communication system, the reliability requirements of the network system is becoming more and more high. In the system requirements for the reliability of network communication, the network card redundancy has become an important technical means.The Loongson2F embedded system to realize the dual redundant Ethernet in VxWorks6.7based on the function, with low cost to meet the requirements of the dual redundant Ethernet technology, realizes the network system of high reliability performance, improve the efficiency and reliability of the dual redundant ethernet. The main work includes:1) It is mainly based on the hardware design of the Loongson2F CPCI board, BSP will be transplanted to the boards of VxWorks6.7, the software system can run normally. Contains CPU configuration, system initialization, interrupt controller configuration, hardware driver development, the establishment of debugging tools.2) The development of dual redundant Ethernet card driver. The paper analyses the characteristics of Interpeak network protocol stack under VxWorks6.7, then Intelgei825xx100/1000M adaptive Ethernet driver is designed and realized in the MUX interface based on, complete the development of dual redundant Ethernet driver. The main drive to achieve two different modes, the first is the main mode of thermal switching mode, when two cards using the same IP address, one of the devices for some reason can not work normally, another device can immediately replace the equipment to accomplish the same function; another model using XOR the algorithm can make the two card at the same time, and different target machine data communication, and can guarantee that the data will not be out of order, when a card is broken, another card can also continue to work3) The dual redundant Ethernet driver for the function and performance test. Hot switching mode after testing the network error rate of less than10-3, the network switching time is less than10ms; XOR algorithm mode after the test pair work at the same time the network transmission rate reached1.5times the single card, to the23MB/s, not only can achieve the failure protection can also realize the load balancing in this mode.
Keywords/Search Tags:Loongson2F, VxWorks6.7, Dualnetwork redundancy, hotswitching, XORalgorithm
PDF Full Text Request
Related items