Study and Realization of Embeded USB to CAN Bridge

Author
JiangXiaoHui
Advisor
ChenXinHua
School
Shandong University of Science and Technology
Major
Computer Applications
Classification
TP273 Automatic control,automatic control system
Degree
Master's thesis
Year
2006
Downloads
243
Citations
1

Request the full text

Abstract

USB has become universal peripheral interface of computer and embedded system. As a mature field-bus, CAN has been applied in many controller network. This paper gives a feasible realization of the bridge transmitting data between the two bus efficiently and transparently.PDIUSBD12 is chosen as USB interface chip which support USB protocol version 1.1, line-speed up to 12Mbps. SJA1000 is chosen as CAN bus interface chip, line speed up to 1Mbps. As microprocessor, P89V51RD2 integrated enhanced 8051 core, 64k FLASH and 1K SRAM on chip.To reduce transmitting delay, the system software is based on the embedded real-time operating system Small RTOS51, taking full advantage of interrupting process system of microprocessor and multi-task and semaphore technology of RTOS.Linux operating system has become universal platform in computer system and embedded system, which can run on many kinds of microprocessor hardware, also provided full support of USB device and plug and play technology. So, Linux is a best choice as USB host OS to realize USB device driver.The main innovation of this paper is:(1) Carried out a kind of low cost hardware realization under the premise of assurance data processing performance.(2) Provided an inter-task communication model based on multitask embedded RTOS. Making use of the same model, data transmitting between other two kinds of communication protocol also can be realized.(3) Provided practical method and technique of development and debugging USB device driver in latest version linux kernel 2.6 and carried out USB device driver module.

Table of contents

1 Introduction 10-19 1.1 USB development status 1.2 Controller Area Network (CAN) 10-12 Overview 12-15 1.3 an overview of the embedded real-time operating system (RTOS) 15-18 1.4 thesis research 18-19 real-time embedded systems software development Overview 19 - 33 2.1 real-time system defined 19-20 2.2 Overview of real-time embedded systems software design 20-25 2.3 embedded real-time operating system μCOS-II Overview 25-28 2.4 embedded real-time operating system the Small RTOS51 Overview 28-33 3 system hardware design 33-40 3.1 interface chip and microprocessors select 33 3.2 microprocessor introduced the 33-34 3.3 USB interface circuit 34-38 3.4 CAN bus interface circuit 38-40 system software design the 40-46 4.1 development tools choose 40-41 4.2 real-time operating system to select 41 4.3 system task decomposition and programming of 41-46 the linux system driver design 46-69 5.1 linux kernel device driver module programming introduced 47-52 linux under 5.2 USB subsystem introduced and drive achieve points 52-60 5.3 linux2.6 the kernel Device Plug and Play realize 60-67 < br /> 5.4 usbmonitor use the 67-69 6 summarizes the 69-71 6.1 Conclusion the 69-70 6.2 and outlook 70-71 Acknowledgements 71-72 pursue master during the experience and achievements to References 72-74 74-77 < br / > Appendix 1 linux USB device driver source code 77-87 detailed summary 87-97

Related dissertations

  1. Embedded Linux-based USB Encryption Driver Design
  2. Development of Human-Computer Interaction for Control System of Grating Homochromatic Instrument
    XingYan ·Jilin University ·2012 ·Master's thesis
  3. Software Design of Digital TV Receiver Based on USB2.0Technology
    WangJingHui ·Zhejiang University of Technology ·2012 ·Master's thesis
  4. Epon Network System OLT Lord Card System Design
    LiJun ·Wuhan University of Technology ·2012 ·Master's thesis
  5. Design and Research of CAN-USB Host-Slave Communication Adapter
    FuXianHao ·Dalian University of Technology ·2012 ·Master's thesis
  6. Study and Design of Data Communication and the Host of Telemetry and Command System Basing on GSM Network
    LiMingLi ·Hebei University of Technology ·2007 ·Master's thesis
  7. The Design of USB Host/Slave Interface in Embedded Systems Based on ARM
  8. Design and Realization of Computer Embroidery Machine Monitoring System Based on ARM
    ZhangWeiYe ·Zhejiang University of Technology ·2007 ·Master's thesis
  9. Microassembly Robot Vision System Research Base on Image Transmission and Recognition
    ChenRen ·Shanghai Jiaotong University ·2008 ·Master's thesis
  10. Research of Locomotive Intelligent Display Unit Base on Windows CE
    PengShaoWu ·Beijing Jiaotong University ·2008 ·Master's thesis
  11. Analysis and Improvement of Driving Program of Embedded Linux
  12. High-performance data acquisition system based on USB and FPGA design and implementation of technology
  13. The Design of 12000Nm~3 Flue Gas Discharge Desulfuration/denitration Monitoring System
    LiHong ·Beijing Jiaotong University ·2007 ·Master's thesis
  14. The Vehicle Malfunction Diagnosis Analytical System Based on LabVIEW
    LuoZuo ·Wuhan University of Technology ·2007 ·Master's thesis
  15. USB protocol multi-application smart card
  16. Research on USB Protocol and USB Interface Drivers
  17. Design of Distributed Monitoring Vibration Network System On-line and Its Communication Interface
    SunShuangHua ·Tianjin University ·2004 ·Master's thesis
  18. USB Interface Technology and Application Study
  19. The Transplantation and Application of μC/OS-Ⅱ on HCU of Vohicle
    WangJingGang ·Jilin University ·2004 ·Master's thesis
  20. The Research and Development of Combat Vehicle Oriented Real-Time Operating System
    YangWei ·Hohai University ·2004 ·Master's thesis