| IP (intellectual property) Reuse methodologies for system integration are essential to achieve the engineering quality of today's large, complex IC (integrated circuit). Now IC chips with PCMCIA (Personal Computer Memory Card International Association) standard interface IP core are used widely in some embedded environment such as PDA, digital camera and set-top box. IP core application in embedded system includes hardware design and software development.The main content of this dissertation expounds the design and development of AHB (Advanced High-performance Bus)-PCMCIA bridge IP core driver in Linux OS (operation system) based on ARM processor. The development purpose of this driver is to help complete IP core function verification and ensure a stable work in Linux OS.This dissertation first analyses the characters and common attributes of Linux device driver, then puts forwards an implement plan for the IP core's driver after briefly introducing the hardware architecture and relative protocols of the AHB-PCMCIA IP core. The driver development is divided into two parts. One is the char device driver used to test IP core basis function, and the other is the common device driver for application of IP core.The char device driver development section depicts the driver design details, including hardware interface module, initialization module and driver entrance module etc. In this section the realization of driver I/O control interface is the key.The common device driver development section first analyses the PCMCIA subsystem software composition and working methods in Linux OS. Then the thesis gives a full discription of the driver three aspects work: hardware abstraction level establishment, interruption event processing and initialization process.The development of driver is composed of two parts, which looks somewhat complex, and however, it is extremely necessary and practical approach when the equipment has not been proved to be entirely correct. The main purpose of the dissertation is concluding a high efficiency and low cost development way based on a practical project development, at the same time providing valuable experiences for the future.In addition, this dissertation depicts the IP core driver test process, including building test environment, test steps and test result analysis. |