摘要
在大型智能系统中,国产化微控制器被广泛应用于各控制设备终端。各设备终端一般分布环境复杂,结构拆装非常不便,因此传统编程器烧写程序方式难以做到快速简便的系统维护,如何利用设备终端既有现场总线解决设备程序更新维护,是智能系统升级维护的研究热点。文中基于国产化微控制器HWD32F103,运用编程实现对芯片内部闪存存储器的读写控制。借助于设备CAN现场总线,配合上位机实现程序在线加载更新。文中重点介绍在线加载的原理和需要注意的问题。该方法稳定可靠,具有很高的工程应用价值。
In the large-scale intelligent system,domestic microcontrollers are widely used in various control equipment terminals.The distribution environment of each equipment terminal is complex,and it is very inconvenient to dismantle.So,traditional programming method is difficult to maintain the system quickly and simply.How to use the existing fieldbus of equipment terminal to solve the updating and maintenance of equipment program is a research hotspot of intelligent system maintenance.Based on the domestic microcontroller HWD32 F103,programming is used to realize the read-write control of flash memory inside the chip.With the help of CAN fieldbus and the cooperation of host computer,the program can be loaded and updated online.The principles of online loading and the problems needing attention are mainly introduced in this paper.This method is stable and realiable,and has high value on engineering application.
作者
陈振东
周康
韩尧
CHEN Zhendong;ZHOU Kang;HAN Yao(Nanjing Research Institute of Electronics Technology,Nanjing 210039,China)
出处
《现代雷达》
CSCD
北大核心
2022年第5期106-110,共5页
Modern Radar