计算机应用与软件2016,Vol.33Issue(5):222-225,4.DOI:10.3969/j.issn.1000-386x.2016.05.056
基于 STM32处理器的 WSN 节点固件在线系统升级方法
ONLINE SYSTEM UPGRADING METHOD FOR WSN NODE FIRMWARE BASED ON STM32 PROCESSOR
蒋存波 1焦阳1
作者信息
- 1. 桂林理工大学信息科学与工程学院 广西 桂林 541004
- 折叠
摘要
Abstract
In order to meet the needs of function upgrade and system reconstruction of the node devices in WSN (wireless sensor network),we studied the Cortex-Mx core-based renewing and upgrading method for embedded system firmware IAP.It triggers the upgrade by using the way of command requests plus authentication,splits the code into 128 byte information block by utilising partition function and then composes them into ModBus packet with 138 bytes for transmission.It employs CRC for data checking,adopts response mechanism to achieve flow control,utilises Flash recognition function to distinguish different Flash types,and applies Flash writing function to meet the programming needs of internal and external Flash,different parameters of NorFlash and NandFlash.By testing with experiment,this scheme can realise the upgrade of WSN nodes firmware and the need of WSNs in dynamic system reconstruction.关键词
嵌入式系统/WSN/固件在线升级/ModBus 协议Key words
Embedded system/WSN/Online firmware upgrade/ModBus protocol分类
信息技术与安全科学引用本文复制引用
蒋存波,焦阳..基于 STM32处理器的 WSN 节点固件在线系统升级方法[J].计算机应用与软件,2016,33(5):222-225,4.