基于VxWorks的嵌入式web系统的研究与设计
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着信息与网络技术的发展,嵌入式系统渗透到各个领域,得到了广泛的应用。本文针对设计web服务器这一课题,研究了嵌入式操作系统VxWorks及其在ARM内核的处理器上的设计与开发技术。
     本文主要做了以下工作:首先围绕以SAMSUNG公司的S3C4510B芯片为核心的硬件平台,介绍了ARM微处理器的应用领域及特点,说明了S3C4510B的存储空间分配,为后文的软件开发工作做了铺垫。
     其次开发了基于VxWorks的Web服务器所用的板级支持包BSP,通过移植风河公司提供的板级支持包——WRSBCARM7,成功的开发出本系统所需的BSP,并且总结出了开发调试BSP的方法以及需要注意的问题。在嵌入式系统开发过程中,用户研发的首要任务是CPU初始化程序和硬件驱动程序的设计和实现,随后即可在嵌入式操作系统环境下开发自己的应用程序。因此本文重点研究了负责CPU初始化的BSP(Board Support Package),包括其工作流程和主要文件的内容。
     本文还针对所使用的SST39VF160闪存,实现了TrueFFS文件系统,使得闪存能像磁盘一样被VxWorks操作系统操作。不但介绍了TrueFFS的结构,还重点介绍了相关文件的修改及MTD驱动程序的设计。
     最后,本文还深入分析HTTP协议,研究了嵌入式Web原理,成功地应用于嵌入式Web服务器。完成开发了静态网页显示功能,并对如何实现对工业现场设备进行实时监控,提交表单的支持说明了相应的实现方法。通过使用web server,使得系统的开发和使用都方便灵活。通过浏览器,用户随时随地可以访问,维护嵌入式设备,给系统的使用提供了极大的方便,达到了预期的效果。
     基于VxWorks嵌入式Web Server的实现,对于利用有限资源实现嵌入式Internet技术,提供了有效的依据,为远程监控、远程诊断和维护等应用提供了有利的解决方案。可以在信息家电、工业控制自动化、智能仪表及传感技术等多个领域得到广泛的应用,具有较高的理论及应用价值。
With the development of ingormation and network technology, the embedded system is applied widely in all kinds if fileds.This thesis presents the design and implementation of a Web Server based on embedded operating system VxWorks and Risc chip S3C4510B with ARM7TDMI core.Main works are explained in four parts respectively.Firstly, a hardware platform,in which the S3C4510B provided by SAMSUNG Corporation is used core chip is introduced. For the software development in next content. The application fileds and characteristic of ARM microprocessor are presented and memory space allocation of S3C4510B chip is described.Secondly, the Board Support Package (BSP) for desired system,supported by WRSBCARM7 which is provided by Wind River Corporation is designed and programmed,as one of the basic parts of application process,the CPU initialization code,hardware driver and user-application software etcare carried out. Besides the details of designed BSP,the method and procedure of the design is presented as well.Thirdly, TrueFFS file system in SST39VF160 Flash which is used is carried out. Thus, SST39VF160 Flash can used as disk by VxWorks operating system . Not only the constructure of TrueFFS is introduced,but also the modification of relevant files and the design of MTD driver is presented.Finally,after the analyse about HTTP protocol in depth ,the embedded Web principle is researched,we apply HTTP protocol to embedded Web Server system.,to display static web is successful achieved. This paper also shows us how to realize remote monitor and control about embedded system devices,and how to support form submission in Web Server. Through the web browser,not only the user,but also the developer is capable of accessing the system conveniently. Thus the developer can maintain the system, while the user can access the system anytime and anywhere.Realization of this embedded Web Server based on VxWorks shows us a way to achieve embedded internet technology,give us a good example about resources usage. It is an excellent method to remote monitior,remote control and
    remote diagnose systems,and it can be used in a lot of fields such as Information Appliance,Industrial Automation,Smart Instrument and Sensor Technique. So, it will have a wonderful applied perspective,and will also have good application and theory value.
