<?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 Software Development Kit中的主题 Re: MSD example</title>
    <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MSD-example/m-p/335842#M185</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I partially solved it.&lt;/P&gt;&lt;P&gt;Setting the USE_RTOS define to 0, when I receive USB_DEV_EVENT_DATA_RECEIVED, SDCARD_DRV_WriteBlocks is called directly and it works. The same for reading operation.&lt;/P&gt;&lt;P&gt;The problem is that the speed is still too slow (I cannot reach 200kB/s)... Is there any trick to improve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Feb 2015 09:33:12 GMT</pubDate>
    <dc:creator>mircopizzichini</dc:creator>
    <dc:date>2015-02-02T09:33:12Z</dc:date>
    <item>
      <title>MSD example</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MSD-example/m-p/335841#M184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've just installed KDS with Kinetis SDK, and I'm trying to build some examples before porting my Codewarrior project, where I access SD card through USB.&lt;/P&gt;&lt;P&gt;Currently I'm checking if MSD example (located in KSDK_1.1.0\usb\example\device\msd) works. I was able to build and download that project for my twrk60: when I plug-in USB cable a new mass storage is detected on PC and I can see files on SD card!&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem is when I try to write data (or read) on SD card from PC. The USB_MSC_DEVICE_WRITE_REQUEST event is correctly asserted, but nothing is written on the card.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the problem?&lt;/P&gt;&lt;P&gt;Why in this example you advise using OS MsgQueue instead of direct SDCARD_DRV_WriteBlocks? I tried also using directly the driver API, but maybe I'm wrong to pass function arguments, it doesn't work.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;Mirco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jan 2015 15:25:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MSD-example/m-p/335841#M184</guid>
      <dc:creator>mircopizzichini</dc:creator>
      <dc:date>2015-01-30T15:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: MSD example</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MSD-example/m-p/335842#M185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I partially solved it.&lt;/P&gt;&lt;P&gt;Setting the USE_RTOS define to 0, when I receive USB_DEV_EVENT_DATA_RECEIVED, SDCARD_DRV_WriteBlocks is called directly and it works. The same for reading operation.&lt;/P&gt;&lt;P&gt;The problem is that the speed is still too slow (I cannot reach 200kB/s)... Is there any trick to improve it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Feb 2015 09:33:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MSD-example/m-p/335842#M185</guid>
      <dc:creator>mircopizzichini</dc:creator>
      <dc:date>2015-02-02T09:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: MSD example</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MSD-example/m-p/335843#M186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mirco&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please compare the following (there are versions for all K60 tower boards)&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K60N512.html" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K60N512.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K60D100M.html" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K60D100M.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K60F120M.html" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K60F120M.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you find its USB-MSD SD card speed is adequate you may prefer to use it - it builds out-of-the-box with KDS and allows the card to operate as USB-MSD as well as with a web server and FTP.&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;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Kinetis: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis.html" target="_blank"&gt;http://www.utasker.com/kinetis.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;K60: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K60N512.html" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K60N512.html&lt;/A&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K60D100M.html" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K60D100M.html&lt;/A&gt;&lt;SPAN&gt; / &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.utasker.com/kinetis/TWR-K60F120M.html" target="_blank"&gt;http://www.utasker.com/kinetis/TWR-K60F120M.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Feb 2015 02:45:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MSD-example/m-p/335843#M186</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-02-17T02:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: MSD example</title>
      <link>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MSD-example/m-p/335844#M187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mircopozzichini,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried the demo you mentioned, no need to modify the code, the write speed can reach 256KB/s, please kindly refer to the following for details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="sdk.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/50805iA7314C7A230FC1C5/image-size/large?v=v2&amp;amp;px=999" role="button" title="sdk.png" alt="sdk.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;so maybe the SD card class level is the bottleneck , my SD card is SanDisk Class 4 8GB, what about yours?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Feb 2015 07:45:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Software-Development-Kit/MSD-example/m-p/335844#M187</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2015-02-26T07:45:39Z</dc:date>
    </item>
  </channel>
</rss>

