Font Size: a A A

The Research And Implement Of Communication Techlonogy In Netword-based Measurement-Communication With TCP/IP On Ethernet And Communicatin On USB

Posted on:2003-12-08Degree:MasterType:Thesis
Country:ChinaCandidate:W H DuFull Text:PDF
GTID:2168360065451106Subject:Measuring and Testing Technology and Instruments
Abstract/Summary:PDF Full Text Request
This thesis includes two aspects of research and implement: the research and implement of Ethernet communication technology and USB communication technology. The research and implement of Ethernet communication technology: design an Ethernet test board, whicth named NCEX, with INTEL 386EX. Apply C language to realize an embedded TCP/IP protocol stack run on this board, which turns out to be a UDP server. Design a UDP client terminal with the CAsyncSocket Object of Visual C++6.0 to realize the communications between the NCEX test board and several computers through the Ethernet and UDP/IP protocols. The research and implement of USB communication technology: Design a USB test board with CY64613 from Cypress Company. Develop the embedded board software in Keil C51. Develop computer communications software in Visual C++ 6.0. So that the basic communications functions between the computer and USB test board will be achieved. Those functions include: message loop-back, send keepalive message, and communications velocity test, etc.Ethernet is the mostly used network, while TCP/IP is the mostly used communication protocol. The combination of the two technology applications in the modern intellectual test field can greatly integrate the field technology of measure and control system and the mainstream technology of computer internet. It also can largely accelerate the development of the fieldbus. The application of the two technologies can not only stop the attempt of overseas manufacturers' monopoly, but also share the profit of scaled economy, so as to lower enormously the cost forproducts development and system construction, and guarantee the continuable development of China's fieldbus technology. Carrying out the research of Ethernet fieldbus technology holds significant meanings in regard to the developing countries such as China. The final systematic joint test and representation of the two boards and their software have been completed. The research reached the expectant target.The research and development of Ethernet fieldbus is a national defends pre-research fund item. In the past, the data acquire device was usually connected to the computer by parallel interface or serial interface. Now with the result of this task research, we can change these interfaces to Ethernet interface or USB interface in order to accelerate the communication speed and strengthen analysissitus network. Thus the study achievement can be widely applied in the modern intellectual test and control field. It represents the total openness of Ethernet fieldbus, and reaches the goal of higher testing level, lower cost, and higher efficiency. This paper detailedly introduces the following contents: construction and function of hardware system, the drive mode of the Ethernet interface cmos chip, board imbedded software design, computer software design, debugging procedures of board hardware and software, system debugging result, and the suggestion for the later application of the achievement.My effort in this task covers several aspects as below:The design, test and debugging of Ethernet board hardware. The board consists of Intel386EX, RTL8019AS, AM29F040, and HM628512, etc.The design, test and debugging of Ethernet board software: impliment asimplified TCP/IP protocol in ANSI C language, making the board a UDP server. The protocols are composed of: ARP, ICMP, IP, UDP and self-defined application layer protocol. Debug the board with Microtek Xray. Finaly, transform the software into a firmware and finally solder it to Flash.The design, test and debugging of Ethernet board computer host programs: utilize Visual C++ 6.0 and CAsyncSocket object provided by MFC to realize client terminal. The computer program (Client) and the board (Server) are communication with UDP/P on ethernet to complete several functions like: searching softwareversion, looping back message, sending configured data, and receiving measurement result, etc.The design, test and debugging of USB board hardware: the hardware of the board is very si...
Keywords/Search Tags:Ethernet Fieldbus, Embedded TCP/IP Protocol, NCEX, Client/Server Model, CasyncSocket, MFC, Microtek Xray, Keil C51, Visual C++ 6.0, multi thread
PDF Full Text Request
Related items