Based on the PCI bus implementations HDLC protocol communication system design and implementation

Author
ZengFuQian
Advisor
ChePeiXuan , LiuAiPing
School
University of Electronic Science and Technology
Major
Control Theory and Control Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2002
Downloads
384
Citations
7

Request the full text

Abstract

Thesis research topic is the tenth Ministry of Information Industry Institute pre-research project \Its main purpose is to complete the system with the PCI bus interface, four-channel HDLC data transmission. In the article we describe a system design point of some of the relevant norms PCI bus, PCI bus works; describes the current PCI bus with more than protocol chip S5933, describe it and the PCI bus interface mechanism, focusing on interpretation the development of close ties with the topic S5933 burst (Pass-thru) transmission mode, which is more typical way of working S5933. PCI, PCI bus configuration mechanism works is to understand the key elements of the thesis in the configuration on the S5933, the external equipment storage area mapped to the system's storage space and I / O space, and how to determine the size of the mapping space made more description; clarify this part, is conducive to the hardware device driver writing. In hardware design, we mainly describe the system with the PCI bus, with HDLC chip, dual-port RAM buffer interface implementation process; elaborated system control circuit design. In the design of the logic control circuit, the use of EDA tools is Altera's MAX plus Ⅱ, description language using Verilog HDL, it describes aspects of the gate-level switch circuit more powerful. In the design of system logic circuits, logic circuits, and we use language to describe the way to describe the combination of control function module, the module functional simulation and timing simulation, as well as all the integrated simulation module control circuit. In software design, VC 6.0, DriverStudio, DDK, Windows NT4.0 driver component of the system development environment. In NT4.0 environment, users can not directly access the hardware resources of the system, but must be referred to the kernel-level driver to accomplish this, and direct access to the DOS environment differently. In this section, we analyze the architecture of the driver, it tells the story of the relationship between the application and the application how the driver calls. Currently, the project has been completed based on the PCI bus of the HDLC protocol four serial communication card design, debug serial channel all the way out, successfully developed a hardware device driver, the driver installation program setup.exe, driver interface calls Dynamic Link Library (DLL). The successful development of the project can be used for \

Table of contents

Chapter Introduction 10-15 1.1 computer bus 10-11 1.2 HDLC Protocol Introduction 11-14 1. 2.1 . HDLC frame structure 12-13 1.2.2. HDLC transmission characteristics 13-14 1.3 Project Development Status 14-15 second chapter describes the PCI bus and protocol chip 15-33 2.1 PCI bus characteristics 15 2.2 PCI bus architecture and signal distribution 15-17 2.3 PCI bus protocol mechanisms 17-18 2.3.1. Overview 17-18 2.3.2. PCI address space 18 2.4 typical PCI bus transfer operations 18-22 2.4.1. Primary PCI bus transfer operations 19-21 2.4.2. Device identification and recognition decoding method 21-22 2.5 PCI bus configuration mechanism 22-29 2.5.1. PCI configuration space 22-23 2.5.2. Configuration space functional description 23-29 2.6 PCI configuration cycles 29-30 2.7 PCI protocol chip Overview 30-33 <br / > 2.7.1 . S5933 protocol chip 30-31 2.7.2. S5933 features 31 2.7.3. S5933 's internal structure diagram 31 2.7.4. Pass_thru operation 31-32 2.7.5. NV memory interface 32 2.7.6. ADD_ON external interface signals 32 2.7.7. Register access control signal 32-33 Chapter four channel HDLC serial communications PCI card hardware design 33-45 3.1 overall design 33 -34 3.2 interface design 34-41 3.2.1. PCI and PCI bus protocol chip connection 34-35 3.2.2. Protocol chip configuration circuit design 35-36 3.2.3. S5933 plus interface design 36-37 3.2.4. Dual-port RAM interface with the S5933 plus 37-38 3.2.5. Latched , the drive , isolate the control circuit design 38-39 3.2.6. HD64570 interface design 39-41 3.2.6.1. HD64570 chip Features 39-40 3.2.6.2. HD64570 right port and dual -port RAM interface design 40 3.2.6.3. HD64570MSCI with RS-232 interface design 40-41 3.2.6.4. EPF10K10A FPGA configuration circuit design 41 3.3 logic control circuit design 41-45 3.3.1. S5933 Control Module 42 3.3.2. Dual-port RAM control signal logic design 42-43 3.3.3. Serial adapter logic control circuit design 43-45 Chapter circuit communication software design 45-62 4.1 driver development 45 - 57 4.1.1. PCI driver related resources 46-47 4.1.2. In the development environment, the driver code distribution 47 4.1.3. Hardware driver module 47-57 4.2 driver calls 57-62 Chapter V system hardware , software debugging 62-76 5.1 S5933 configuration download , FPGA 's JTAG loading 62-63 5.1.1. S5933 configuration 62 5.1.2. FPGA JTAG download 62-63 5.2 system control circuit simulation and debugging 63-69 5.2.1. Chip Select decoding circuit simulation, debugging 64 5.2.2. Pulse waveform generating circuit simulation, debugging 64 5.2.3. S5933 plus interface simulation, debugging 64-65 5.2.4. Dual-port RAM left port control circuit simulation , debugging 65-66 5.2.5. S5933 with dual-port RAM interface control circuit simulation, debugging 66-67 5.2.6. S5933 with HD64570 interface control circuit simulation, debugging 67-69 5.3 software debugging 69-72 5.3.1. Debugging preparations before 69 5.3.2. Specific debugging process 69-72 5.4 system joint commissioning 72-76 5.4.1. Dual-port RAM word transfer 72-75 5.4.2. Dual-port RAM burst transmission 75-76 Chapter VI Conclusion 76-77 References 77-79 Thanks 79

