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.

RE: TMDSCNCD28388D: C2000 ETHERNET

Other Parts Discussed in Thread: C2000WARE

好的,感谢

还有个问题想请教一下,IPC通信没能成功。

我想从CPU1发送数据给CM4核,但是我在例程enet_lwip中加入了IPC(IPC程序来自于ethernet_ipc_ex1_basic_cm例程)(运行在CM4核),同时,也在ethernet_c28x_config例程中加入了IPC程序(ipc程序来自于ethernet_ipc_ex1_basic_c28x1例程中)(运行在CPU1核中)。

现在的现象是:

IPC_sendCommand(IPC_CPU1_L_CM_R, IPC_FLAG0, IPC_ADDR_CORRECTION_ENABLE,IPC_CMD_READ_MEM, (uint32_t)packetData, PACKET_LENGTH);中的PACKET_LENGTH是可以在enet_lwip中观察到变化的。

但是packetData却始终没有改变。(我思考的是,有可能是我没有改对IPC数据包的位置和数据)

ethernet_c28x_config.rarenet_CM_lwip.rar

这是我修改后的例程。还请帮忙看一下,什么原因,导致CPU1的数据发送不到CM4核中呢?

特来请教

谢谢