資源描述:
《基于嵌入式系統(tǒng)網(wǎng)卡驅(qū)動的實現(xiàn)大學(xué)論文.doc》由會員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在行業(yè)資料-天天文庫。
1、畢業(yè)論文摘要當(dāng)今,隨著互聯(lián)網(wǎng)高速的發(fā)展,信息化時代已經(jīng)到來,給人們的生活帶來了極大的便利。致使我們的生活已經(jīng)離不開網(wǎng)絡(luò)了。物物相連必定需要網(wǎng)絡(luò)參與,我們必須解決好數(shù)據(jù)在網(wǎng)絡(luò)之間的傳輸問題才能發(fā)揮物聯(lián)網(wǎng)的巨大作用。本文通過對網(wǎng)絡(luò)的結(jié)構(gòu)介紹,了解數(shù)據(jù)在網(wǎng)絡(luò)上基本走向。當(dāng)網(wǎng)卡接受到網(wǎng)絡(luò)的數(shù)據(jù)后是如何對數(shù)據(jù)進(jìn)行處理的。網(wǎng)卡與數(shù)據(jù)的通信在這里主要是通過SPI接口。必須理解SPI原理網(wǎng)絡(luò)的基本結(jié)構(gòu)和特征,網(wǎng)卡控制器的部結(jié)構(gòu),數(shù)據(jù)傳輸?shù)脑?。通過對一些基本概念和原理的理解和分析,最終實現(xiàn)網(wǎng)卡的驅(qū)動功能。解決數(shù)據(jù)在接受和發(fā)送端部的處理。從而為上層應(yīng)用提供一個接口
2、.最后通過一個實例,結(jié)合原理完成一個嵌入式網(wǎng)卡驅(qū)動的實現(xiàn),軟件開發(fā)環(huán)境介紹和應(yīng)用,從概要設(shè)計到詳細(xì)設(shè)計,編碼。關(guān)鍵詞:物聯(lián)網(wǎng);網(wǎng)卡控制器;SPI通信;網(wǎng)卡驅(qū)動;嵌入式系統(tǒng)AbstractToday,withthedevelopmentofhigh-speedInternet,theinformationerahascometopeople'sliveshasbroughtgreatconvenience.Causeourlifehasbeeninseparablefromthelinks.Areconnectedtothenetworkprope
3、rtieswillneedtoparticipate,wemustsolvethedatatransmissionproblemsbetweenthenetworkcanplayahugeroleinInternetofthings.Thispaperdescribesthestructureofthenetworktounderstandthebasictrendofthedataonthenetwork.Whenthecardreceivesthenetworkdataishowthedataprocessing.Anddatacommuni
4、cationsnetworkcardheremainlythroughtheSPIinterfaceto.SPImustunderstandthebasicprinciplesofnetworkstructureandcharacteristicsoftheinternalstructureofthecontrollercard,theprincipleofdatatransmission.Throughsomebasicconceptsandprinciplesofunderstandingandanalysis,andultimatelyth
5、enetworkcarddriverfunctionality.Solvethedatareceivingandprocessingwithinthetransmitter.Soastoprovideaninterfacetotheupperapplication.Finally,anexampleofcombiningtheorytocompletetherealizationofanembeddednetworkcarddriver,introductionandapplicationsoftwaredevelopmentenvironmen
6、t,fromoutlinedesigntodetaileddesign,coding.Keywords:InternetofThings;Cardcontroller;SPIcommunication;Networkdriver;Embeddedsystems目錄1.緒論11.1.問題的提出及研究背景11.1.1.物聯(lián)網(wǎng)概念的提出與發(fā)展11.1.2.嵌入式系統(tǒng)的概念與發(fā)展11.1.3.課題的提出21.2.本文研究目的及其意義21.3.論文的基本結(jié)構(gòu)32.解決問題的理論和方法42.1.網(wǎng)絡(luò)基本知識42.1.1.OSI七層結(jié)構(gòu)42.1.2.以太網(wǎng)和I
7、EEE802封裝52.2.SPI通信原理62.2.1.SPI的基本概念62.2.2.SPI的通信原理[5]62.2.3.SPI傳輸數(shù)據(jù)的時序72.2.4.SPI指令集72.3.網(wǎng)卡控制器82.3.1.網(wǎng)卡基本概念82.3.2.網(wǎng)卡接口的種類82.3.3.以太網(wǎng)控制器92.3.4.以太網(wǎng)控制器基本結(jié)構(gòu)92.3.5.網(wǎng)卡的功能103.解決問題的一個實例123.1.網(wǎng)卡的硬件架構(gòu)(MB96338+ENC28J60)123.2.底層驅(qū)動程序的實現(xiàn)123.2.1.概要設(shè)計123.2.2.詳細(xì)設(shè)計163.3.編譯與測試293.3.1.編譯環(huán)境293.3.2.
8、網(wǎng)卡驅(qū)動編譯294.總結(jié)與展望30參考文獻(xiàn)31致321.緒論1.1.問題的提出及研究背景1.1.1.物聯(lián)網(wǎng)概念的提出與發(fā)展物聯(lián)網(wǎng)(The