首页 | 本学科首页   官方微博 | 高级检索  
     

基于CAN总线的STM32F107程序在线升级
引用本文:李龙光,刘振威,乔海强,窦亚力,高昂.基于CAN总线的STM32F107程序在线升级[J].测控技术,2018,37(9):156-158.
作者姓名:李龙光  刘振威  乔海强  窦亚力  高昂
作者单位:许继电源有限公司,许继电源有限公司,许继电源有限公司,许继电源有限公司,许继电源有限公司
基金项目:国家电网公司总部科技项目(520940170017)
摘    要:目前意法半导体公司生产的STM32F107芯片在电力设备控制器领域广泛应用,针对STM32F107程序更新主要通过专用JTAG仿真器对程序进行烧写,不利于产品售后服务的现状,通过研究STM32F107内核的特点,设计出引导程序(BootLoader)的软件结构,划分STM32F107内置Flash地址空间,并对上位机(PC)与MCU之间CAN通信协议进行详细分析。在此基础上提出了一种基于CAN总线的STM32F107程序远程加载技术,使得STM32F107程序的升级脱离仿真器,程序的升级受控于上位机(PC)。实际工程应用表明,此方法在工程应用中极大提高了设备的可维护性,提高了售后人员的工作效率。

关 键 词:STM32  BootLoader  CAN  在线升级

Online Upgrade of STM32F107 Program Based on CAN
Abstract: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.
Keywords:STM32  BootLoader  CAN  online upgrade
点击此处可从《测控技术》浏览原始摘要信息
点击此处可从《测控技术》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号