摘要
设计并实现了一种适用于传感网节点的动态加载器。针对传感网节点低功耗、低速率、低内存的特点,研究了程序动态链接的机制和可重定位文件的工作原理。通过动态加载的技术解决了更新文件在加载过程中的4个关键问题:运行空间分配、代码搬移、相对地址重定位和绝对地址重定位。然后通过串口将更新文件下载进传感网节点中,使用动态加载器加载,实验表明该方法是可行的,测试结果显示了在72 MHz系统频率下动态加载一个11 kbyte的更新文件仅需0.265 s。
A dynamic loader for sensor network nodes is designed and implemented. Be directed against the characteristics of low power,low rate and low memory for sensor network nodes,it researched the mechanism of dynamic link of the program and relocatable files. By using dynamic loading technology,the method addresses four major technical issues in the process of updated file:operation space allocation,code motion、relative address relocation、absolute address relocation. Then the updated files is downloaded in to sensor node through the serial port and loaded,The experimental results show that the method is feasible,it takes only 0.265 seconds to dynamically load a 11 kbyte updated file at the 72 MHz system frequency.
作者
李艳丽
杨燕鎏
LI Yanli;YANG Yanliu(Institute of Artificial Intelligence,Chongqing Creation Vocational College,Chongqing 402160,China;China Mobile IoT Company,Chongqing 401336,China)
出处
《传感技术学报》
CAS
CSCD
北大核心
2018年第7期1113-1117,共5页
Chinese Journal of Sensors and Actuators
关键词
传感器网络
动态加载
可重定位
编程
The Research and Implementation of Dynamic
Loader for Sensor
Network Nodes