雷卫延,敖振浪,周钦强.基于STM32的在应用编程(IAP)开发[J].电子测量技术,2015,38(5):62-66
基于STM32的在应用编程(IAP)开发
In application programming(IAP) development based on STM32
  
DOI:
中文关键词:  关键词:STM32  在应用编程(IAP)  应用程序(APP)  ymodem协议  程序更新
英文关键词:Keywords: STM32  in application programming(IAP)  application(APP)  ymodem protocol  program update
基金项目:广东省气象局科技(2013B15)项目
作者单位
雷卫延,敖振浪,周钦强 广东省大气探测技术中心 
AuthorInstitution
Lei Weiyan,Ao Zhenlang,Zhou Qinqiang Guangdong Atmospheric Sounding Technology Center 
摘要点击次数: 2724
全文下载次数: 1216
中文摘要:
      针对嵌入式终端设备程序升级困难的问题,设计了一种基于STM32的远程升级方案。该方案系统深入地研究了Ymodem协议的通信流程,以及基于STM32的在应用编程(IAP)的技术原理和关键技术的实现,关键技术包括程序起始位置和中断向量表设置、APP程序区flash擦除、APP程序写入flash、IAP跳转到APP程序等4个部分,利用RS232标准串口实现了上位机与嵌入式终端设备之间基于Ymodem协议的通信,即嵌入式终端设备的远程在线即时更新功能,实际应用表明,该方案具有良好的应用价值和推广价值。
英文摘要:
      About the embedded terminal equipment upgrade difficult problem, this paper designs a remote upgrading scheme based on STM32. The scheme study the communication flow of Ymodem protocol, and IAP technology principle and IAP function realization based on STM32, including set the initial position and the interrupt vector table, APP program area flash erase, APP program written in flash, IAP jumps to APP procedures and so on. This paper using the RS232 standard serial port realizes the communication between PC and embedded terminal equipment based on Ymodem Protocol, namely embedded terminal equipment real time updates by remote mode. Experiments show that, the design has good application value and extension value.
查看全文  查看/发表评论  下载PDF阅读器