Research of GPRS CF Card’s Driver and Implementation in Linux
- Author
- TianSiLei
- Advisor
- LiZhiHuai
- School
- Dalian Maritime University
- Major
- Applied Computer Technology
- Classification
- TP316.81
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 385
- Citations
- 1
Abstract
With the emergence of new technologies , computer and more profound understanding . Computing is getting into the apparatus, the computer system from a variety of physical appearance becomes invisible . The large field of aerospace , into the hands of the PDA are transplanted into a computer system , it is such a system, called embedded systems . Embedded Linux system not only inherited the traditional Linux many advantages , such as ease of development , efficient , powerful , stable , easy to expand , royalty-free , open-source , but also the the embedded transformation of a lot of the original system , so that it better able to adapt to the needs of the embedded application . Various characteristics of embedded devices have limited its device driver must be customized and embedded operating systems and applications completely bound together to form an indivisible whole , so different embedded product development must be designed own device drivers, embedded operating systems provide drivers for example , but the actual operation of the driver must be for specific hardware resource allocation and certain characteristics of the modified or even re-design . This paper focuses on the design and development of the Linux device drivers to do in-depth research and practice . After analyzing the characteristics of the GPRS CF card , this driver layered consider , on the basis of the terminal layer , serial layer , according to their needs on the basis of the serial device driver layer insert a new layer of abstraction driver layer GPRS layer , and for the CF interface , the development of its driver . To solve the competition that may be encountered in the driver development and design , deadlock and bounded buffer problem . At the same time , the project is based on embedded Linux as a means of communication through GPRS driver development , in line with CF interface specification for data processing . GPRS services in Linux implementation is an important part of this paper .
Table of contents
Chapter 1 Introduction 9-14
1.1 research background 9
1.2 Thesis structure, content 9-10
1.3 development tools and environment projects 10-14
1.3.1 Development Tools 10-11
1.3.2 build cross-compiler development environment 11-14
embed Chapter 2 type Linux Introduction 14-20
2.1 Embedded System Overview 14-16
2.1.1 What is an embedded system 14-15
2.1 .2 embedded system applications 15-16
2.2 Linux-based PDA advantage of its development status 16-18
2.2.1 Linux-based PDA advantage 16-18
2.2.2 Linux-based PDA development status 18
2.3 Linux boot loader and initialization analysis 18
2.4 drivers and hardware and embedded Linux system relationship 18-20
Chapter 3 Overview of Linux device drivers 20-37
3.1 Linux kernel analysis system environment, programming and 20-25
3.1.1 process mechanism and management 21-22
3.1.2 memory management mechanism 22
3.1.3 file system and device drivers 22-25
3.2 Linux Device Driver features 25-26
3.3 Linux Device Driver structure: 26-28
3.4 Linux device driver design 28-37
3.4.1 Linux device drivers classification 28-29
3.4.2 can be installed module mechanism 29 -31
3.4.3 kernel space and user space data exchange 31-32
3.4.4 kernel concurrent 32-33
3.4.5 I / O ports 33-34
3.4.6 memory operations 34
3.4.7 write and run module 34-37
Chapter 4 Linux device driver interrupt handling and port 37-44
4.1 interrupt handling 37-40
4.1.1 application and release interrupt: 37-38 <br / > 4.1.2 fast / slow interrupt handling 38
4.1.3 implement interrupt handler 38-39
4.1.4 drivers for the bottom half of the design 39-40
4.2 with the flow of time-related issues 40-44
4.2.1 Clock application and release 40-41
4.2.2 implementation delays 41
4.2.3 Task Queue 41-44
Chapter 5 GPRS CF card driver realize 44-64
5.1 GPRS CF Card Introduction 44-46
5.2 CF interface specification describes 46-49
5.3 GPRS CF card driver design analysis 49-50
5.4 terminal layer design 50-54
5.4.1 terminal device file interface basic structure: 50-52
5.4.2 Data transmission 52-53 <br / > 5.4.3 Non-canonical mode 53
5.4.4 termios structure 53-54
5.5 using the ioctl system call to the terminal control: 54-55 < br /> 5.6 serial driver layer design application 55-59
5.6.1 UART settings 55-57
5.6.2 buffer design 57
5.6.3 serial driver interrupt service function 57-59
5.6.4 FIFO problem 59
5.7 GPRS CF card driver sub-module analysis 59-62
5.8 dealing with competition and deadlock problems 62-64
Chapter 6 GPRS services in Linux to achieve 64-68
6.1 GPRS Profile 64-65
6.2 GPRS services in Linux Principle analysis 65
6.3 GPRS mobile station and the Linux system to connect 65-66
6.4 in Linux using PPP protocol for GPRS connection 66
6.5 for GPRS services using the PPPD achieve 66-68
Chapter 7 Conclusion 68-69
pursue a degree papers published during 69-70
Thanks 70-71
References 71-73
graduate resume 73
Related dissertations
- The Research and Design of Embedded Linux Based on ST-E9500
- Research of Embedded Linux Device Drivers Concurrency Control
- The Research on Wireless Video Transmission System Based on ARM9
- Research and Implementation of Motion Detection and Tracking in Intelligent Surveillance System
- Study of Vehicle Monitoring Terminal Based on Embedded Linux
- Design of Radio Frequence Module Driver Based on S3C2440+Linux Platform
- Design and Implementation of Hydrological Information Telemetry System Based on GSM
- The Intelligence Monitoring System of Heat-Exchanging Station Design and Implementation
- Remote Monitor System for Oil Wells Working Condition Based on GPRS
- Design of City Streetlight Monitoring and Control System Based on Cortex-M3
- The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
- Automation Measuring System for Water Supply Based on GPRS
- Design and Implementation of GPS-based Logistical Vehicle Monitoring System
- Design of the Monitoring and Management System in Urban Lighting Based on.NET/GPRS/GIS
- Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- Design of Greenhouse Environment Remote Control System Based on MMS
- The Design of Pressure Station Constant Pressure Water Supply Device Remote Unmanned Monitoring System
- Based on GSM/GPRS GPS Monitoring System Design for Construction Machinery
- Research and Design of Remote Monitoring System Based on ARM