基于STM32的高可靠IAP在线烧写设计  被引量:14

Online burning design of high reliability IAP based on STM32

在线阅读下载全文

作  者:李光学[1] 郭燕红[1] 李超[1] 岳宗帅 宋茜[1] Li Guangxue;Guo Yanhong;Li Chao;Yue Zongshuai;Song Qian(Beijing Research Institute of Precision Mechatronics and Controls,Beiiing 100076,China)

机构地区:[1]北京精密机电控制设备研究所

出  处:《电子测量技术》2018年第17期105-109,共5页Electronic Measurement Technology

摘  要:在基于STM32微处理器的基础上,针对嵌入式设备程序升级难的问题,从系统原理、软件流程设计、代码跳转运行、向量表重定位、HEX文件格式、单帧消息格式定义以及可靠性设计等方面详细介绍了IAP(in-application programming)的设计方案和实现方法,给出了关键技术的代码实现,设计了利用RS232串口进行通信的烧写实例,编写了上位机客户端,经实际测试表明,采用该IAP设计可以很好的实现STM32微处理器程序在线烧写及远程升级,方案可靠便捷、通用性好,可避免升级过程中的误码,突发中断等问题,具有良好的推广价值。On the basis of STM32 microprocessor,for the difficult problem of program burning and upgrading,it expounds the IAP design scheme and realization method from the system principle,software process design,code running jump,vector table relocation,HEX file format,single frame message format definition,the reliability design and so on,the code implementation of key technology is given,an program burning example of the communication with RS232 serial port is designed,and the client of the upper computer is written.The test shows that the IAP design can be used to achieve the program online burning and remote upgrading of STM32 microprocessor.This scheme is reliable and convenient,and has good universality.It can avoid the errors in the upgrade process and the sudden interruption,which have good promotion value.

关 键 词:STM32 IAP 在线烧写 高可靠 上位机 

分 类 号:TN919.64[电子电信—通信与信息系统]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象