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

當(dāng)前位置:主頁 > 科技論文 > 電力論文 >

數(shù)字示波器接口擴(kuò)展模塊嵌入式軟件的設(shè)計(jì)與實(shí)現(xiàn)

發(fā)布時(shí)間:2018-06-12 10:47

  本文選題:嵌入式軟件開發(fā) + ARM-Linux; 參考:《電子科技大學(xué)》2014年碩士論文


【摘要】:本課題來源于某儀器制造商的新品研發(fā)項(xiàng)目,為其現(xiàn)有的數(shù)字存儲(chǔ)示波器產(chǎn)品開發(fā)外置式的接口擴(kuò)展模塊,著手解決由行業(yè)發(fā)展而產(chǎn)生的用戶對(duì)設(shè)備接口多樣性的需求問題。項(xiàng)目組從兼顧生產(chǎn)商開發(fā)成本和市場(chǎng)實(shí)際需求的角度出發(fā),在不改動(dòng)現(xiàn)有型號(hào)的數(shù)字存儲(chǔ)示波器產(chǎn)品本身的前提下,利用示波器標(biāo)配的USB接口,為其開發(fā)了兩款外置式的接口擴(kuò)展模塊,即以太網(wǎng)接口和儀器專用的GPIB接口。外置式接口模塊采用了ARM9處理器,因此,相應(yīng)的嵌入式軟件開發(fā)成了本課題的主要工作。本課題以C語言為編程語言,在Linux開發(fā)環(huán)境下,完成了以下主要工作:首先,進(jìn)行嵌入式Linux操作系統(tǒng)的移植。在眾多的嵌入式操作系統(tǒng)中,本課題從開源、免費(fèi)、功能完備等角度出發(fā),選擇了ARM-Linux操作系統(tǒng),并采用了目前較為成熟的版本Linux-2.6.16。為實(shí)現(xiàn)ARM-Linux系統(tǒng)向特定的硬件目標(biāo)平臺(tái)的移植,本課題對(duì)ARM-Linux內(nèi)核源代碼的U-BOOT進(jìn)行了修改,包括啟動(dòng)參數(shù)和SRAM、FLASH地址空間的分配等。另外,根據(jù)接口擴(kuò)展模塊的具體芯片和功能需求,對(duì)ARM-Linux內(nèi)核進(jìn)行了裁剪,以便更高效地運(yùn)行于目標(biāo)平臺(tái)。其次,由于接口擴(kuò)展模塊采用了特定的接口芯片,本課題還為此開發(fā)了Linux操作系統(tǒng)下的對(duì)應(yīng)接口的驅(qū)動(dòng)程序,分別包括USB接口芯片Cy68013和GPIB接口芯片NAT9914的驅(qū)動(dòng)程序,為應(yīng)用程序的功能實(shí)現(xiàn)奠定了基礎(chǔ)。接著,將設(shè)計(jì)完成的驅(qū)動(dòng)程序放入Linux-2.6.16內(nèi)核源碼中進(jìn)行編譯,得到了內(nèi)核鏡像。再次,為這兩種接口擴(kuò)展模塊分別設(shè)計(jì)了Linux操作系統(tǒng)下的應(yīng)用程序,包括USB和以太網(wǎng)接口的轉(zhuǎn)換與數(shù)據(jù)通訊程序,為數(shù)字示波器擴(kuò)展出了以太網(wǎng)功能,以及USB和GPIB接口的轉(zhuǎn)換與數(shù)據(jù)通訊程序,為數(shù)字示波器擴(kuò)展出了GPIB功能。接著,將設(shè)計(jì)完成的應(yīng)用程序放入ARM-Linux文件系統(tǒng)下,制作成文件系統(tǒng)鏡像。最后,將ARM-Linux系統(tǒng)的內(nèi)核鏡像和文件系統(tǒng)鏡像下載到目標(biāo)平臺(tái)(接口擴(kuò)展模塊)上運(yùn)行,與項(xiàng)目組其他成員開發(fā)的上位機(jī)軟件進(jìn)行聯(lián)調(diào)和測(cè)試。測(cè)試結(jié)果表明,達(dá)到了預(yù)期的設(shè)計(jì)目標(biāo),并已交付廠家試運(yùn)行。
[Abstract]:This project comes from a new product R & D project of an instrument manufacturer to develop an external interface extension module for its existing digital storage oscilloscope products, and to solve the problem of the user's demand for the diversity of equipment interface produced by the development of the industry. On the premise of not changing the existing digital storage oscilloscope, the USB interface of the oscilloscope is used to develop two external interface extension modules, that is, the Ethernet interface and the special GPIB interface of the instrument. The external interface module uses the ARM9 processor. Therefore, the corresponding embedded software is developed into this course. The main work of this topic is that the following main work is completed in the C language as programming language and under the environment of Linux development. First, the embedded Linux operating system is transplanted. In many embedded operating systems, this topic selects the ARM-Linux operating system from the angle of open source, free and complete function, and uses the present comparison. For the mature version of Linux-2.6.16. to transplant the ARM-Linux system to a specific hardware target platform, this topic modifies the U-BOOT of the ARM-Linux kernel source code, including the startup parameters and SRAM, the allocation of FLASH address space, etc., in addition, the ARM-Linux kernel is carried out on the ARM-Linux kernel based on the specific chip and functional requirements of the interface extension module. Cutting, in order to run the target platform more efficiently. Secondly, because the interface extension module uses a specific interface chip, this topic also develops the driver of the corresponding interface under the Linux operating system, including the driver of the USB interface chip Cy68013 and the GPIB interface chip NAT9914, which lays a foundation for the application of the function. Then, the designed driver is put into the Linux-2.6.16 kernel source code to compile and get the kernel image. Again, the application programs under the Linux operating system are designed for the two interface extension modules, including the conversion and data communication program of the USB and Ethernet interfaces, which are extended for the digital oscilloscope. The function of the Ethernet, as well as the conversion and data communication program of the USB and GPIB interfaces, extends the GPIB function for the digital oscilloscope. Then, the designed applications are put into the ARM-Linux file system and made into a file system image. Finally, the kernel image and file system mirror image of the ARM-Linux system are downloaded to the target platform (interface extension). The module is running and tested in conjunction with the host computer software developed by other members of the project group. The test results show that the desired design goals have been achieved and the manufacturers have been delivered to the test run.
【學(xué)位授予單位】:電子科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2014
【分類號(hào)】:TM935.37

【參考文獻(xiàn)】

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

1 趙開文;汪亮;;基于IP的擴(kuò)展USB總線iUSB的設(shè)計(jì)[J];計(jì)算機(jī)工程與設(shè)計(jì);2006年19期

,

本文編號(hào):2009404

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

本文鏈接:http://sikaile.net/kejilunwen/dianlilw/2009404.html


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

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