AHB-CardBus bridge IP core design and implementation of driver
- Author
- KongWeiQiang
- Advisor
- LiGuangJun
- School
- University of Electronic Science and Technology
- Major
- Information and Communication Engineering
- Classification
- TP311.11 Programming method
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 93
- Citations
- 0
Abstract
AHB bus is currently widely used as a chip bus , developed by ARM . PCMCIA CardBus is a new generation of high-performance 32-bit bus master interface, which is a class PCI bus , but with 16bit PC card interface of a unified physical specifications of the digital set-top boxes and other electronic products are widely used. Self-developed AHB-CardBus bridge IP core can be well combined with the ARM microprocessor , accelerate product design . Linux because of its excellent features, including kernel efficient and stable , broad hardware support, open source , and improve network communication and file management mechanism, excellent development tools , embedded operating system is currently the focus of research and development in the communication system , consumer electronics, semiconductor SOC and other fields to develop applications CKS gangbusters . The main content of this paper is to elaborate on embedded Linux and ARM processor environment , AHB-CardBus bridge IP core driver design and implementation. Paper first introduces the AHB bus and CardBus bus development and research status , and then analyzes the Linux device driver development general approach , focusing on the interrupt handling mechanism, and then from the analysis of self-developed AHB-CardBus bridge IP core features and Linux the PC card to start working mechanism , we propose a IP core for the driver design, and elaborates the realization of the control module design and CardBus encapsulation layer , and then introduced CardBus card driver transplant , papers last, AHB-CardBus bridge FPGA IP core tests are described in detail . As AHB-CardBus bridge IP core in the system plays the role of the main control of the bridge , which determines its driver not only to complete the configuration of the bridge itself , but also the side of the device must respond effectively to the driver's request . Analysis and design process is described in this paper a focus on content arrangement follows the design process. According to the authors work , papers from three aspects described in detail : the overall architecture design driver , the driver control module implementation and CardBus encapsulation layer design. This thesis is based on an actual project development for independent research and development AHB-CardBus bridge IP core drivers designed compact, flexible and practical . Project results indicate that the IP core can be stabilized in the SOC system to work efficiently .
Table of contents
Abstract 4-5
ABSTRACT 5-13
Chapter Introduction 13-20
1.1 AHB development and research status 13-16
1.2 CARDBUS development and research status 16-17
1.3 project tasks, and this major work 17-20
1.3.1 topics task 17-18
1.3.2 This major work 18-20
Chapter LINUX Device Drivers Overview 20-27
2.1 LINUX device driver development Features 20-21
2.2 LINUX device driver structure 21-23
2.3 LINUX device driver interrupt handling mechanism 23-26
2.3. an interrupt register 23-24
2.3.2 bottom half mechanism 24-26
2.4 Summary 26-27
Chapter IP Nuclear drivers overall architecture design 27-41
3.1 AHB-CARDBUS bridge IP core overall design 27-31
3.1.1 AHB-CardBus bridge IP core design process 27-28
3.1.2 AHB-CardBus bridge IP core features 28-31
3.2 CARDBUS PC card programming specification 31-32
3.3 LINUX CARDBUS PC card works in the analysis of 32-37
3.3.1 Linux in Pcmcia / CardBus software architecture 32-33
3.3.2 Socket Service 33-34
3.3.3 Card Service 34-36
3.3.4 Pcmcia / CardBus card workflow 36-37
3.4 IP core Drivers overall framework established 37-40
3.4.1 Optional Comparison of two schemes 37-38
3.4.2 a few problems that need attention 38-39
3.4.3 new architecture features 39-40
3.5 Summary 40-41
Chapter IP core driver control module realization 41-53
4.1 IP core registers are accessed 41
4.2 IP check CARDBUS card configuration space access 41-44
4.3 IP Nuclear initialization 44-48
4.4 IP core interrupt handling 48-50
4.5 IP core I / O control interface 50-52 <br / > 4.6 Summary 52-53
Chapter IP core driver CARDBUS encapsulation layer design 53-65
5.1 CARDBUS PC Card organizational structure 53 - 58
5.2 LINUX kernel PCI layer analysis 58-60
5.3 CARDBUS encapsulation layer design 60-61
5.4 CARDBUS encapsulation layer implementation 61-64
5.4.1 Description of several important data structures 61-62
5.4.2 CardBus card registered importers 62-64
5.4.3 CardBus card configuration entrance 64
5.5 Summary 64-65
Chapter CARDBUS NIC driver porting 65-69
6.1 CARDBUS PC Card Select 65
6.2 CARDBUS NIC driver porting 65-68
6.2.1 Linux kernel PCI device driver features 65-66
6.2.2 transplantation point 66-67
6.2.3 network device driver key points 67-68
6.3 Summary 68-69
Chapter VII of the IP core driver functionality verification and test 69-78
7.1 embedded SOC test platform to introduce 69-71
7.1.1 SoC hardware platform 69-70
7.1.2 cross compiler software platform 70-71
7.1.2.1 Bootloader transplant 70-71
7.1.2.2 software platform Test Method 71
7.2 FPGA hardware and software co-verification 71-75
7.3 web service testing 75-77
7.4 Summary 77 -78
Chapter VIII Conclusions 78-79
Thanks 79-80
References 80-82
during the school research 82-83
Related dissertations
- Design and Implement of the Embedded Monitoring Terminal Based on
- Detection System for Drippjng Irrigation Pipe Holes Based on Comjduter Vision
- Cardbus-AHB bridge IP core design and implementation
- FPGA-based PCI data acquisition card research and development
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Study on Embedded Data Acquisition System Application
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Based on the Samsung2440Embedded Home Furnishing Design and Implementation of Intelligent Control System
- Design of Industrial Ethernet Motion Controller Based on ARM
- Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
- The software design of intelligent control Home Furnishing gateway based on ARM11
- The System Design and Implementation of Smart Home Control Terminal Based on Linux