摘要
在单片机的使用中,难免会遇到程序在线升级的问题,而目前的升级方法大多需要先把待升级的新程序先下载到单片机的存储器(Flash)中,然后再擦除原有程序,再让单片机复位后,即可执行了新的程序;而本文提出了一种新单片机程序在线升级思路,通过对单片机在设计时的改进,即可完成在新程序下载后,通过地址位跳转的方法,无需擦除原有程序,即可执行新程序的方法,提升了单片机在升级过程中的可靠性。
In order to deal with MCU in-system programming, generally new program to be updated is downloaded to the MCU memory (Flash), then the original program is erased and the new program will be executed after MCU reset. We improve the design of MCU to present a new method, which raises the reliability of update MCU program. When the new program is downloaded, it can be executed by jump address without erasing the original one.
出处
《集成电路应用》
2017年第5期30-32,共3页
Application of IC