<?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のトピックRe: max. download speed over TFTP on MCF5475 with dBUG?</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/max-download-speed-over-TFTP-on-MCF5475-with-dBUG/m-p/162524#M5271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; The awkward thing was that an MPC8536 eval tower downloaded the same file in&lt;/P&gt;&lt;P&gt;&amp;gt; identical scenario in less than 10s (but uboot instead of dBug).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Find out why. Maybe your u-boot supports the "larger block" or "Windowed" options. Check u-boot/net/tftp.c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run Etherial on the PC hosting the TFTP server and examine the packets. if you don't see large blocks or windowing, then there's probably a scheduling difference - maybe the slow one is only polling the Ethernet at a slow rate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; A Freescale remark was that the different cores will cause this gap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unlikely. It is possible DBUG is running the CPU in a very slow mode, slow clock with the caches off or something, and maybe executing directly from FLASH instead of from RAM like u-boot often does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Nov 2010 08:21:00 GMT</pubDate>
    <dc:creator>TomE</dc:creator>
    <dc:date>2010-11-17T08:21:00Z</dc:date>
    <item>
      <title>max. download speed over TFTP on MCF5475 with dBUG?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/max-download-speed-over-TFTP-on-MCF5475-with-dBUG/m-p/162521#M5268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;what is the max. speed over TFTP? I have a 100Mbit connection directly to my PC. A download of a 15MB file has a duration of 75s (ca. 200kB/s). Is this normal? Or how can I speed up it?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 18:42:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/max-download-speed-over-TFTP-on-MCF5475-with-dBUG/m-p/162521#M5268</guid>
      <dc:creator>woel</dc:creator>
      <dc:date>2010-11-11T18:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: max. download speed over TFTP on MCF5475 with dBUG?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/max-download-speed-over-TFTP-on-MCF5475-with-dBUG/m-p/162522#M5269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The "T" in TFTP stands for "Trivial". It is meant for downloading a boot which can then use a REAL protocol to download the rest of the system. Can you download something small that runs FTP or SSH?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;TFTP usually sends one 512-byte packet at a time. So to transfer 15M your PC and Coldfire boards have batted the ball back and forth over the Ethernet 60,000 times (30,000 512-byte data backets and 30000 matching "ack" packets). So you're getting almost 1000 packets/second over 75 seconds. You're probably running into the context-switch limits of the PC.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://en.wikipedia.org/wiki/Trivial_File_Transfer_Protocol" rel="nofollow" target="_blank"&gt;http://en.wikipedia.org/wiki/Trivial_File_Transfer_Protocol&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Note that Windows 2008 introduced pipelined TFTP as part of Windows Deployment Services (WDS) and uses an 8 packet window by default."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So to speed it up you want "pipelined TFTP" or you could do with "large block TFTP" support on both ends, on your PC and in the embedded code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://tools.ietf.org/html/rfc2348" rel="nofollow" target="_blank"&gt;http://tools.ietf.org/html/rfc2348&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Nov 2010 19:46:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/max-download-speed-over-TFTP-on-MCF5475-with-dBUG/m-p/162522#M5269</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2010-11-11T19:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: max. download speed over TFTP on MCF5475 with dBUG?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/max-download-speed-over-TFTP-on-MCF5475-with-dBUG/m-p/162523#M5270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm working along with the original poster.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The awkward thing was that an MPC8536 eval tower downloaded the same file in identical scenario in less than 10s (but uboot instead of dBug).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A Freescale remark was that the different cores will cause this gap.&amp;nbsp; We did not expect that this has so much impact here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regard&lt;/P&gt;&lt;P&gt;Wolfgang R.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Nov 2010 18:00:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/max-download-speed-over-TFTP-on-MCF5475-with-dBUG/m-p/162523#M5270</guid>
      <dc:creator>wrostek</dc:creator>
      <dc:date>2010-11-16T18:00:47Z</dc:date>
    </item>
    <item>
      <title>Re: max. download speed over TFTP on MCF5475 with dBUG?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/max-download-speed-over-TFTP-on-MCF5475-with-dBUG/m-p/162524#M5271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; The awkward thing was that an MPC8536 eval tower downloaded the same file in&lt;/P&gt;&lt;P&gt;&amp;gt; identical scenario in less than 10s (but uboot instead of dBug).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Find out why. Maybe your u-boot supports the "larger block" or "Windowed" options. Check u-boot/net/tftp.c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Run Etherial on the PC hosting the TFTP server and examine the packets. if you don't see large blocks or windowing, then there's probably a scheduling difference - maybe the slow one is only polling the Ethernet at a slow rate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;gt; A Freescale remark was that the different cores will cause this gap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unlikely. It is possible DBUG is running the CPU in a very slow mode, slow clock with the caches off or something, and maybe executing directly from FLASH instead of from RAM like u-boot often does.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 08:21:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/max-download-speed-over-TFTP-on-MCF5475-with-dBUG/m-p/162524#M5271</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2010-11-17T08:21:00Z</dc:date>
    </item>
    <item>
      <title>Re: max. download speed over TFTP on MCF5475 with dBUG?</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/max-download-speed-over-TFTP-on-MCF5475-with-dBUG/m-p/162525#M5272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; Find out why. Maybe your u-boot supports the "larger block"&lt;/P&gt;&lt;P&gt;This is exactly the (major) point. u-boot is supporting &lt;FONT face="Arial, Helvetica"&gt;'don't fragment' and 1514 block size instead of 558.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial, Helvetica"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="Arial, Helvetica"&gt;Wolfgang R.&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Nov 2010 20:13:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/max-download-speed-over-TFTP-on-MCF5475-with-dBUG/m-p/162525#M5272</guid>
      <dc:creator>wrostek</dc:creator>
      <dc:date>2010-11-19T20:13:13Z</dc:date>
    </item>
  </channel>
</rss>

