作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2011, Vol. 37 ›› Issue (11): 248-250. doi: 10.3969/j.issn.1000-3428.2011.11.086

• 工程应用技术与实现 • 上一篇    下一篇

基于DSP的UDP协议栈的设计与实现

陈 巍,宋华伟,金 梁   

  1. (国家数字交换系统工程技术研究中心,郑州 450002)
  • 收稿日期:2010-11-10 出版日期:2011-06-05 发布日期:2011-06-05
  • 作者简介:陈 巍(1985-),男,硕士研究生,主研方向:第三代移动通信,嵌入式系统;宋华伟,讲师;金 梁,教授、博士生导师
  • 基金资助:
    国家“863”计划基金资助项目(2009AA011202, 2009AA 011205)

Design and Realization of UDP Stack Based on DSP

CHEN Wei, SONG Hua-wei, JIN Liang   

  1. (National Digital Switching System Engineering & Technological R&D Center, Zhengzhou 450002, China)
  • Received:2010-11-10 Online:2011-06-05 Published:2011-06-05

摘要: 针对高端定点数字信号处理器(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.

中图分类号: