Font Size: a A A

The Design And Implementation Of EZ-USB Device Driver On Linux System

Posted on:2008-10-11Degree:MasterType:Thesis
Country:ChinaCandidate:K LiuFull Text:PDF
GTID:2178360242971407Subject:Computer software and theory
Abstract/Summary:PDF Full Text Request
Linux system is an outstanding open-source operating system, and it takes up a high positon in contemporary development of embedded products because of the open-source and transportation.As a new-type computer bus, Universal Serial Bus (USB) has already become a part of peripheral equipment of PC. Cypress's EZ-USB FX2 is the world's first USB 2.0 integrated microcontroller. By integrating the USB 2.0 transceiver, SIE, enhanced 8051 microcontroller, and a programmable peripheral interface in a single chip, Cypress has created a very costeffective solution that provides superior time-to-market advantages. The Cypress Smart SIE handles most of the USB1.1 and USB2.0 protocols in hardware, thus it decreases development time and ensures USB's compatibility.Because Cypress corporation don't provide the EZ-USB FX2 device driver on linux system, so our subject is that we need to design and implement the EZ-USB FX2 device driver on linux system, and provide a identical firmware download interface for a application named Medical Image Conllecting System which had been built on windows system. Firstly, this thesis analyse the architecture of EZ-USB FX2 device and the driver program model of linux 2.6 kernel, then give a blue print of EZ-USB FX2 device driver and identical interface, and take it into implementation.These design and implementation of my subject involve three aspects included Linux device driver, firmware download and indentical interface. In implementation of Linux device driver, I take the linux kernel source which's version is 2.6.20 to surpport the development of device driver as source tree. 2.6.20 version kernel is not only a stable version but also provide some new traits for developers to upgrade efficiency. The firmware download utility which invokes the device driver to finish the firmware download task is built in user space, this design not only minimize the cost of kernel resource but also the difficulty of debugging. The interface of firmware download is identical to the interface of Medical Image Conllecting System built on windowns, moreover, the function named DeviceIoControl which is in charge of communication between host and device, and these works is a base of transportation of whole application.In the design of Linux device driver and interface, i have used Unified Modeling Language (UML), obeying basic software engineering rules. Finally, some difficulties and insufficiency are considered, and prospect the Linux devicer driver program model and USB On-The-Go (OTG).
Keywords/Search Tags:Linux, EZ-USB FX2, Device Driver, Indentical Interface
PDF Full Text Request
Related items