引文
[1] VxWorks Programmer's Guide 5.4, WindRiver System, Inc, 1999
    [2] ARM7TDMI(Rev4) Technical Reference Manual, ARM Limited, 2001
    [3] VxWorks BSP User Guide, WindRiver System, Inc, 1999
    [4] Wind Web Server Programmer's Guide 1.0, WindRiver System, Inc, 1999
    [5] Tornado User's Guide(Windows Version)2.0, WindRiver System, Inc, 1999
    [6] ARM Development Guide 2000-2001, ARM Limited, 2000
    [7] Network Protocol Toolkit User's Guide 5.4, WindRiver System, Inc, 1999
    [8] ARM Software Development Toolkit User Guide, ARM Limited, 2000
    [9] VxWorks for ARM Architecture Supplement, WindRiver System, Inc
    [10] Jack G.Ganssle&Michael Barr, Embeded System Dictionary, CMP 2003
    [11] Qing Li&Carolyn Yao, Real-Time Concepts for Embeded Systems, MP 2003
    [12] Jack G.Ganssle, The Art of Designing Embeded Systems, Newnes Empress
    [13] Writing Efficient C forARM, ARM Ltd, http://www.arm.com
    [14] VxWorks 5.5 Network Programmer's Guide, WindRiver, Inc, www.wrs.com
    [15] VxWorksOSLibrariesAPIReference, WindRiver, Inc, www.wrs.com
    [16] Tornado 2.2 API Programmer's Guide, WindRiver, Inc, www.wrs.com
    [17] WindView 2.2 User's Guide, WindRiver, Inc, www.wrs.com
    [18] WindView 2.2 User's Reference, WindRiver, Inc, www.wrs.com
    [19] WindML Programmer's Guide 2.0, WindRiver, Inc, www.wrs.com
    [20] TrueFFS for Tornado Programmer's Guide 1.0 Edition 1, WindRiver, Inc, www.wrs.com
    [21] VxWorks 5.5 BSP Developer's Guide, WindRiver, Inc, www.wrs.com
    [22] VxWorks5.5 BSPDeveloper's Guide, WindRiver, Inc, www.wrs.com
    [23] Tornado DeviceWorkshop, WindRiver, Inc, www.wrs.com
    [24] Tornado BSP Training Workshop, WindRiver, Inc, www.wrs.com
    [25] amine, VxWorks 新手探路, http://bbs.edw.com.cn, 2002年
    [26] amine, MFC5272_BOOTROM开发笔记, http://bbs.edw.com.cn, 2003年
    [27] amine,思创黄金开发板 S3C44BOX VxWorks BSP 移植笔记,http://bbs.edw.com.cn, 2004年
    [28] 周启平,张杨,VxWorks程序员速查手册,机械工业出版社,2005年
    [29] Wind River, VxWorks程序员指南,王会刚,高伟,苏琪等译,清华大学出版社,2003年
    [30] Wind River, VxWorks BSP开发人员指南,王金刚,苏琪,杨锡劢译,清华大学出版社,2003年
    [31] 陈智育,温彦军,陈琪,VxWorks程序开发实践,人民邮电出版社,2004年
    [32] 孔祥营,柏桂枝,嵌入式实时操作系统VxWorks及其开发环境Tornado,中国电力出版社,2002年
    [33] 罗国庆等,VxWorks与嵌入式软件开发,机械工业出版社,2003年
    [34] 周启平,张杨,吴琼,VxWorks开发指南与Tornado实用手册,中国电力出版社,2004年
    [35] 周启平,张杨,VxWorks下设备驱动程序及BSP开发指南,中国电力出版社,2004年
    [36] 谭浩强,C语言设计,第二版,清华大学出版社,2001年
    [37] 王金刚,宫宵霖,杨锡劢等,基于VxWorks的嵌入式实时系统设计,清华大学出版社,2004年
    [38] 王学龙,嵌入式VxWorks系统开发与应用,人民邮电出版社,2003年
    [39] Jeremy Bentham, 嵌入式系统Web服务器TCP/IP Lean, 陈向群等译,机械工业出版社,2003年
    [40] M. Tim Jones, 嵌入式系统TCP/IP应用层协议,路晓村,徐宏,王泰东等译,电子工业出版社,2003年
    [41] 李驹光,聂雪媛,江泽明等。ARM应用系统开发详解——基于S3C4510B的系统设计,清华大学出版社,2003
    [42] 马忠梅,马广云,徐英慧等,ARM嵌入式处理器结构与应用基础,北京航空航天大学出版社,2002年
    [43] 贾志平,石冰,计算机硬件技术教程——微机原理与接口技术,中国水利水电出版社,1999年
    [44] 李勋龙,基于S3C4510B的嵌入式web系统的研究与设计,武汉理工大学硕士论文,2005年
    [45] 姜俊秀,基于ARM与VxWorks的数码电子警察系统的设计,北方工业大学硕士论文,2005年
    [46] 谷博,基于μC/OS-Ⅱ嵌入式Web Server的研究与实现,大连理工大学硕士论文,2005年
    [47] 马永力,基于SX52BD的嵌入式Web服务器的设计与实现,山东大学硕士论文,2005年
    [48] 铁峰, 嵌入式系统的 off—target 调试,http://drew, nease, net/friends/tief_01, htm
    [49] 江平新,卢益民,基于LPC2104的VxWorks BSP设计,单片机与嵌入式系统应用,2004年第五期
    [50] 周雪赞,张宏,基于VxWorks操作系统的BSP开发,工业控制计算机, 2004年第17卷第2期
    [51] 李捷,王汝传,基于VxWorks的设备驱动程序实现技术,微型机与应用,2002年第11期
    [52] 褚哲,孟小锁,嵌入式实时操作系统VxWorks下BSP分析及VxWorks裁减,天津工程师范学院学报,2005年6月第15卷第2期
    [53] 万逸珠,戚文芽,嵌入式实时操作系统VxWorks的内存管理方案,信息工程大学学报,2004年12月第5卷第四期
    [54] 郑更生等,基于VxWorks的产品映象设计,电子设计应用,2003年4月
    [55] 成灵安,一种板级支撑软件包设计,电子产品世界,2002年10月
    [56] 乔峰等,基于Vxworks的Flash文件系统,北京工业大学学报,2005年9月第31卷第5期
    [57] 王伟,蒋斌,4种实时操作系统实时性的分析对比,电子产品世界,2003.8/上半月
    [58] 电子产品世界论坛,http://bbs, edw. com. cn/
    [59] 电子工程师社区,http://bbs. 21ic. com/
    [60] 嵌入式研究网,http://www.cnemb.com/
    [61] 嵌入式信息网,http://www.embedchina.cn/

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700