基于AMC子卡EP8548板的VxWorks BSP設(shè)計(jì)與實(shí)現(xiàn)
本文選題:嵌入式PowerPC + VxWorks。 參考:《北京郵電大學(xué)》2014年碩士論文
【摘要】:BSP(板級(jí)支持包)是嵌入式系統(tǒng)一個(gè)重要的組成部分,它為硬件提供了操作系統(tǒng)和驅(qū)動(dòng)程序,并為上層應(yīng)用程序調(diào)用底層硬件提供了接口。在嵌入式系統(tǒng)中,對(duì)于每個(gè)不同的板子而言,由于處理器型號(hào)及板上相關(guān)外設(shè)型號(hào)的不同,每個(gè)板子的BSP都是不同的,為特定的板子制定BSP也就成為了嵌入式系統(tǒng)開發(fā)中重要的一個(gè)環(huán)節(jié)。本文就是在這樣一個(gè)背景下,設(shè)計(jì)并實(shí)現(xiàn)了EP8548板的BSP。 本文主要內(nèi)容如下: 第一章介紹了本文的研究背景、研究?jī)?nèi)容和論文的結(jié)構(gòu)安排。 第二章介紹了嵌入式系統(tǒng)的結(jié)構(gòu)及發(fā)展現(xiàn)狀,然后介紹了在嵌入式系統(tǒng)中的常用操作系統(tǒng):VxWorks操作系統(tǒng),并分析了BSP的功能及構(gòu)成。 第三章對(duì)EP8548板的BSP結(jié)構(gòu)進(jìn)行了詳細(xì)分析,并分析了BSP的開發(fā)流程,即首先實(shí)現(xiàn)最小內(nèi)核,完成上電初始化,然后按照重要程度逐一開發(fā)各外設(shè)的驅(qū)動(dòng)程序。在以上分析的基礎(chǔ)上,論文設(shè)計(jì)并實(shí)現(xiàn)了最小內(nèi)核的構(gòu)造,完成了在CPU初始化及SDRAM初始化中所做的工作。實(shí)現(xiàn)最小內(nèi)核的構(gòu)造是本文的主要工作。 第四章實(shí)現(xiàn)了串口、網(wǎng)口、Flash設(shè)備及中斷控制器的驅(qū)動(dòng)程序,并進(jìn)行了測(cè)試與調(diào)試。在VxWorks操作系統(tǒng)中,為許多外設(shè)提供了對(duì)應(yīng)的控制器,方便驅(qū)動(dòng)程序的編寫。以串口為例,由于串口在嵌入式系統(tǒng)中是十分常用的設(shè)備,因此VxWorks提供了一個(gè)TTY內(nèi)核驅(qū)動(dòng)中間層,用來管理串口的驅(qū)動(dòng)程序,本文的工作就是在這個(gè)基礎(chǔ)上,具體實(shí)現(xiàn)基于本板的串口的驅(qū)動(dòng)程序,實(shí)現(xiàn)需要的函數(shù)功能。網(wǎng)口、Flash設(shè)備以及中斷控制器驅(qū)動(dòng)程序的實(shí)現(xiàn)與串口類似,本文在基于各設(shè)備控制器的基礎(chǔ)上實(shí)現(xiàn)了各設(shè)備驅(qū)動(dòng)程序的開發(fā),并驗(yàn)證了各設(shè)備驅(qū)動(dòng)程序的功能。 本文成功設(shè)計(jì)并實(shí)現(xiàn)了EP8548板的BSP,實(shí)現(xiàn)了《超高速無線局域網(wǎng)無線接口關(guān)鍵技術(shù)研究與驗(yàn)證》這個(gè)項(xiàng)目中的MAC層驗(yàn)證。
[Abstract]:BSP (Board level support package) is an important part of embedded system, it provides operating system and driver for hardware, and provides interface for upper application program to call the underlying hardware. In the embedded system, for each different board, the BSP of each board is different because of the difference of the processor type and the related peripheral type on the board. The development of BSP for a specific board has become an important part of embedded system development. Under such a background, this paper designs and implements the EP8548 board. The main contents of this paper are as follows: The first chapter introduces the research background, research content and structure of the thesis. The second chapter introduces the structure and development of embedded system, then introduces the common operating system in embedded system: VxWorks operating system, and analyzes the function and structure of BSP. In chapter 3, the BSP structure of EP8548 board is analyzed in detail, and the development flow of BSP is analyzed, that is to say, the minimum kernel is first realized, the power on initialization is completed, and the drivers of each peripheral are developed one by one according to the importance. Based on the above analysis, the paper designs and implements the construction of the minimum kernel, and completes the work of CPU initialization and SDRAM initialization. The construction of minimum kernel is the main work of this paper. In chapter 4, the driver of serial port, flash device and interrupt controller is implemented, and tested and debugged. In the VxWorks operating system, the corresponding controller is provided for many peripherals, which is convenient to write the driver. Taking serial port as an example, because serial port is a very common device in embedded system, VxWorks provides a TTY kernel driver middle layer to manage serial port driver. Realize the driver of serial port based on this board, realize the function function needed. The realization of flash device and interrupt controller driver is similar to that of serial port. This paper realizes the development of each device driver on the basis of each device controller and verifies the function of each device driver. In this paper, we successfully design and implement the BSP of EP8548 board, and realize the verification of MAC layer in the project of "Research and Verification of key Technology of Wireless Interface of Ultra High Speed Wireless LAN".
【學(xué)位授予單位】:北京郵電大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TP368.1
【參考文獻(xiàn)】
相關(guān)期刊論文 前10條
1 肖竟華,邱奕敏;嵌入式實(shí)時(shí)操作系統(tǒng)VxWorks設(shè)備驅(qū)動(dòng)程序設(shè)計(jì)與實(shí)現(xiàn)[J];電腦與信息技術(shù);2003年05期
2 竇振中 ,宋鵬 ,李凱;嵌入式系統(tǒng)設(shè)計(jì)的新發(fā)展及其挑戰(zhàn)[J];單片機(jī)與嵌入式系統(tǒng)應(yīng)用;2004年12期
3 林嘉樹,蔣鈴鴿;VxWorks操作系統(tǒng)BSP和BootLoader介紹[J];電信快報(bào);2005年07期
4 吳朝暉;嵌入式軟件發(fā)展趨勢(shì)[J];電子產(chǎn)品世界;2005年03期
5 龔炳錚;發(fā)展嵌入式計(jì)算機(jī)及其產(chǎn)業(yè)的思考[J];電子技術(shù)應(yīng)用;2000年10期
6 安軍社,劉艷秋,孫輝先;VxWorks操作系統(tǒng)板級(jí)支持包的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)工程;2003年01期
7 李立志,張朝陽,陳文正;實(shí)時(shí)操作系統(tǒng)VxWorks設(shè)備驅(qū)動(dòng)程序的編寫[J];計(jì)算機(jī)工程;2003年04期
8 張曉斌,楊偉,鄭先成;基于VxWorks的1553-pc104卡驅(qū)動(dòng)程序的開發(fā)[J];微處理機(jī);2005年04期
9 隋霞;許錄平;;基于VxWorks的BSP技術(shù)分析[J];微計(jì)算機(jī)信息;2006年23期
10 詹特倫;劉偉平;黃紅斌;陳舜兒;高智強(qiáng);;VxWorks下增強(qiáng)型網(wǎng)絡(luò)驅(qū)動(dòng)程序的設(shè)計(jì)與實(shí)現(xiàn)[J];計(jì)算機(jī)系統(tǒng)應(yīng)用;2006年04期
,本文編號(hào):1856288
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1856288.html