TMS320C6416程序以太网远程更新技术研究

2014-06-30 18:38:22陈绍炜魏刚王子
现代电子技术 2014年12期

陈绍炜 魏刚 王子

摘 要: 针对脱离调试器下,DSP远程软件维护和升级问题,从TI C6000系列DSP程序自加载原理出发,提出了一种基于简单文件传输协议(TFTP)和可用于无操作系统平台的程序远程更新方案,给出了系统软件设计结构,重点设计了程序加载更新的过程,并通过移植轻型TCP/IP协议栈(LwIP),实现了网络协议在DSP平台下的高效稳定嵌入。工程实践表明,该方案优化了网络协议对系统资源的开销,提高了DSP下以太网功能开发的灵活性,有益于系统性能的提升和改进。

关键词: 数字信号处理器; 远程加载; 轻型TCP/IP协议栈; 简单文件传输协议; TMS320C6416

中图分类号: TN711?34; TP368.1 文献标识码: A 文章编号: 1004?373X(2014)12?0125?04

Abstract:In view of remote software maintenance and update of DSP without debugger, a scheme of remote update for DSP program which is based on trivial file transfer protocol (TFTP) and can be applied to a platform without operation system is proposed according to bootloading principle of TI C6000 series DSP. A hierarchical structure of system software design laying emphasis on the procedure of program loading and updating is presented. High efficiency and stability embedding of the network protocol is realized in DSP platform by transplanting the lightweight TCP/IP stack (LwIP). Project practice indicates that the scheme optimizes the expense of system resource from network protocol, improves the flexibility of Ethernet development on DSP, and is beneficial to promote the system performance.

Keywords: DSP; remote loading; LwIP; TFTP; TMS320C6416

随着DSP在航空航天、通信、汽车电子、工业仪器仪表、图形图像处理等领域应用的不断深入,DSP软件的远程维护和升级也逐渐成为工程应用的研究热点。

文献[1]提出了一种基于以太网和TCP/IP协议的远程更新方案,给出了系统软硬件设计流程。但该文并未给出DSP下TCP/IP协议的嵌入细节,缺少具体的工程实现方法,其所设计的自加载引导过程也不能直接应用于需二次加载的C6000系列DSP。文献[2]也提出了一种基于网络的远程加载方案,文中给出了C6000系列DSP二次加载过程,但该方案的以太网功能开发基于TI提供的网络开发套件NDK(Network Developer′s Kit),仅适用于内部集成以太网控制器的DSP型号。文献[3]提出了一种基于HPI引导方式的以太网远程加载方案,但该方案要求系统必须具有主从式双DSP处理器。

本文在深入分析C6000系列DSP自加载原理的基础上……

登录APP查看全文