天堂国产午夜亚洲专区-少妇人妻综合久久蜜臀-国产成人户外露出视频在线-国产91传媒一区二区三区

嵌入式系統(tǒng)USB Gadget驅(qū)動(dòng)研究與實(shí)現(xiàn)

發(fā)布時(shí)間:2018-11-10 14:02
【摘要】:Linux以其開(kāi)源、易于移植和便于裁剪性,越來(lái)越多地被應(yīng)用于嵌入式系統(tǒng)。Linux內(nèi)核支持2種主要類(lèi)型的USB驅(qū)動(dòng)程序:主機(jī)側(cè)和設(shè)備側(cè)驅(qū)動(dòng)程序。主機(jī)側(cè)USB驅(qū)動(dòng)程序控制與其連接的USB設(shè)備從而使用設(shè)備的功能;設(shè)備側(cè)USB驅(qū)動(dòng)程序(USB GadgetDriver)控制設(shè)備如何與主機(jī)通信從而使其對(duì)主機(jī)表現(xiàn)出特定的功能,,此時(shí)的設(shè)備應(yīng)理解為運(yùn)行Linux的嵌入式系統(tǒng)。迄今為止對(duì)于Linux系統(tǒng)中USB設(shè)備驅(qū)動(dòng)開(kāi)發(fā)的研究非常豐富,但是主要是主機(jī)側(cè)驅(qū)動(dòng)程序的研究和實(shí)現(xiàn),而對(duì)USB Gadget Driver的研究和實(shí)現(xiàn)很少,本論文對(duì)TQ2440嵌入式開(kāi)發(fā)平臺(tái),對(duì)Linux系統(tǒng)下的USB Gadget Driver進(jìn)行研究,并給出了具體的實(shí)現(xiàn)方案。 論文的主要研究工作包括: (1)在對(duì)嵌入式目標(biāo)平臺(tái)開(kāi)發(fā)環(huán)境、Linux內(nèi)核進(jìn)行介紹的基礎(chǔ)上,給出了針對(duì)目標(biāo)平臺(tái)配置和編譯Linux內(nèi)核并移植到目標(biāo)平臺(tái)的方法。 (2)對(duì)Linux的設(shè)備驅(qū)動(dòng)模型和驅(qū)動(dòng)框架進(jìn)行了深入理解和分析,并研究了USB協(xié)議和USB主機(jī)端驅(qū)動(dòng)及Linux USB Gadget驅(qū)動(dòng)在Linux上的實(shí)現(xiàn)過(guò)程,內(nèi)容包括有USB的通訊模型、USB總線傳輸?shù)膮f(xié)議和USB設(shè)備驅(qū)動(dòng)程序開(kāi)發(fā)的知識(shí)。 (3)給出了Linux下主機(jī)端和Gadget端驅(qū)動(dòng)程序設(shè)計(jì)過(guò)程、技術(shù)細(xì)節(jié)、移植過(guò)程、實(shí)現(xiàn)過(guò)程和在目標(biāo)平臺(tái)上調(diào)試等具體方法,包括實(shí)現(xiàn)模擬網(wǎng)卡方案和用戶(hù)空間文件操作接口方案。 為完成這個(gè)嵌入式Linux開(kāi)發(fā)平臺(tái)的項(xiàng)目,閱讀并改寫(xiě)了大量的內(nèi)核源代碼,并且實(shí)現(xiàn)在不同內(nèi)核版本上的移植,對(duì)Linux內(nèi)核的底層實(shí)現(xiàn)機(jī)制和USB驅(qū)動(dòng)框架進(jìn)行了研究與探索。論文對(duì)在其它嵌入式平臺(tái)進(jìn)行內(nèi)核移植或USB驅(qū)動(dòng)開(kāi)發(fā)也可以起到借鑒作用。
[Abstract]:Linux is widely used in embedded systems because of its open source, easy portability and easy tailoring. The Linux kernel supports two main types of USB drivers: host side and device side. The mainframe side USB driver controls the USB device connected with the host side to use the function of the device; The device side USB driver (USB GadgetDriver) control device how to communicate with the host to make it show a specific function to the host the device should be understood as an embedded system running Linux. Up to now, the research on USB device driver in Linux system is very rich, but it is mainly the research and implementation of host side driver, but the research and implementation of USB Gadget Driver is very few. This paper focuses on TQ2440 embedded development platform. The USB Gadget Driver in Linux system is studied, and the implementation scheme is given. The main work of this paper is as follows: (1) based on the introduction of the embedded target platform development environment and the Linux kernel, the method of configuring, compiling and transplanting the Linux kernel to the target platform is given. (2) the device driver model and driver framework of Linux are deeply understood and analyzed, and the implementation process of USB protocol, USB host driver and Linux USB Gadget driver on Linux is studied, including the communication model with USB. USB bus transport protocol and USB device driver development knowledge. (3) the design process, technical details, transplantation process, realization process and debugging on the target platform of the driver on the host and Gadget side under Linux are given, including the implementation of the analog network card scheme and the user space file operation interface scheme. In order to complete the project of the embedded Linux development platform, we read and rewrite a lot of kernel source code, and realize the transplantation on different kernel versions. We study and explore the underlying implementation mechanism of Linux kernel and the USB driver framework. This paper can also be used for reference for kernel porting or USB driver development in other embedded platforms.
【學(xué)位授予單位】:華南理工大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2012
【分類(lèi)號(hào)】:TP368.1;TP333.2

【參考文獻(xiàn)】

相關(guān)期刊論文 前4條

1 楊偉;劉強(qiáng);顧新;;Linux下USB設(shè)備驅(qū)動(dòng)研究與開(kāi)發(fā)[J];計(jì)算機(jī)工程;2006年19期

2 武甲東,陳新華,張志敏;Linux下USB主機(jī)控制器驅(qū)動(dòng)的設(shè)計(jì)實(shí)現(xiàn)[J];山東科技大學(xué)學(xué)報(bào)(自然科學(xué)版);2005年02期

3 陳青松;王健;;通用串行總線數(shù)據(jù)傳輸[J];計(jì)算機(jī)工程與設(shè)計(jì);2006年11期

4 鄭智;;嵌入式Linux下USB驅(qū)動(dòng)程序開(kāi)發(fā)研究[J];武漢理工大學(xué)學(xué)報(bào)(信息與管理工程版);2006年07期

相關(guān)碩士學(xué)位論文 前3條

1 熊春杰;Linux內(nèi)核移植與USB驅(qū)動(dòng)開(kāi)發(fā)[D];電子科技大學(xué);2007年

2 程科;嵌入式Linux設(shè)備驅(qū)動(dòng)程序的設(shè)計(jì)與研究[D];電子科技大學(xué);2007年

3 張浩;嵌入式Linux下USB接口設(shè)備驅(qū)動(dòng)程序的研究與實(shí)現(xiàn)[D];重慶大學(xué);2008年



本文編號(hào):2322664

資料下載
論文發(fā)表

本文鏈接:http://www.sikaile.net/kejilunwen/jisuanjikexuelunwen/2322664.html


Copyright(c)文論論文網(wǎng)All Rights Reserved | 網(wǎng)站地圖 |

版權(quán)申明:資料由用戶(hù)e40ad***提供,本站僅收錄摘要或目錄,作者需要?jiǎng)h除請(qǐng)E-mail郵箱bigeng88@qq.com