Bad udp ckecksum Enet_mii_udp demo DEVKIT-MPC5748G

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Bad udp ckecksum Enet_mii_udp demo DEVKIT-MPC5748G

811件の閲覧回数
manuelmoreno-eg
Contributor II

Hi,

I have been testing the enet_mii_udp demo from S32 in a DEVKIT-MPC5748G.

Without modifying the mentioned example, checksum is always 0.

After adding the following lines from discussionMPC5748G ENET :

ENET.TACC.B.PROCHK = 1;  // Enables insertion of protocol checksum

ENET.TACC.B.IPCHK = 1;  // Enables insertion of IP header checksum.
ENET.TFWR.B.STRFWD =1;// Enabled Store And Forward, TFWR[STRFWD] field must be set to use checksum feature

a checksum different to zero is included in the frame. However, Wireshark tells me:

[bad udp cksum ...]

Any suggestions?

I do not understand the sentence from the Reference Manual "The checksum field
must be cleared by the application generating the frame."
Perhaps this is the problem.

Thanks a lot in advance,

Manuel

ラベル(1)
タグ(2)
0 件の賞賛
返信
0 返答(返信)