Ethernet problem M52233demo, send double messages

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Ethernet problem M52233demo, send double messages

1,187 Views
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

Labels (1)
0 Kudos
1 Reply

275 Views
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 Kudos