<?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>Kinetis Microcontrollers中的主题 Re: TWR-K65F180M non-functional USB</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628953#M37814</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hao, I've found the buffer sizes and increased it which provides a better transfer rate: 16 KB read buffer gives an average of 6,5 MB/second. This is more in the direction of what's desired but it also made me curious of what is the maximum possible.&lt;/P&gt;&lt;P&gt;By the way, the link is unavailable to me, I an unauthorized to visit (while logged in).&lt;/P&gt;&lt;P&gt;Looking at the post of Mark, we're not planning on having concurrent file system access so block SD card access may also provide some additional gain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 Oct 2016 08:59:07 GMT</pubDate>
    <dc:creator>bartrijvers</dc:creator>
    <dc:date>2016-10-13T08:59:07Z</dc:date>
    <item>
      <title>TWR-K65F180M non-functional USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628947#M37808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We've ordered a&amp;nbsp;TWR-K65F180M board to evaluate the USB mass storage speed for a project we need to do. We already have this evaluated on a K64F using the SD card FreeRTOS example and found the speed insufficient.&lt;/P&gt;&lt;P&gt;Loading the same example from the K65F SDK 2.0 (downloaded yesterday) into the K65F board does not do anything; my Windows 7 PC does not recognize any USB device being plugged in. It even turns out that any other USB example does not register any USB device in Windows.&lt;/P&gt;&lt;P&gt;All jumper settings are as the board arrived and we've tested some different settings with no results.&lt;/P&gt;&lt;P&gt;We also tried different micro-USB cables and tried on a different Windows 7 PC, all having no result at all.&lt;/P&gt;&lt;P&gt;The only mod to the board was flashing a JLink debugger into the bootloader.&lt;/P&gt;&lt;P&gt;I'm using Kinetis Design Studio 3.2.0 with all updates installed.&lt;/P&gt;&lt;P&gt;I could use help urgently...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 07:49:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628947#M37808</guid>
      <dc:creator>bartrijvers</dc:creator>
      <dc:date>2016-10-12T07:49:35Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K65F180M non-functional USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628948#M37809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using breakpoints I see that the USB0 interrupt is only fired when disconnecting the USB cable, not when connecting the cable...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 08:33:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628948#M37809</guid>
      <dc:creator>bartrijvers</dc:creator>
      <dc:date>2016-10-12T08:33:30Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K65F180M non-functional USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628949#M37810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Try a binary from &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis%2FTWR-K65F180M.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K65F180M.html&lt;/A&gt;&lt;BR /&gt;to check that there are no USB HW problems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;BR /&gt;&lt;SPAN&gt;Kinetis for professionals: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 10:11:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628949#M37810</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-10-12T10:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K65F180M non-functional USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628950#M37811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We 've got the example going when we switched from the default config KHCI to EHCI.&lt;/P&gt;&lt;P&gt;However, we cannot seem to get a higher transfer rate (read to Windows) than 1.2 MB/second from an SD card. Putting the SD card in a USB card reader gets 10 to 15 times better transfer rate.&lt;/P&gt;&lt;P&gt;This is for SD card FreeRTOS Mass storage example running in release mode (no debugger attached). The same example but bare metal does not improve this as also the Ramdisk example does not give much improvements.&lt;/P&gt;&lt;P&gt;I hope the CPU is capable of giving true High Speed transfer capability and there is a software bottleneck that can be resolved or we need to re-solder some resistor.&lt;/P&gt;&lt;P&gt;I'll try the utasker binary next.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 13:38:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628950#M37811</guid>
      <dc:creator>bartrijvers</dc:creator>
      <dc:date>2016-10-12T13:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K65F180M non-functional USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628951#M37812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bart&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bottle-neck is generally the SD card itself. They are quite slow when accessed using sector reads (CMD 17). Block reads (CMD 18) speed things up (for reading and especially writing: CMD 25) by the sort of factor you are seeing with external readers.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Most code will be based on sector reads (for simplicity and reliability). The uTasker includes block writes as an option but it is not used on the Kinetis due to problems with its SDHC (in fact I never tried it, or block reads on the K65, where it may have been solved (?)).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For USB-MSD, block operations are suitable as long as no other accesses to the SD card can take place (eg. from other tasks which may be using the card as well). &lt;EM&gt;Multiple-users are not possible due to the fact that transfers cannot be paused as discussed in the following threads&lt;/EM&gt;:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;A class="jive-link-comment-small" href="https://community.nxp.com/thread/319204?commentID=457706#comment-457706"&gt;https://community.nxp.com/message/457706?commentID=457706#comment-457706&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-comment-small" href="https://community.nxp.com/thread/429571?commentID=808281#comment-808281"&gt;https://community.nxp.com/message/808281?commentID=808281#comment-808281&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;BR /&gt;&lt;SPAN&gt;Kinetis for professionals: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.utasker.com%2Fkinetis.html" rel="nofollow" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Oct 2016 16:55:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628951#M37812</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2016-10-12T16:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K65F180M non-functional USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628952#M37813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bart,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check the following community link about checking HS USB and SDHC performance with MK26 which is with the same family as K65. Though the test is made with KSDK1.2 code, but I think it should apply as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="link-titled" href="https://community.nxp.com/message/552720?commentID=552720#comment-552720" title="https://community.nxp.com/message/552720?commentID=552720#comment-552720"&gt;https://community.nxp.com/message/552720?commentID=552720#comment-552720&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I found is the internal receive and transfer buffer size can impact a lot for the actual transfer speed you get.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hao&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 06:47:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628952#M37813</guid>
      <dc:creator>cutworth</dc:creator>
      <dc:date>2016-10-13T06:47:55Z</dc:date>
    </item>
    <item>
      <title>Re: TWR-K65F180M non-functional USB</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628953#M37814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hao, I've found the buffer sizes and increased it which provides a better transfer rate: 16 KB read buffer gives an average of 6,5 MB/second. This is more in the direction of what's desired but it also made me curious of what is the maximum possible.&lt;/P&gt;&lt;P&gt;By the way, the link is unavailable to me, I an unauthorized to visit (while logged in).&lt;/P&gt;&lt;P&gt;Looking at the post of Mark, we're not planning on having concurrent file system access so block SD card access may also provide some additional gain.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Oct 2016 08:59:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/TWR-K65F180M-non-functional-USB/m-p/628953#M37814</guid>
      <dc:creator>bartrijvers</dc:creator>
      <dc:date>2016-10-13T08:59:07Z</dc:date>
    </item>
  </channel>
</rss>

