mcf5223x InterNiche Stack dropping udp packets

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

mcf5223x InterNiche Stack dropping udp packets

1,599件の閲覧回数
admin
Specialist II
I am trying to send out a couple of udp packets at a time and the stack seems to drop some of the packets in the send_arp function. I see the error:
 
 tftp_udpsend(): udp_send() error -22
 
on the hyper terminal. I narrowed it down to the SEND_DROPPED error it is returning. Is this because I am not putting a delay in between sending each packet?
 
This is the code where it happens the most:
 
Code:
emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff ), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+500) , 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+1000), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+1500), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+2000), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+2500), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+3000), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+3500), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+4000), 1000);emg_udpsend( replyip, TESTFIX_FPORT, TESTFIX_LPORT, (void *)(data_buff+4500), 1000);

 Has anyone else run into this problem?
 
Thank you
Todd
ラベル(1)
0 件の賞賛
返信
1 返信

578件の閲覧回数
TrevorCurry_eu
Contributor I
Hi Todd,

I don't have anything specific to your problem but a bug I have just found may apply:

I have a serial to TCP application that was periodically dropping a transmit - the TCP retransmit timeout kicked in so the message was not lost but the extra latency was the problem. This turned out to be the setup in fec_init() where the RCR and TCR had different duplex settings (DRT and FDEN bits were both set). Since I was running half duplex, I cleared the TDR, FDEN bit and the problem went away.

I hope that helps.
Trevor
0 件の賞賛
返信