This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem with RX packets


Hi All,

I am working on MIPS32 Amazon-E platform. I am writing a DMA driver and facing problems while receiving (also sending) packets.

I am getting both TX and RX interrupts correctly. But while receiving packets (or even when sending packets), I observed unexpected results.

I tried to "ping" from a linux PC (IP address is 192.168.10.101 i.e. C0 : A8 : 1 : 65) to Amazon-E board (IP address of Amazon-E board is 192.168.1.2 i.e. C0 : A8 : 1 : 2), but it's receiving 64 bytes [ FF : FF : FF : FF : FF : FF : 0 : 8 : A1 : 4F : D : FA : *C0 : A8* : 0 : 1 : 8 : 0 : 6 : 4 : 0 : 1 : C0 : A8 : 1 : 2 : 0 : 0 : 0 : 0 : 1 : 65 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : FB : 40 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 0 : 43 : 84 ] packets (instead of 42 bytes expected for ARP).

I have also observed that the *Type/Length* field of Ethernet II header seems wrong to me. This should be 806 for ARP.

I have no idea about why this is happening. Can anyone please give me any clue?

Waiting for your help.

Thanks in advance.

Regards,
debdas


-- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]