Study of the I/O Device Driver Model and Framework Based Embedded System

Author
DengBinWei
Advisor
ZhuShaoWen
School
Central China Normal University
Major
Circuits and Systems
Classification
TP316 Operating system
Degree
Master's thesis
Year
2005
Downloads
343
Citations
5

Request the full text

Abstract

Embedded System applies to industry control、 multimedia、 communication and so on widely. I/O Device Driver-one of Embedded Operating System structure, plays a pivotal role in the application area of Embedded Operating System. As a rule, two methods are used for doing I/O device driver. One is process structure system; another is single system. On I/O device driver structure of Embedded Operating System, Implementing I/O device driver has another two approaches-kernel-level I/O Technology and user-level I/O Technology. I/O device driver is one of Operating System and lie in priority level in kernel-level I/O Technology. Kernel-level Technology supports device driver program remove embedded operating system kernel; Devices are directly controlled, written, red and device buffers are managed on user-level; because it is simple to be implemented in micro-kernel operating system, user-level I/O gets increasingly important for embedded applications.Embedded operating system implements software called device drivers, whose purpose is to manage, or drive, hardware devices. A device driver links an operating system and a device, making it possible for the operating system to recognize the device and to present the device’s services to applications. It is difficult to obtain easily-implement and real-time at one time by means of single method in implementing I/O device driver.To resolve the problem, this thesis discusses user-level I/O Technology of process structure combining with layered structure model. Layered device drivers split the code into an upper layer called application layer and a lower layer called hardware device driver layer. It is legible and easily-implement for I/O devicedriver structure; it is convenient for Debug and concealing hardware driver detail. To support user-level I/O of process structure for embedded system, signal mechanism is adopted. To ensure real-time demand, this thesis discusses signal mechanism combining with external interrupt to implement user-level I/O. According to real-time demand, user selects some way. To achieve Interrupt response procedure in times, special I/O device cache is used in signal mechanism. User-level I/O Technology of process structure combining with layered structure model needs bigger internal RAM and ROM. But, with the development of MCU performance and price fall increasingly, RAM and ROM influence gets more and more unimportant for the implementation of user-level I/O Technology of process structure combining with layered structure model.The implementation of stream device management with USB device in Sx3000 real-time embedded operating system adopts user-level I/O Technology of process structure combining with layered structure model.

Table of contents

