摘要
针对传统的节点更新方式枯燥繁重、效率低、特殊区域无法更新等缺陷,文中基于存储空间较小的CC2430芯片,设计了远程代码更新系统,该系统分为3个部分,分别为上位机、网关节点以及传感器节点。上位机将新版本代码通过串口下载至网关节点,网关节点利用分发协议将更新代码分发至整个网络,并将节点的存储空间分为引导部分和程序部分,利用不同的存储器映射进行版本切换。经多次实验更新单个节点用时约为139 s。实验证明,该系统占用硬件资源少,可广泛应用于环境、军事监测及医护系统等领域。
In view of the traditional way of node updates dull heavy , low efficiency and cannot update defects such as special area. This paper addressing the CC2430 chip with small memory, designs a remote code update sys- tem, the remote code update system in this paper can be categorized into three parts: the upper computer, the gate- way node and the sensor node. The upper computer download the updated code to gateway node by com port. The gateway node utilizes the distribution protocol to distribute the updated code to the whole network. The memory of the node is classified into guide section and program section. Different map of the memory is utilized to convert the ver- sion. And the experimental results verify the function. This system does not need off - chip memory, and it costs less resource. Through the experiment many times to update a single node with about 139 seconds. It can be widely ap- plied to the monitor of environment, the military monitoring and nursing information system and so on.
作者
吴涛
施伟斌
张磊
WU Tao SHI Weibin ZHANG Lei(School of Optical - Electrical and Computer Engineering, University of Shanghai for Science and Technology, Shanghai 200093, Chin)
出处
《电子科技》
2017年第1期123-125,130,共4页
Electronic Science and Technology