摘要
为了适应客户需求变化或程序BUG的修改,利用dsPIC33F单片机运行时的自编程特性,实现了基于该单片机的应用程序升级功能。在详细描述基本原理的基础上,给出了引导程序的实现流程图,并提供实现流程中一些关键细节的实现方法,最后对实际应用中的升级正确性及继点续传问题进行了探讨。该方法的实现原理同样适用于其他具备运行时自编程或有应用编程功能的单片机中。
In order to adapt to the change of users' demand or collect some BUG of the software, a method of program updating based on dsPIC33F microcontroller is provided. The general principles are introduced in a detail at first. And then the program flow chart of bootloader is proposed, the implementation way of some key steps is demonstrated. Finally, some problems such as the reliability of program updating and breakpoint transmission are discussed. The method can be used in other microcontrollers which have the ability of run-time self-programming or in application programming.
出处
《现代电子技术》
2011年第4期125-128,共4页
Modern Electronics Technique
作者简介
徐艺文-男,1976年出生,福建漳州人,硕士,讲师。主要研究方向为嵌入式系统及其应用。