当前位置:主页 > 科技论文 > 电力论文 >

数字示波器接口扩展模块嵌入式软件的设计与实现

发布时间:2018-06-12 10:47

  本文选题:嵌入式软件开发 + ARM-Linux ; 参考:《电子科技大学》2014年硕士论文


【摘要】:本课题来源于某仪器制造商的新品研发项目,为其现有的数字存储示波器产品开发外置式的接口扩展模块,着手解决由行业发展而产生的用户对设备接口多样性的需求问题。项目组从兼顾生产商开发成本和市场实际需求的角度出发,在不改动现有型号的数字存储示波器产品本身的前提下,利用示波器标配的USB接口,为其开发了两款外置式的接口扩展模块,即以太网接口和仪器专用的GPIB接口。外置式接口模块采用了ARM9处理器,因此,相应的嵌入式软件开发成了本课题的主要工作。本课题以C语言为编程语言,在Linux开发环境下,完成了以下主要工作:首先,进行嵌入式Linux操作系统的移植。在众多的嵌入式操作系统中,本课题从开源、免费、功能完备等角度出发,选择了ARM-Linux操作系统,并采用了目前较为成熟的版本Linux-2.6.16。为实现ARM-Linux系统向特定的硬件目标平台的移植,本课题对ARM-Linux内核源代码的U-BOOT进行了修改,包括启动参数和SRAM、FLASH地址空间的分配等。另外,根据接口扩展模块的具体芯片和功能需求,对ARM-Linux内核进行了裁剪,以便更高效地运行于目标平台。其次,由于接口扩展模块采用了特定的接口芯片,本课题还为此开发了Linux操作系统下的对应接口的驱动程序,分别包括USB接口芯片Cy68013和GPIB接口芯片NAT9914的驱动程序,为应用程序的功能实现奠定了基础。接着,将设计完成的驱动程序放入Linux-2.6.16内核源码中进行编译,得到了内核镜像。再次,为这两种接口扩展模块分别设计了Linux操作系统下的应用程序,包括USB和以太网接口的转换与数据通讯程序,为数字示波器扩展出了以太网功能,以及USB和GPIB接口的转换与数据通讯程序,为数字示波器扩展出了GPIB功能。接着,将设计完成的应用程序放入ARM-Linux文件系统下,制作成文件系统镜像。最后,将ARM-Linux系统的内核镜像和文件系统镜像下载到目标平台(接口扩展模块)上运行,与项目组其他成员开发的上位机软件进行联调和测试。测试结果表明,达到了预期的设计目标,并已交付厂家试运行。
[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.
【学位授予单位】:电子科技大学
【学位级别】:硕士
【学位授予年份】:2014
【分类号】:TM935.37

【参考文献】

相关期刊论文 前1条

1 赵开文;汪亮;;基于IP的扩展USB总线iUSB的设计[J];计算机工程与设计;2006年19期



本文编号:2009404

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/dianlilw/2009404.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户9efae***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com