Ethernet problem M52233demo, send double messages

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

Ethernet problem M52233demo, send double messages

1,268 次查看
VeronicaFNX
Contributor I

Hello, i have a problem with ethernet. When i use the eth_stub_send() function the message is always sent twice! But i know the function is only called once. I send double messages and I don't know the solution. Can you help me? Thanks. Regards
Veronica

标签 (1)
0 项奖励
回复
1 回复

356 次查看
mjbcswitzerland
Specialist V
Veronica

Try using two tx buffer decriptors rather than one (which I assume you presently have). My experience is that a frame in a single buffer description is always sent twice, which never happens when more than one buffer is available. You can also prepare the frame to be transmitted to be chained in 2 buffer descriptions (eg. IP part in first and UDP etc. part in second). which shoud stop it happening.

If you find another solution, please also let us know!!

Regards

Mark Butcher

Message Edited by mjbcswitzerland on 2007-02-0607:28 PM

0 项奖励
回复