Summary 4-5 ABSTRACT 5-11 first chapter 11-31 § 1.1 Embedded Systems Overview -19 1.1.1 embedded system architecture 11-12 the 1.1.2 embedded systems hardware and software or 12-15 1.1.3 cross-platform development 15 1.1.4 Real-time embedded systems 15-16 1.1.5 Embedded System Features 16-17 1.1.6 embedded system widely used nbsp 17-19 1.1.7 embedded systems trends; 19 § 1.2 embedded software and embedded operating system 19 - 23 1.2.1 embedded operating system's basic components 20th the 1.2.2 embedded operating system model 20-21 1.2.3 embedded operating the characteristics of the system; nbsp 21-22 1.2.4 embedded operating system development status 22 1.2.5 embedded software and embedded operating system trends 22 -23 § 1.3 embedded system I / O driver 23-29 the 1.3.1 embedded system I / O driver structure 23-24 1.3. embedded system I / O driver characteristics 24-25 1.3.3 embedded system I / O-driven method 25-26 1.3.4 embedded system I / O driver development status and trends 26-27 1.3.5 process structure outside the core I / O technology and the hierarchical structure of the combined I / O driver mode 27-29 < br /> § 1.4 Background and papers arrangement 29-31 1.4.1 Background 29 1.4.2 papers arrangement 29-31 first two chapters embedded processor 31-42 § 2.1 embedded processor the classification status quo 31-34 § 2.2 part of the embedded processor architecture and performance About 34-40 2.2.1 8051 34-36 2.2.2 ARM 36-37 2.2.3 MIPS 37 2.2.4 PowerPC 37-38 2.2.5 S1C33L11 microprocessor 38 2.2.6 DSP (digital signal processor) 38-39 2.2.7 Intel x86 39-40 the § 2.3 embedded processor embedded system performance and I / O drivers 40-42 first chapters embedded operating system 42-61 § 3.1 embedded operating system overview to 42-43 § 3.2 part of the embedded operating system architecture 43 - 61 3.2.1 uC / OS 43-44 3.2.2 RTX51 44-45 3.2.3 eCos 45-46 3.2.4 QNX 46 3.2.5 pSOS 46-48 3.2.6 uCLinux 48-49 3.2.7 Windows CE 49-52 3.2.8 VxWorks in 3.2.9 Sangxia 52-58 3000 embedded operating system 58-61 Chapter embedded systems I / O driver 61-77 § 4.1 Embedded Systems I / O driver Overview the 61-62 4.1.1 device driver functionality 62 4.1.2 device driver composition 62 § 4.2 part of the operating system I / O driver describes 62-72 4.2.1 UNIX system device drivers under 62-64 4.2.2 Linux system device drivers 64-67 4.2.3 VxWorks system device drivers 67 - 71 4.2.4 Windows CE system device driver 71-72 4.2.5 Summary 72 § 4.3 embedded system I / O-driven method 72-74 § the 4.4 process structure outside the core I / O technology and hierarchical combination of I / O drive mode 74-77 Chapter embedded commonly used system peripherals and protocols 77-88 § 5.1 serial interface technologies, standards and protocols 77-80 5.1.1 serial communication interface standard 77-78 5.1.2 Modbus protocol the 78-80 § 5.2, I ~~ 2C 80-81 § 5.3 the SPI 81-82 < br /> § 5.4 USB the lower protocol 82-83 5.4.1 USB the 5.4.2 USB descriptor 82-83 83 § 5.5 the IrDA 83-87 5.5.1 infrared protocol structure 84-86 5.5.2 infrared protocol data transmission principle 86-87 <br / > § 5.6 Summary 87-88 Chapter embedded system flow equipment management to achieve 88-105 § 6.1 USB Device in the realization of embedded systems in two-way communication 88-93 6.1.1 embedded operating system USB two-way communication system as a whole hierarchy 88-89 6.1.2 USB bi-directional communication design and realization 89-93 on § 6.2 with USB streaming device management 93-105 6.2.1 with USB streaming device management to achieve Overview 94-96 6.2.2 with USB streaming device management to achieve specific 96-105 Chapter VII of the knot after language 105-113 § 7.1 on uC/OS- Ⅱ transplant in S1C33L11 105-109 7.1.1 S1C33L11, internal registers and interrupt vector table 105-107 document 7.1.2 OS_CPU.H,, 107 7.1. the document 3 OS_CPU_C.C 107-108 7.1.4 OS_CPU_A.ASM file 108-109 § 7.2 embedded systems software testing About 109-110 < br /> § 7.3 with USB streaming device management, test 110-112 § 7.4, the next step of the work arrangements 112-113 graduate student papers 113 -115 Reference 115-120 Acknowledgements 120-121

Related dissertations

  1. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  2. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  3. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  4. Video Surveillance System Based on Embedded Technology Research
  5. Design of Video Monitoring System Based on the Embedded
  6. The Design of Embedded Network Video Surveillance System Based on ARM9
  7. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  8. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  9. Data Acquisition System of Cavern Based on Embedded Web Server
  10. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  11. Research on the Indoor Air Monitoring System Based on Embedded Linux
  12. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  13. Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
  14. Research on Meteorological Data Acquisition and Processing System
    ZhaoSheng ·Wuhan University of Technology ·2013 ·Master's thesis
  15. The Research of the Design and Application for Embedded Remote Terminal Unit
    XiaRui ·Northeastern University ·2013 ·Master's thesis
  16. Design and Implementation of Magnetic Card Detection System Based on Embedded System
  17. Design of distributed control system based on embedded platform
    JieZhouKai ·Xi'an Optics and Fine Mechanics ·2010 ·Master's thesis
  18. Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
    LiShun ·Northeastern University ·2012 ·Master's thesis
  19. Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
  20. Design of Dynamic Pressure Controller Based on μC/OS-Ⅱ