摘要
针对DSP程序更新主要在计算机环境下完成,不利于程序保密及在线更新的现状,提出一种基于CKFA方案的DSP程序更新方法。该方法将通讯内核及Flash API算法(CKFA)和待更新程序存储于便携式下载器片内Flash中。DSP目标板上电时选择SCI启动模式,由处于BootRom中的Bootloader负责CKFA内核的接收。CKFA接收完毕后,系统将自动运行处于RAM中的CKFA程序。之后CKFA程序与下载器交互,接收更新程序,经过CRC16校验之后,执行Flash API函数烧写到片内Flash中,从而实现脱离计算机环境下的程序升级。该方案可使程序更新过程快速可靠,而且下载设备便携、界面友好、容易操作且保密性强,可有效提高DSP产品的保密性以及售后服务质量。
Aimed at the current situation of updating DSP programs in the computer environment,which goes against the program's secrecy and online updating,an DSP program updating project based on CKFA method was put forward.The CKFA kernel and the updating program were both stored in the on-chip Flash of a potable downloader.The DSP target board boots in SCI-Mode,and the bootloader embedded in bootrom was responsible for receiving this CKFA kernel.After receiving it,the system runs this CKFA in RAM automatically.CKFA communicates with the downloader,receiving updating program,and burning the received data into Flash after CRC16 verification.This project realizes program's updating method without computer device,that makes updating procedure rapid and reliable.The downloader was potable,user-friendly,easy to operate and high-secrecy,which will enhance the secrecy and quality of the production's after-service effectively.
出处
《自动化与仪表》
北大核心
2013年第11期39-43,共5页
Automation & Instrumentation