摘要
为了解决嵌入式系统主流控制器DSP28335程序升级维护不便、成本高的问题,提出了一种通过异步串行通信接口SCI向片内FLASH在线编程的方法。将特定的GPIO引脚状态配置为SCI引导模式,DSP芯片上电自检后调用BootLoader中的SCI_Boot函数,将烧写控制程序通过SCI口下载到片上SARAM,然后调用API功能函数将用户程序固化到FLASH。实验结果表明,该方法有效可行,简单方便,可脱离JTAG仿真器进行操作,提高了传输距离,降低了成本。
In order to solve the problems of maintenance inconvenience and higher cost in the mainstream embedded DSP28335 system, this paper proposes an online on-chip FLASH programming method through asynchronous serial communication inter- face (SCI) ,. The particular state of the GPIO pins is configured as a SCI boot mode and the DSP chips calls SCI Boot function of BootLoader after power-on self-test, Then, the burning control program is downloaded to the on-chip SARAM by the SCI_ interface and calls the API functions to the user program to burned into the FLASH. The experiment shows that the method is effective and feasible, simple and convenient, can be broken away from the JTAG emulator for operation, which has improved the transmission distance and reduced the costs.
出处
《河北科技大学学报》
CAS
2013年第4期318-324,共7页
Journal of Hebei University of Science and Technology