李龙光,刘振威,乔海强,窦亚力,高昂.基于CAN总线的STM32F107程序在线升级[J].测控技术,2018,37(9):156-158
基于CAN总线的STM32F107程序在线升级
Online Upgrade of STM32F107 Program Based on CAN
  
DOI:10.19708/j.ckjs.2018.09.036
中文关键词:  STM32  BootLoader;CAN;在线升级
英文关键词:STM32  BootLoader  CAN  online upgrade
基金项目:国家电网公司总部科技项目(520940170017)
作者单位
李龙光 许继电源有限公司 
刘振威 许继电源有限公司 
乔海强 许继电源有限公司 
窦亚力 许继电源有限公司 
高昂 许继电源有限公司 
摘要点击次数: 1480
全文下载次数: 690
中文摘要:
      目前意法半导体公司生产的STM32F107芯片在电力设备控制器领域广泛应用,针对STM32F107程序更新主要通过专用JTAG仿真器对程序进行烧写,不利于产品售后服务的现状,通过研究STM32F107内核的特点,设计出引导程序(BootLoader)的软件结构,划分STM32F107内置Flash地址空间,并对上位机(PC)与MCU之间CAN通信协议进行详细分析。在此基础上提出了一种基于CAN总线的STM32F107程序远程加载技术,使得STM32F107程序的升级脱离仿真器,程序的升级受控于上位机(PC)。实际工程应用表明,此方法在工程应用中极大提高了设备的可维护性,提高了售后人员的工作效率。
英文摘要:
      At present,STMicroelectronics STM32F107 chip is widely used in the field of power equipment controllers.The STM32F107 program update is mainly programmed by a dedicated JTAG emulator,which is not conducive to the status quo of product after-sales service.By studing the characteristics of STM32F107 kernel,the software structure of BootLoader was designed,the built-in Flash address space of STM32F107 was divided,and the CAN communication protocol between PC and MCU was analyzed in detail.On this basis,the remote loading technology for STM32F107 program based on CAN was put forward,so that STM32F107 program can be upgraded without the emulator,the upgrade of the program was controlled by the host computer (PC).The actual engineering application shows that this method greatly inproves the maintainability of the equipment and the working efficiency of the after-sales personnel in the engineering application.
查看全文  查看/发表评论  下载PDF阅读器
关闭