i.MX6 enhanced transmit buffer - Protocol Specific Checksum failure

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

i.MX6 enhanced transmit buffer - Protocol Specific Checksum failure

跳至解决方案
1,246 次查看
sammy
Contributor I

Hi,

for an avionic project I am sending UDP packets with a UDP data length of 179, 181, 177 bytes from the i.MX6 to a client computer.

I have programmed the i.MX6 bare-bone including the ENET driver and the UDP/IP stack.

The Ethernet packages are send using the enhanced transmit buffer descriptors with full hardware accelerator support enabled (TC, PINS and INS). In addition the application specific flags TO1, R, and L are enabled.

I am sending 3 different UDP packages in a loop with 1000 iterarions and with a waiting time of 2 seconds between each package.

Although I am sending always the same 3 packages (UDP data) I can see on Wireshark that the UDP checksum is sometimes incorrect (please have a look on the attached screen shot).

But for the exact same package it is sometimes correct and sometime incorrect. I looks really like a hardware bug.

Can you please help ? Is this a known issue ?

Thank you in advanced.

Sammy

udp_ckecksum_calc_failure_of_same_data.PNG

标签 (2)
0 项奖励
回复
1 解答
1,125 次查看
sammy
Contributor I

Hi,

I could solve the problem. It is no hardware issue. The problem was that I did not clear the checksum field in all cases, thus a random behavior apperared.

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,126 次查看
sammy
Contributor I

Hi,

I could solve the problem. It is no hardware issue. The problem was that I did not clear the checksum field in all cases, thus a random behavior apperared.

0 项奖励
回复