<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>DSP Support Forum: Message List - sendto retruns correct bytes but nothing goes out on the wire for BF537, receive is fine</title>
    <link>http://ez.analog.com/community/blackfin-processors?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Wed, 24 Jun 2009 17:34:10 GMT</pubDate>
    <generator>Clearspace 2.5.7 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-06-24T17:34:10Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: sendto returns correct bytes but nothing goes out on the wire for BF537, receive is fine</title>
      <link>http://ez.analog.com/message/2152?tstart=0#2152</link>
      <description>&lt;!-- [DocumentBodyStart:8f2f4c3f-4f4a-42a9-8e22-08827dae1096] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;In my example, the remote IP is set to 192.168.1.100 which is my PC address. You need to change it to your target to make the example work. &lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8f2f4c3f-4f4a-42a9-8e22-08827dae1096] --&gt;</description>
      <pubDate>Wed, 24 Jun 2009 17:34:10 GMT</pubDate>
      <author>analog@sgaur.hosted.jivesoftware.com</author>
      <guid>http://ez.analog.com/message/2152?tstart=0#2152</guid>
      <dc:date>2009-06-24T17:34:10Z</dc:date>
      <clearspace:dateToText>4 months, 4 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: sendto returns correct bytes but nothing goes out on the wire for BF537, receive is fine</title>
      <link>http://ez.analog.com/message/2173?tstart=0#2173</link>
      <description>&lt;!-- [DocumentBodyStart:80888e9e-1591-4e3f-8e75-a12b8d66b6cd] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;We have now confirmed it is a Windows issue, when monitored in Linux the packets are being sent properly.&lt;/p&gt;&lt;p&gt;Will update when we find and fix the problem.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:80888e9e-1591-4e3f-8e75-a12b8d66b6cd] --&gt;</description>
      <pubDate>Wed, 24 Jun 2009 16:41:34 GMT</pubDate>
      <author>analog@sgaur.hosted.jivesoftware.com</author>
      <guid>http://ez.analog.com/message/2173?tstart=0#2173</guid>
      <dc:date>2009-06-24T16:41:34Z</dc:date>
      <clearspace:dateToText>4 months, 4 weeks ago</clearspace:dateToText>
    </item>
    <item>
      <title>Re: sendto returns correct bytes but nothing goes out on the wire for BF537, receive is fine</title>
      <link>http://ez.analog.com/message/2172?tstart=0#2172</link>
      <description>&lt;!-- [DocumentBodyStart:df4ff7e4-c20d-4f97-a3e7-1dfc6a11096d] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Hi&lt;/p&gt;&lt;p&gt;I got a linksys wireless router so I could duplicat what your envirnment is for using 192.168.1.100; It did not work.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am using the following:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;ADSP-BF537 EZKIT LITE 2.2&lt;/p&gt;&lt;p&gt;Phytec PCM 975 with BF-537 daughter card&lt;/p&gt;&lt;p&gt;another&lt;/p&gt;&lt;p&gt;Phytec PCM 975 with BF-537 daughter card&lt;/p&gt;&lt;p&gt;custom hardware with BF-537 daughter card&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;All the results are the same, something is on the wire it is not recognised by with PC host () or Wireshark.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am using Update 6 of the IDDE and yet I get a different size for the DXE than you do. There are lots of things that me do this and I don't beleive it is a problem as yet.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Maybe there is an uniinitialized register someplace, I am not aware of.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Tom&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:df4ff7e4-c20d-4f97-a3e7-1dfc6a11096d] --&gt;</description>
      <pubDate>Wed, 24 Jun 2009 16:31:02 GMT</pubDate>
      <author>analog@sgaur.hosted.jivesoftware.com</author>
      <guid>http://ez.analog.com/message/2172?tstart=0#2172</guid>
      <dc:date>2009-06-24T16:31:02Z</dc:date>
      <clearspace:dateToText>4 months, 4 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
    </item>
    <item>
      <title>Re: sendto returns correct bytes but nothing goes out on the wire for BF537, receive is fine</title>
      <link>http://ez.analog.com/message/2143?tstart=0#2143</link>
      <description>&lt;!-- [DocumentBodyStart:a951287f-c6e1-4db2-be62-dc5275531b38] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;Change the remote ip to 192.168.36.51. Please also find attached an example I just made with your code. It worked well - sendto returns 100 and wireshark sees the packets correctly.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:a951287f-c6e1-4db2-be62-dc5275531b38] --&gt;</description>
      <pubDate>Tue, 23 Jun 2009 18:39:56 GMT</pubDate>
      <author>analog@sgaur.hosted.jivesoftware.com</author>
      <guid>http://ez.analog.com/message/2143?tstart=0#2143</guid>
      <dc:date>2009-06-23T18:39:56Z</dc:date>
      <clearspace:dateToText>5 months, 18 hours ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
    </item>
    <item>
      <title>Re: sendto returns correct bytes but nothing goes out on the wire for BF537, receive is fine</title>
      <link>http://ez.analog.com/message/2140?tstart=0#2140</link>
      <description>&lt;!-- [DocumentBodyStart:dc1d1540-efc3-44b5-8588-47815be6afea] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;An Update:&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;TCP functions just fine for RX/TX, UDP receive works fine. I checked the wire and there is "something" comming out on the wire but it looks like garbage. I suspect the LWIP has got the incorrect address for the DMA to the NIC for UDP sendto only, but I am not able to verify. BTW, this same code functions perfectly in Window XP and Linux.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Tom&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:dc1d1540-efc3-44b5-8588-47815be6afea] --&gt;</description>
      <pubDate>Tue, 23 Jun 2009 18:17:30 GMT</pubDate>
      <author>analog@sgaur.hosted.jivesoftware.com</author>
      <guid>http://ez.analog.com/message/2140?tstart=0#2140</guid>
      <dc:date>2009-06-23T18:17:30Z</dc:date>
      <clearspace:dateToText>5 months, 19 hours ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
    </item>
    <item>
      <title>Re: sendto returns correct bytes but nothing goes out on the wire for BF537, receive is fine</title>
      <link>http://ez.analog.com/message/2139?tstart=0#2139</link>
      <description>&lt;!-- [DocumentBodyStart:fe65b605-654e-4c50-9c41-516dfc5afdc2] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;I tried the bind, bind worked and neither send or sento worked returing -1 with a 0 (zero) in the errno. The sento is supposed to do an implicit bind to the target anyway.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Tom&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:fe65b605-654e-4c50-9c41-516dfc5afdc2] --&gt;</description>
      <pubDate>Tue, 23 Jun 2009 17:59:49 GMT</pubDate>
      <author>analog@sgaur.hosted.jivesoftware.com</author>
      <guid>http://ez.analog.com/message/2139?tstart=0#2139</guid>
      <dc:date>2009-06-23T17:59:49Z</dc:date>
      <clearspace:dateToText>5 months, 19 hours ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
    </item>
    <item>
      <title>Re: sendto retruns correct bytes but nothing goes out on the wire for BF537, receive is fine</title>
      <link>http://ez.analog.com/message/2141?tstart=0#2141</link>
      <description>&lt;!-- [DocumentBodyStart:0b43410a-26af-45bb-8fc9-087eefab665e] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;In you code, I did not see bind() function call. Bind the socket to a port before transmitting data.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:0b43410a-26af-45bb-8fc9-087eefab665e] --&gt;</description>
      <pubDate>Tue, 23 Jun 2009 17:48:26 GMT</pubDate>
      <author>analog@sgaur.hosted.jivesoftware.com</author>
      <guid>http://ez.analog.com/message/2141?tstart=0#2141</guid>
      <dc:date>2009-06-23T17:48:26Z</dc:date>
      <clearspace:dateToText>5 months, 19 hours ago</clearspace:dateToText>
      <clearspace:replyCount>6</clearspace:replyCount>
    </item>
    <item>
      <title>sendto retruns correct bytes but nothing goes out on the wire for BF537, receive is fine</title>
      <link>http://ez.analog.com/message/2136?tstart=0#2136</link>
      <description>&lt;!-- [DocumentBodyStart:74ba0a62-014a-42df-b989-dd7221a286ca] --&gt;&lt;div class='jive-rendered-content'&gt;&lt;p&gt;In the myThread.c attached I should see a UDP packet with data = 100 bytes on the wire. I have a cross over cable attached from the Target Board and My PC with a static address of 192.168.136.51&lt;/p&gt;&lt;p&gt; I am usign Wireshark to mintor the wire and setup a receiver in windows to chatch the packet, nothing ever shows up, to window, wireshark but the return byte count from the sendto  is correct.&lt;/p&gt;&lt;p style="min-height: 8pt; height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any Ideas?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:74ba0a62-014a-42df-b989-dd7221a286ca] --&gt;</description>
      <pubDate>Tue, 23 Jun 2009 16:55:25 GMT</pubDate>
      <author>analog@sgaur.hosted.jivesoftware.com</author>
      <guid>http://ez.analog.com/message/2136?tstart=0#2136</guid>
      <dc:date>2009-06-23T16:55:25Z</dc:date>
      <clearspace:dateToText>5 months, 20 hours ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
    </item>
  </channel>
</rss>

