<?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>MQX Software SolutionsのトピックRe: How to speed up USB MSD data transfer in usd- device example?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-speed-up-USB-MSD-data-transfer-in-usd-device-example/m-p/263295#M7866</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pramod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually there are two examples available for your reference, one is a mfs demo mounted on a sdcard, you may find it in "C:\Freescale\Freescale_MQX_4_1\mfs\examples\sdcard", and the other is a usb msd device demo for ramdisk, which can be found in "C:\Freescale\Freescale_MQX_4_1\usb\device\examples\msd". and if you looked into the USB stack ver 4.1.1, there is a ready bare matel project for that topic, which can be found in "C:\Freescale\Freescale USB Stack v4.1.1\Source\Device\app\msd\iar_ew\kinetis_60", you may find that demo provide SPI and ESDHC support for SD card, so maybe this demo would be more helpful to speed up your application design:smileyhappy:Please kindly refer to the following for more details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43009iE177EAF62EDCE5E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;B.R&lt;/P&gt;&lt;P&gt;Kan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Mar 2014 09:25:47 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2014-03-06T09:25:47Z</dc:date>
    <item>
      <title>How to speed up USB MSD data transfer in usd- device example?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-speed-up-USB-MSD-data-transfer-in-usd-device-example/m-p/263292#M7863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I have modified C:\Freescale\Freescale_MQX_4_0\usb\device\examples\msd example to USB SDcard MSD and its working fine on twrk60n512 . Now I want to increase the speed of data transfer over USB. I defined HIGH_SPEED_DEVICE to 1 to improve the speed, but now the program is going to despatch.s. Will this work correctly or i went wrong somewhere? Can anyone help on this to improve data transfer rate over USB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pramod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Feb 2014 09:46:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-speed-up-USB-MSD-data-transfer-in-usd-device-example/m-p/263292#M7863</guid>
      <dc:creator>pramodk_g_</dc:creator>
      <dc:date>2014-02-27T09:46:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to speed up USB MSD data transfer in usd- device example?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-speed-up-USB-MSD-data-transfer-in-usd-device-example/m-p/263293#M7864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PRAMOD:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I assume you are using usb full speed mode, you can try the following steps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;1.- Open the USB libraries project, located on the following path: \...\Freescale MQX 4.0\usb\host\build\cw10\&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;2.- On this project, search the file “khci.c“ file, in line 964: _mqx_int delay_const = 10;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;3.- Change to _mqx_int delay_const = 1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;4.-Search now the file “host_cnfg.h“, and go to line 89: #define USBCFG_DEFAULT_MAX_NAK_COUNT (15) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;5.-Change to #define USBCFG_DEFAULT_MAX_NAK_COUNT (150) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;6.- Recompile the USB libraries, and then, the BSP and the PSP&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;/P&gt;&lt;P&gt;Daniel&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>Mon, 03 Mar 2014 12:33:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-speed-up-USB-MSD-data-transfer-in-usd-device-example/m-p/263293#M7864</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2014-03-03T12:33:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to speed up USB MSD data transfer in usd- device example?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-speed-up-USB-MSD-data-transfer-in-usd-device-example/m-p/263294#M7865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Daniel&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thanks for your response. But am using usb device msd application, so will there be any change i if am modifying the usb host section code? .Actually i want to use sdcard as mass storage device, so which example i would use, host or device?&amp;nbsp;&amp;nbsp; If i want to use device example is there any way speed up the file transfer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please reply your thoughts on this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Pramod.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 11:55:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-speed-up-USB-MSD-data-transfer-in-usd-device-example/m-p/263294#M7865</guid>
      <dc:creator>pramodk_g_</dc:creator>
      <dc:date>2014-03-04T11:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to speed up USB MSD data transfer in usd- device example?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-speed-up-USB-MSD-data-transfer-in-usd-device-example/m-p/263295#M7866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pramod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually there are two examples available for your reference, one is a mfs demo mounted on a sdcard, you may find it in "C:\Freescale\Freescale_MQX_4_1\mfs\examples\sdcard", and the other is a usb msd device demo for ramdisk, which can be found in "C:\Freescale\Freescale_MQX_4_1\usb\device\examples\msd". and if you looked into the USB stack ver 4.1.1, there is a ready bare matel project for that topic, which can be found in "C:\Freescale\Freescale USB Stack v4.1.1\Source\Device\app\msd\iar_ew\kinetis_60", you may find that demo provide SPI and ESDHC support for SD card, so maybe this demo would be more helpful to speed up your application design:smileyhappy:Please kindly refer to the following for more details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/43009iE177EAF62EDCE5E9/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;B.R&lt;/P&gt;&lt;P&gt;Kan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Mar 2014 09:25:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-speed-up-USB-MSD-data-transfer-in-usd-device-example/m-p/263295#M7866</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2014-03-06T09:25:47Z</dc:date>
    </item>
  </channel>
</rss>

