此页面上的内容需要较新版本的 Adobe Flash Player。

获取 Adobe Flash Player

Realization of remote update technology for embedded equipment based on μC/OS-Ⅱ

MENG Hui, PAN Lian

 

(School of Information Science and Engineering, Wuhan University of Science and Technology, Wuhan 430081, China)

 

Abstract: Aiming at the inaccessible problem of remote embedded devices update and maintenance, this paper presents a method using general packet radio service (GPRS) to achieve update based on the embedded real-time operating system (RTOS) μC/OS-Ⅱ. It introduces architecture of the system first. And then it uses LPC1768 chip as the central processing unit, SIM900A module for data transmission, and SST25VF016B to store the data. To ensure accuracy of the data transmission, cyclic redundancy code (CRC) is adopted. The software uses fixed bootstrap and mutable update program, and thus the embedded devices can still normally start in case of update failure. Finally,high stability and extensive adaptability of the system are verified by experimental data.

 

Key words: μC/OS-Ⅱ; remote update; general packet radio service (GPRS); embedded system

 

CLD number: TP274 Document code: A

 

Article ID: 1674-8042(2014)03-0069-04   doi: 10.3969/j.issn.1674-8042.2014.03.013

 

References

 

[1] JIANG Jian-hu, ZHANG Zhen-jiang. Water quality monitoring system based on GPRS and GPS. Techniques of Automation and Applications, 2006, 25(8): 66-68, 81.
[2] Altun A A, BascifciN. A wireless sensor network based on zigbee forECG Monitoring. In: Proceedings of the 5th International Conference on Application of Information and Communication Technologies (AICT), Baku, Azerbaijan, 2011: 1-5.
[3] Philips Semiconductors. Using IAP for LPC2000 ARM devices. [2013-10-25]. http://www.nxp.com/documents/applicationnote/AN10256.pdf.
[4] SUN Hong-yu, XIANG Yang, SUN Yao-ru, et al. Motor imaginary-based BCI for controlling a remote car. Journal of Measurement Science and Instrumentation, 2012, 3(2): 200-204.
[5] ZHAI Shun, WANG Wei-hong, ZHANG Kan, et al. IOT SMS alarm system based on SIM900A. Modern Electronics Technique, 2012, 35(5): 86-89.
[6] CHANG Chao, XIAN Xiao-dong, HU Ying. Design of precision agriculture remote environment monitoring system based on WSN. Chinese Journal of Sensors and Actuators, 2011, 24(6): 879-883.
[7] YU Hong-bo, LI Hui. Design and implementation of portable GSM wireless gas warning system. Control and Instruments in Chemical Industry, 2011, 38(11): 1360- 1363.
[8] LIU Run-hua, ZhANG Ya-nan, WANG Fei-fei, et al. Beam-pumping unit operation condition monitoring system design. Computer Measurement and Control, 2011, 19(12): 2961-2964.
[9] YUAN Yao-dong,ZHANG Ai-jun. Wireless sensing system for environmental humidity and temperature monitoring. Journal of Measurement Science and Instrumentation, 2013, 4(3): 267-271.

 

 

基于 μC/OS-Ⅱ的嵌入式设备远程程序升级的实现

 

孟辉, 潘炼

 

(武汉科技大学 信息科学与工程学院, 湖北 武汉 430081)

 

摘要:针对远距离嵌入式设备程序升级和维护的繁琐的问题, 提出一种基于 μC/OS-Ⅱ 操作系统平台的 GPRS 远程程序升级的设计方案。 该系统采用 LPC1768 作为微控制器, 使用 SIM900A 通信模块完成数据包的发送和接收工作, 外部存储器 SST25VF016B 存储接收到的数据包。 数据使用 CRC 校验, 以提高数据传输准确性。 程序将固定的引导程序与可变的更新程序相结合, 保证了升级失败的情况下也不会造成嵌入式设备无法启动, 最后通过实验数据验证了远程程序升级机制具有较高的稳定性和广泛的适应性。

 

关键词:μC/OS-Ⅱ; 远程程序升级; GPRS; 嵌入式系统

 

引用格式:MENG Hui, PAN Lian. Realization of remote update technology for embedded equipment based on μC/OS-Ⅱ. Journal of Measurement Science and Instrumentation, 2014, 5(3): 69-72. [doi: 10.3969/j.issn.1674-8042.2014.03.013]

 

 

[full text view]