我用的是C6657_EMAC_Example这里例程,C6657和PC通过网线直接连接
问题一:我加了IP头,以太网帧协议字段也改成了0x0800(IP协议),没加FCS字段。用wireshark可以抓到数据包,但是自己写的IP包嗅探程序就抓不到...
问题二:PC端发的包,dsp收不到。我在PC端使用原始套接字发送的
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.
谢谢回帖,我换了个账号,之前是zfyseu
----------------------------------------------
嗅探不到是因为要在MAC抓包才可以,后来用的winpcap就可以接收到dsp发来的数据了
dsp接收不到,后来就莫名其妙的可以接收到了,目的MAC写的就是板子的MAC