<?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>topic Re: USB OTG Mass Storage Pefromance in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314327#M41290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry, but the information you are requesting is treated as confidential info at this time and requires a signed NDA (Non-Disclosure Agreement). Naturally, we cannot discuss this with you in public anyway, this requires to be handled as a Service Request (SR). Be aware that to give you remote support through a SR, we will still need the confirmation of a Freescale employee that the NDA is in place. If you want to go this route, the next steps will be: If you have already signed a NDA agreement for this product, please contact the person who assisted you or create a SR and name us a Freescale person that can confirm this. If you have not signed an agreement, please contact your local Freescale Distributor Salesperson or FAE for assistance. For a listing of our distributors, refer to: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/overview.jsp?code=DISTRIBUTORS"&gt;http://www.freescale.com/webapp/sps/site/overview.jsp?code=DISTRIBUTORS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Sergio&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>Wed, 04 Jun 2014 21:36:59 GMT</pubDate>
    <dc:creator>SergioSolis</dc:creator>
    <dc:date>2014-06-04T21:36:59Z</dc:date>
    <item>
      <title>USB OTG Mass Storage Pefromance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314326#M41289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Greetings All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am getting sub-par read performance from the USB OTG port of a IMX6Q in host mode.&amp;nbsp; The g_mass_storage driver is used with a mSATA SSD drive file backing to transfer many large files (up to ninety ~350MB files) from the IMX's to my PC.&amp;nbsp; However, read transfer rates are around 2-3 MB per second with my expectation for the high speed port to be 20+ MBs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The software release we are using is the Yocto 3.10.17 dora release.&amp;nbsp; I checked everything I could think of in the IMX6 system and from what I can tell the drivers are configured for hi-speed 480mps.&amp;nbsp; It should also be noted that the mSATA SSD drive is formatted as a FAT32.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mass Storage Setup&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;unmount /media/sda1&lt;/P&gt;&lt;P&gt;modprobe g_mass_storage file=/dev/sda&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;STRONG&gt;The&amp;nbsp; following is printed after loading the g_mass_storage module.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt; &lt;EM&gt;g_mass_storage gadget: Mass Storage Gadget, version: 2009/09/11&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;g_mass_storage gadget: userspace failed to provide iSerialNumber&lt;/EM&gt;&lt;BR /&gt; &lt;EM&gt;g_mass_storage gadget: g_mass_storage ready&lt;/EM&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;g_mass_storage gadget: high-speed config #1: Linux File-Backed Storage&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;STRONG&gt;"lsusb -t" prints&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt; &lt;EM&gt;/:&amp;nbsp; Bus 01.Port 1: Dev 1, class="root_hub", Driver=ci_hdrc/1p, 480M&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;STRONG&gt;sys info verifies usb device 1 version is 2.0 and speed is 480 mps&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt; # /sys/bus/usb/devices/usb1/version &lt;BR /&gt; 2.0&lt;BR /&gt; &lt;BR /&gt; # /sys/bus/usb/devices/usb1/speed&lt;BR /&gt; 480&lt;/SPAN&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;The Write and Read performance of the SSD drive using dd commands has been very good at +60MBs so I don't think it is the bottleneck.&amp;nbsp; Although, I am getting the following errors when reading from the device.&amp;nbsp; Hopefully this can be cleared up with a &lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;reformat and this does not indicate the drive is failing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ata1.00: status: { DRDY }&lt;/P&gt;&lt;P&gt;ata1: hard resetting link&lt;/P&gt;&lt;P&gt;ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)&lt;/P&gt;&lt;P&gt;ata1.00: configured for UDMA/33&lt;/P&gt;&lt;P&gt;ata1: EH complete&lt;/P&gt;&lt;P&gt;ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x280100 action 0x6 frozen&lt;/P&gt;&lt;P&gt;ata1.00: irq_stat 0x08000000, interface fatal error&lt;/P&gt;&lt;P&gt;ata1: SError: { UnrecovData 10B8B BadCRC }&lt;/P&gt;&lt;P&gt;ata1.00: failed command: READ FPDMA QUEUED&lt;/P&gt;&lt;P&gt;ata1.00: cmd 60/00:00:f8:f4:01/01:00:00:00:00/40 tag 0 ncq 131072 in&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; res 40/00:04:f8:f4:01/00:00:00:00:00/40 Emask 0x10 (ATA bus error)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Can anyone help explain the slow transfer rates?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Sincerely,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Matthew&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12.0pt; font-family: 'Times New Roman','serif';"&gt;Edit:&lt;BR /&gt;Mistakenly said SD instead of SSD&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: Matthew Reynolds&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2014 17:54:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314326#M41289</guid>
      <dc:creator>matthewreynolds</dc:creator>
      <dc:date>2014-06-04T17:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: USB OTG Mass Storage Pefromance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314327#M41290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Sorry, but the information you are requesting is treated as confidential info at this time and requires a signed NDA (Non-Disclosure Agreement). Naturally, we cannot discuss this with you in public anyway, this requires to be handled as a Service Request (SR). Be aware that to give you remote support through a SR, we will still need the confirmation of a Freescale employee that the NDA is in place. If you want to go this route, the next steps will be: If you have already signed a NDA agreement for this product, please contact the person who assisted you or create a SR and name us a Freescale person that can confirm this. If you have not signed an agreement, please contact your local Freescale Distributor Salesperson or FAE for assistance. For a listing of our distributors, refer to: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.freescale.com/webapp/sps/site/overview.jsp?code=DISTRIBUTORS"&gt;http://www.freescale.com/webapp/sps/site/overview.jsp?code=DISTRIBUTORS&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;BR /&gt;Sergio&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>Wed, 04 Jun 2014 21:36:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314327#M41290</guid>
      <dc:creator>SergioSolis</dc:creator>
      <dc:date>2014-06-04T21:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: USB OTG Mass Storage Pefromance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314328#M41291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not sure how you're measuring, but I'm seeing ~18MB/s using dd:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14019292805883033" jivemacro_uid="_14019292805883033" modifiedtitle="true"&gt;
