摘要
介绍一种新的程序在线升级方法,以及程序在线升级方法在嵌入式系统中的应用和实现。设计将从系统原理和实现介绍该程序在线升级方法。设计的核心处理器采用飞思卡尔MC9S12xDT512控制器,利用串口作为通讯方式,自定义通讯协议。上位机将升级文件传送给下位机,下位机将数据解析后存储在内部Flash中。解析成功后下位机通过Bootloader重新装载程序实现程序升级。
This paper introduces a new method of program update online and the method applicated and realizated in embedded system.The method of program update online will be introduced from the system theory and realization.The core processor in the design is freescale MC9S12xDT512 controller,using serial communication and user-defined protocol.PC terminal unit will transfer update file to machine,and the data will be stored in the internal FLASH after parsing.After parsing successed,the machine will reload updated program using Bootloader to realize program update online.
出处
《电子器件》
CAS
2011年第1期108-111,共4页
Chinese Journal of Electron Devices