摘要: 针对高端定点数字信号处理器(DSP)芯片TMS320C6455的以太网外设EMAC模块,借鉴socket编程思想,设计一种用户数据报协议(UDP)协议栈。通过裁减socket编程机制中的冗余,实现数据在以太网中的高效传输,并提供类似socket的接口函数。测试结果表明,该协议栈占用资源少、效率高、代码优化方便。
关键词:
TMS320C6455芯片,
以太网,
嵌入式系统,
用户数据报协议
Abstract: Texas Instrument released its fixed point production of TMS320C6455, which is favored by many users, as its abundant peripheral resources. The design makes use of its Ethernet peripheral module EMAC realizing the User Datagram Protocol(UDP) stack. It adopts an original method instead of the traditional way, which is relied on the socket. With the reduction of unnecessary part in socket, it achieves high performance of receiving and transmission by the stack developed by ourselves and provide standard interface of functions according with socket. Simulation results of this stack are given and it indicate the stack has many merit such as simplification, high performance, modification convenience.
中图分类号:
陈巍, 宋华伟, 金梁. 基于DSP的UDP协议栈的设计与实现[J]. 计算机工程, 2011, 37(11): 248-250.
CHEN Wei, SONG Hua-Wei, JIN Liang. Design and Realization of UDP Stack Based on DSP[J]. Computer Engineering, 2011, 37(11): 248-250.