嵌入式USB主從協(xié)議棧的設(shè)計(jì)與實(shí)現(xiàn)
本文關(guān)鍵詞: 嵌入式 OHCI USB主機(jī) USB設(shè)備 大容量存儲類 出處:《華中科技大學(xué)》2014年碩士論文 論文類型:學(xué)位論文
【摘要】:USB技術(shù)以其即插即用、多種傳輸模式和傳輸速度快等特點(diǎn),在嵌入式USB設(shè)備中得到廣泛使用。隨著技術(shù)的發(fā)展,嵌入式領(lǐng)域不僅對USB設(shè)備功能提出更高要求,對USB主機(jī)功能的需求也越來越旺盛。由于USB技術(shù)本身的復(fù)雜性,針對嵌入式系統(tǒng)完整USB解決方案的研究和設(shè)計(jì)具有很好的實(shí)用價(jià)值和意義。 本論文在研究了USB規(guī)范、OHCI主機(jī)規(guī)范和USBMSC規(guī)范的基礎(chǔ)上,設(shè)計(jì)了針對嵌入式系統(tǒng)的USB主從協(xié)議棧,并在基于ARM7-TMDI-S內(nèi)核的NXPLPC2478微控制器的評估板上得到實(shí)現(xiàn)和驗(yàn)證。本文實(shí)現(xiàn)的協(xié)議棧分主機(jī)端協(xié)議和從機(jī)端協(xié)議,兩部分相對獨(dú)立,都采取開放的層次結(jié)構(gòu)和模塊結(jié)構(gòu)。硬件層是最底層,提供實(shí)際的數(shù)據(jù)傳輸功能;協(xié)議層是整個(gè)協(xié)議棧的核心部分,,負(fù)責(zé)完成USB協(xié)議規(guī)定的各種操作;應(yīng)用層是最上層,主要由用戶來完成實(shí)際的應(yīng)用。三個(gè)層次通過層次間接口,組成完整的協(xié)議棧軟件架構(gòu)。 本論文從主機(jī)和設(shè)備兩方面,USB主從協(xié)議棧的性能。實(shí)驗(yàn)結(jié)果表明,本論文實(shí)現(xiàn)的協(xié)議棧在嵌入式USB設(shè)備和嵌入式主機(jī)兩方面都達(dá)到了設(shè)計(jì)要求。
[Abstract]:USB technology is widely used in embedded USB devices with its characteristics of plug and play, multiple transmission modes and high transmission speed. With the development of technology. Embedded field not only puts forward higher requirements for USB device function, but also has more and more demand for USB host function. Because of the complexity of USB technology itself. The research and design of a complete USB solution for embedded system has good practical value and significance. Based on the research of USB specification, OHCI host specification and USBMSC specification, the USB master-slave protocol stack for embedded system is designed in this paper. And it is implemented and verified on the evaluation board of NXPLPC2478 microcontroller based on ARM7-TMDI-S kernel. The protocol stack of this paper is divided into host protocol and slave protocol. The two parts are relatively independent, both adopting open hierarchy and module structure. The hardware layer is the bottom layer, which provides the actual data transmission function. The protocol layer is the core part of the whole protocol stack, which is responsible for completing various operations stipulated by the USB protocol. The application layer is the top layer, which is mainly implemented by the user. The three layers form the complete protocol stack software architecture through the interface between the layers. The performance of host and slave protocol stack is discussed in this paper. The experimental results show that the protocol stack has met the design requirements in both embedded USB devices and embedded hosts.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2014
【分類號】:TP334.7
【相似文獻(xiàn)】
相關(guān)期刊論文 前10條
1 康健;;在你的電腦上看、錄電視——天敏USB電視盒[J];電腦采購周刊;2003年45期
2 王凡;揭曉;潘克修;王斌;;基于USB的高速數(shù)據(jù)采集系統(tǒng)的設(shè)計(jì)[J];國外電子測量技術(shù);2006年07期
3 花春飛;寧蘊(yùn)緋;;一種基于USB的高速數(shù)據(jù)采集系統(tǒng)硬件設(shè)計(jì)[J];科技廣場;2010年08期
4 榮昊亮,李旦,俞承芳;基于USB接口的遠(yuǎn)程數(shù)據(jù)采集系統(tǒng)[J];儀器儀表學(xué)報(bào);2004年S2期
5 胡燕;楊祥國;劉文海;;基于USB接口的多路數(shù)據(jù)采集系統(tǒng)的實(shí)現(xiàn)[J];儀器儀表用戶;2006年02期
6 閆愛青;;基于USB接口的高速數(shù)據(jù)采集系統(tǒng)[J];山西建筑;2007年09期
7 張靜;閻學(xué)文;;基于USB的智能數(shù)據(jù)采集處理系統(tǒng)[J];電子科技;2007年11期
8 betman;為老計(jì)算機(jī)添加USB接口的幾種方案[J];電腦愛好者;2001年14期
9 Mark Schultz;USB端對端系統(tǒng)設(shè)計(jì)[J];電子與電腦;2004年11期
10 汪春梅,賈紅濤;USB在實(shí)時(shí)數(shù)據(jù)采集處理系統(tǒng)中的應(yīng)用[J];上海師范大學(xué)學(xué)報(bào)(自然科學(xué)版);2004年03期
相關(guān)會議論文 前10條
1 榮昊亮;李旦;俞承芳;;基于USB接口的遠(yuǎn)程數(shù)據(jù)采集系統(tǒng)[A];中國儀器儀表學(xué)會第六屆青年學(xué)術(shù)會議論文集[C];2004年
2 黃建平;;USB接口在串行通信中的應(yīng)用[A];’2003天津IT、網(wǎng)絡(luò)、信息技術(shù)、電子、儀器儀表創(chuàng)新學(xué)術(shù)會議論文集[C];2003年
3 楊偉宏;;基于USB接口三可變鏡頭驅(qū)動卡的設(shè)計(jì)[A];第十屆全國光學(xué)測試學(xué)術(shù)討論會論文(摘要集)[C];2004年
4 張飛鵬;馮初剛;黃s
本文編號:1461759
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1461759.html