FPGA Based Protocol Analyzer
- Author
- YingChengRong
- Advisor
- XuJun , YuanZhiJian
- School
- University of Electronic Science and Technology
- Major
- Software Engineering
- Classification
- TN915.04 Communication protocols, communication protocols
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 40
- Citations
- 0
Abstract
This project is mainly supposed to design a low cost,high-performance VirtualProtocol Analyzer. Protocol Analyzer is a logic analyzer with protocol analysis function.The system realizes systematization, automation and intelligentification of functionsfrom digital signal acquisition, transmission, all the way to protocol analysis. Virtuallogic analyzer fully uses PC’s software and hardware resources, this makes theinstrument’s versatility and scalability greatly enhanced. And powerful CPU eliminatethe constraints imposed by the computational bottleneck, greatly improved theperformance of the virtual logic analyzer. The system transferred a lot of work to hostPC, which greatly simplifies the hardware design, also reduced the hardware cost.A protocol analyzer can be divided into four part: signal acquisition, data storage,trigger conditions, the results show. Protocol analyzer process digital signal, use largecapacity memory to store data, data can be displayed after acquisition, or displayedduring acquisition. According to the design needs, the system mainly consists of threesubsystems: the upper computer system (Host PC, hereinafter referred to as UCS), theFPGA system(Lower Computer), and the USB communication system.The UCS is integrated with device management, data management, protocolanalysis, and other functions of the sort. Device management refers to devicemanagement, communication parameter settings and data exchange with the LCS. Datamanagement mainly refers to data recording and history data loading, and data display.Protocol analysis mainly refers to automatically analysis of commonlyused communication protocol such as UART, SPI, etc. The UCS is designed byobject-oriented programming language C++, and use C++Builder software asdevelopment environment to complete the preparation of the PC software.When the FPGA system acquires the command of acquisition data, it acquiresdigital signal on specific channel, and record in the external RAM. Then transferredthem to the host PC via the USB communication module. Also, the LCS acquires andexecutes other commands by the UCS.As a repeater, the USB communication module offers a high speed transparent data channel for the UCS and FPGA system. System uses USB2.0interface as data transferinterface, USB2.0speed up to480Mbps, makes the exchange of data very quickly. Atthe same time the system can plug and play, makes the instrument easy to use.
Table of contents
Summary 5-6
ABSTRACT 6-10
Chapter 1 Introduction 10-15
1.1 the background 10-11
1.2 dynamic abroad meaning 11-12
1.3 of this study 12-13
1.4 ideas and methods 13
technical indicators are expected to reach 1.5 13-15
software system design based on the second chapter of 15-27
2.1 object -oriented programming 15-16
2.2 C Builder introduces 16-17
2.3 FPGA development environment 17-25
2.3.1 FPGA introduction 17-21
2.3 .2 FPGA development language 21
2.3.3 FPGA development environment 21-25
2.4 USB2.0 communication 25-27
2.4.1 USB driver 26-27
Chapter III protocol analyzer and its key technology 27-31
3.1 protocol analyzer introduced 27
3.2 the key technical protocol analyzer 27-31
Chapter IV hardware system design 31-39
4.1 system Overview 31
4.2 FPGA system 31-37
4.2.1 FPGA configuration and clock circuitry 32-34
4.2.2 SDRAM memory 34-35
4.2.3 digital Signal enter 35-36
4.2.4 RS-232 communication interface 36-37
4.3 USB communication module design 37-39
Chapter software system design constitute 39-56
5.1 software system 39
5.2 PC software design 39-44
5.2.1 underlying process design 39-41
5.2.2 data processing 41-43
5.2.3 interface design 43-44
5.3 USB controller software design 44-47
5.4 FPGA software design 47-56
5.4.1 data acquisition and compression storage 47-48
5.4.2 data and read 48-51
5.4.3 USB Interface 51-52
5.4.4 hardware debugging and software testing 52-56
Article Conclusion chapters 56-57
Thanks 57-58
References 58-60
Appendix 60-67
Related dissertations
- The Design and Realization of ASI/SDI Transport Stream Player Based on FPGA
- Design and Implementation of ARINC429Interface Based USB
- Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
- Optical Fiber Perimeter Alarm System Based on DSP and FPGA
- Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
- Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
- Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
- Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
- Design and Implementation of Multi-point Tension Data Acquisition System Based on USB
- Research of Dual Chanel High Speed Data Acquisition Card
- Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
- The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
- Design of Remote Strain Measurement System Based on FGPA
- The Design of Digital Ultrasonic Nondestructive Testing System
- Design and Implementation of High Speed Data Recorder Based on FPGA
- Design of the High-speed Data Acquisition System Based on USB Interface
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
- The Design and Research of PCI Data Acquisition Card Based on FPGA
- Usb Without Invasive Data Collection Technology Research