This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F28379D: C2000™︎ 微控制器论坛

Part Number: TMS320F28379D

运行官方给出的emif_w5300_tcp例程:实现 10/100 ETH(CON11)网口 TCP 通讯功能,上位机(Client)通过 TCP 发送数据至DSP(Server),DSP 将所接收到的数据发回上位机,再通过串口打印测试结果。

tcp socket工具中连接成功,显示发送接收数据都是对的,但数组data_buf的值就是错的。

SocketTool_NoAD调试工具显示网口接收数据都是正常的:

而且终端打印出的的数据长度也是对的:

但为什么数组data_buf中的值就出错了。