Related dissertations

  1. The Design and Research of PCI Data Acquisition Card Based on FPGA
  2. The Rearch of MIC Bus Controller Based on FPGA
  3. Research and Realization of FPGA-Based Serial Bus
  4. Development of multi-functional special interface board
  5. Design of Environment Monitoring System for Power Supply in Mobile Communication Base Station of Hunan Telecom
    XuZuoFang ·Hunan University ·2013 ·Master's thesis
  6. Optical Fiber Perimeter Alarm System Based on DSP and FPGA
  7. Design and Implementation of the Engineering Machinery Color Monitor System Based on FPGA+MCU
    LiuWen ·Xiangtan University ·2013 ·Master's thesis
  8. Digital Electrical Impedance Tomography Hardware System Design Based on FPGA
  9. Study on Magnetic Flux Leakage Testing System of Rail Based on FPGA
  10. Digital Cross Section Data Acquisition System Based on Industrial Standard System Bus
    ZhangZhiQiang ·Tianjin University ·2009 ·Master's thesis
  11. Research of Dual Chanel High Speed Data Acquisition Card
    DanGuangXing ·Harbin Institute of Technology ·2012 ·Master's thesis
  12. Design and Implementation of FPGA-Based Six-Channel Non-Crosstalk Sonar System
    ZuoJiaLin ·Tianjin University ·2012 ·Master's thesis
  13. The Realization of Quality Detection System of Cataplasm Coating Based on FPGA
    LiuRongPeng ·Tianjin University ·2012 ·Master's thesis
  14. Design of Remote Strain Measurement System Based on FGPA
    LiuNanNan ·Harbin Engineering University ·2013 ·Master's thesis
  15. The Design of Digital Ultrasonic Nondestructive Testing System
  16. Design and Implementation of High Speed Data Recorder Based on FPGA
  17. Design of the High-speed Data Acquisition System Based on USB Interface
    LiuYu ·Harbin Engineering University ·2013 ·Master's thesis
  18. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  19. Design and Application of Linear Array Image Acquisition System Based on Compressed Sensing
    XieJiaZu ·Tianjin Normal University ·2013 ·Master's thesis
  20. Usb Without Invasive Data Collection Technology Research