<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>ColdFire/68K Microcontrollers and Processorsのトピックmcf5223x InterNiche Stack dropping udp packets</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5223x-InterNiche-Stack-dropping-udp-packets/m-p/172904#M6528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;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:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;tftp_udpsend(): udp_send() error -22&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;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?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is the code where it happens the most:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;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);&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;nbsp;Has anyone else run into this problem?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you&lt;/DIV&gt;&lt;DIV&gt;Todd&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Oct 2020 09:21:25 GMT</pubDate>
    <dc:creator>admin</dc:creator>
    <dc:date>2020-10-29T09:21:25Z</dc:date>
    <item>
      <title>mcf5223x InterNiche Stack dropping udp packets</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5223x-InterNiche-Stack-dropping-udp-packets/m-p/172904#M6528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;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:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;tftp_udpsend(): udp_send() error -22&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;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?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is the code where it happens the most:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;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);&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;nbsp;Has anyone else run into this problem?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you&lt;/DIV&gt;&lt;DIV&gt;Todd&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:21:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5223x-InterNiche-Stack-dropping-udp-packets/m-p/172904#M6528</guid>
      <dc:creator>admin</dc:creator>
      <dc:date>2020-10-29T09:21:25Z</dc:date>
    </item>
    <item>
      <title>Re: mcf5223x InterNiche Stack dropping udp packets</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5223x-InterNiche-Stack-dropping-udp-packets/m-p/172905#M6529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi Todd,&lt;BR /&gt;&lt;BR /&gt;I don't have anything specific to your problem but a bug I have just found may apply:&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;I hope that helps.&lt;BR /&gt;Trevor&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2008 18:49:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/mcf5223x-InterNiche-Stack-dropping-udp-packets/m-p/172905#M6529</guid>
      <dc:creator>TrevorCurry_eu</dc:creator>
      <dc:date>2008-01-04T18:49:34Z</dc:date>
    </item>
  </channel>
</rss>