&lt;P&gt;~/$ sudo dd if=/dev/sdd bs=1M count=20 of=/dev/null&lt;/P&gt;
&lt;P&gt;[sudo] password for ericn: &lt;/P&gt;
&lt;P&gt;20+0 records in&lt;/P&gt;
&lt;P&gt;20+0 records out&lt;/P&gt;
&lt;P&gt;20971520 bytes (21 MB) copied, 1.12867 s, 18.6 MB/s&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And slightly less copying from a FAT32 partition:&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_14019293299655950" jivemacro_uid="_14019293299655950" modifiedtitle="true"&gt;
&lt;P&gt;~/$ ls -lh /media/ericn/prodtest/&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;-rw-r--r-- 1 ericn ericn&amp;nbsp; 33M Jun&amp;nbsp; 3 16:17 vivante.squashfs&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: rgba(0, 0, 0, 0); font-family: Consolas, 'Courier New', Courier, mono, serif; font-size: 12px;"&gt;~/$ t&lt;/SPAN&gt;ime cp -fv /media/ericn/prodtest/vivante.squashfs ./&lt;/P&gt;
&lt;P&gt;‘/media/ericn/prodtest/vivante.squashfs’ -&amp;gt; ‘./vivante.squashfs’&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't really trust either without disabling caching though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested on a Nitrogen6x and this image:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="http://boundarydevices.com/a-very-expensive-sd-card-reader" rel="nofollow noopener noreferrer" title="http://boundarydevices.com/a-very-expensive-sd-card-reader" target="_blank"&gt;http://boundarydevices.com/a-very-expensive-sd-card-reader&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 00:51:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314328#M41291</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2014-06-05T00:51:15Z</dc:date>
    </item>
    <item>
      <title>Re: USB OTG Mass Storage Pefromance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314329#M41292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The difference in speed is probably from using a mSATA Solid State Drive (SSD) that is much faster than micro SD cards.&amp;nbsp; I mistakenly said SD in my first post, which was misleading.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Running the same dd test resulted in 200MB/s (20MB in 0.1 Sec). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;20MB read - 200MB/s&lt;/P&gt;&lt;P&gt;time sudo dd if=/dev/sda bs=1M count=20 of=/dev/null&lt;/P&gt;&lt;P&gt;20+0 records in&lt;/P&gt;&lt;P&gt;20+0 records out&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;real&amp;nbsp;&amp;nbsp;&amp;nbsp; 0m0.099s&lt;/P&gt;&lt;P&gt;user&amp;nbsp;&amp;nbsp;&amp;nbsp; 0m0.010s&lt;/P&gt;&lt;P&gt;sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0m0.080s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1GB read - 102MB/s&lt;/P&gt;&lt;P&gt;time sudo dd if=/dev/sda bs=1M count=1000 of=/dev/null&lt;/P&gt;&lt;P&gt;real&amp;nbsp;&amp;nbsp;&amp;nbsp; 0m9.737s&lt;BR /&gt;user&amp;nbsp;&amp;nbsp;&amp;nbsp; 0m0.000s&lt;BR /&gt;sys&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0m7.270s&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The USB transfer rates were obtained from the file copy dialog boxes on my PC when moving files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 01:24:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314329#M41292</guid>
      <dc:creator>matthewreynolds</dc:creator>
      <dc:date>2014-06-05T01:24:05Z</dc:date>
    </item>
    <item>
      <title>Re: USB OTG Mass Storage Pefromance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314330#M41293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matthew,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your numbers are obviously for either USB 3.0 or SATA connection (&amp;gt;480 Mbits/s).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The numbers I posted above were through USB 2.0 and the Mass Storage Gadget. Isn't that what you were after?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 03:09:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314330#M41293</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2014-06-05T03:09:49Z</dc:date>
    </item>
    <item>
      <title>Re: USB OTG Mass Storage Pefromance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314331#M41294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, I am seeking to improve the performance of the USB 2.0 and Mass Storage Gadget.&amp;nbsp; I appologize, but I misunderstood how you used dd.&amp;nbsp; I ran the command on my IMX system, while I think you ran yours on a linux desktop, which would have tested the USB 2.0 transfer rates.&amp;nbsp; The 102MBs numbers I got would be only the read rate of the SSD drive through the mSATA connection.&amp;nbsp; Sorry for the confusion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had used Nautilus or Windows Explorer on my desktop to transfer files and the rate was poor.&amp;nbsp; While my performance numbers of the SSD drive through the mSATA are very good (102MBs), they drop to 2-3MBs through the USB with the g_mass_storage driver.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 16:23:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314331#M41294</guid>
      <dc:creator>matthewreynolds</dc:creator>
      <dc:date>2014-06-05T16:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: USB OTG Mass Storage Pefromance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314332#M41295</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just to clarify, my tests were from my laptop (running Ubuntu 14.04) and one of our i.MX6 boards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The transfer throughput of ~150Mbit/s didn't change much between accessing SD or SATA connected to the Nitrogen6x.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2014 16:39:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314332#M41295</guid>
      <dc:creator>EricNelson</dc:creator>
      <dc:date>2014-06-05T16:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: USB OTG Mass Storage Pefromance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314333#M41296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you again for the test data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem on our board seems to be from a failing drive.&amp;nbsp; I replaced it with a new one and the speeds jumped up to around 15MB/s, which is close to what you had measured.&amp;nbsp;&amp;nbsp; Those error messages also stopped with the new drive installed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2014 16:54:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314333#M41296</guid>
      <dc:creator>matthewreynolds</dc:creator>
      <dc:date>2014-06-10T16:54:43Z</dc:date>
    </item>
    <item>
      <title>Re: USB OTG Mass Storage Pefromance</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314334#M41297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Eric,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may have jumped the gun in marking my answer correct.&amp;nbsp;&amp;nbsp; My guess is that it is more likely a driver problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have been unmounting the SSD before loading the g_mass storage driver.&amp;nbsp;&amp;nbsp; This seems to work good the fist time after a reboot, but the speed drops and the following ata errors continuously print as files are read through the USB the second time. &lt;/P&gt;&lt;P&gt;&lt;EM&gt;ata1: hard resetting link&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 310)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ata1.00: configured for UDMA/33&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ata1: EH complete&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ata1.00: exception Emask 0x10 SAct 0x1 SErr 0x280100 action 0x6 frozen&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ata1.00: irq_stat 0x08000000, interface fatal error&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ata1: SError: { UnrecovData 10B8B BadCRC }&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ata1.00: failed command: READ FPDMA QUEUED&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ata1.00: cmd 60/00:00:58:a4:14/01:00:00:00:00/40 tag 0 ncq 131072 in&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; res 40/00:04:58:a4:14/00:00:00:00:00/40 Emask 0x10 (ATA bus error)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;ata1.00: status: { DRDY }&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The speed remains fast and I don't get those errors if I don't unmount however, the IMX file system gets out of sync to any changes done from the PC side.&amp;nbsp; In other words, after unloading g_mass_storage the IMX does not "see" added or removed by the PC.&amp;nbsp; The only way I know how to resync the file system is by umounting and remounting the volume, but then I run into the ata errors above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am considering doing a sync &amp;amp;&amp;amp; reboot like in your article after unloading the g_mass_storage.&amp;nbsp; This would not be ideal because our system takes around 25 seconds to shutdown and start up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any thoughts on how to resync the system or the ata errors?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Matthew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jun 2014 00:07:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/USB-OTG-Mass-Storage-Pefromance/m-p/314334#M41297</guid>
      <dc:creator>matthewreynolds</dc:creator>
      <dc:date>2014-06-19T00:07:50Z</dc:date>
    </item>
  </channel>
</rss>

