计算机测量与控制2024,Vol.32Issue(4) :248-256.DOI:10.16526/j.cnki.11-4762/tp.2024.04.035

基于GD32的网络在线烧写技术研究

Research on Network Online Updating Technology of Based on GD32

宋书龙 葛露
计算机测量与控制2024,Vol.32Issue(4) :248-256.DOI:10.16526/j.cnki.11-4762/tp.2024.04.035

基于GD32的网络在线烧写技术研究

Research on Network Online Updating Technology of Based on GD32

宋书龙 1葛露1
扫码查看

作者信息

  • 1. 中国西南电子技术研究所,成都 610036
  • 折叠

摘要

针对国产微控制器终端设备程序升级需要拆卸设备的问题,提出了基于GD32网络在线烧写固件的方案,通过手持控制器实现对终端设备的应用程序软件升级,达到无须仿真器更新固件程序目的;该方案详细论述了在线烧写系统的组成,在应用编程技术的工作原理,以及上位机程序、手持控制器和终端设备模块各功能设计与实现,并给出了各个模块的使用步骤和方法;终端设备采用多分区操作,保证系统在升级过程中即使发生异常,也不会导致产品变砖,充分提高了系统的可维护性与容错性,手持控制器在外场升级携带方便,维护简单、方便、快捷,实验测试表明,在线更新后的固件程序能够正确运行,从而解决外场拆卸产品和挂载仿真器更新程序的困难.

Abstract

Aimed at the program upgrading of domestic micro controller terminal equipment needs to be disassembled,a scheme based on GD32 network online updating firmware is proposed,the application software of terminal devices is upgraded using the hand-held controller,so as to achieve the purpose of updating the firmware program without the emulator.The scheme discusses in detail the compositions of the online updating system,principles of programming techniques,and design and implementation of various func-tions of the upper computer program,handheld controller and terminal equipment module,and provides the usage steps and methods for each module.The terminal equipment software adopts the multi-partition operation to ensure that the system remains functional even in the event of an exception during the upgrading process,which greatly enhances the maintainability and fault tolerance of the online updating system.The handheld controller has the advantages of easy to upgrade and carry in the field,simple,convenient,and fast maintenance.Experimental testing results show that the firmware program after online updating is successful,thereby resolving the difficulties of disassembling products in the field and updating the program with the emulator.

关键词

GD32/IAP/在线升级/手持控制器/以太网

Key words

GD32/in-application programming(IAP)/online update/handheld controller/Ethernet

引用本文复制引用

出版年

2024
计算机测量与控制
中国计算机自动测量与控制技术协会

计算机测量与控制

CSTPCD
影响因子:0.546
ISSN:1671-4598
参考文献量22
段落导航相关论文