<?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 MSD_MFS file Write crash in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-MSD-MFS-file-Write-crash/m-p/1256586#M18629</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/122302"&gt;@gmula&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MQX V5 is under commercial license. I would suggest you contact &lt;A href="mailto:mqxsales@nxp.com" target="_blank"&gt;mqxsales@nxp.com&lt;/A&gt;&amp;nbsp;for MQX v5 support.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 05 Apr 2021 07:36:23 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2021-04-05T07:36:23Z</dc:date>
    <item>
      <title>USB MSD_MFS file Write crash</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-MSD-MFS-file-Write-crash/m-p/1256177#M18627</link>
      <description>&lt;P&gt;HI all,&lt;/P&gt;&lt;P&gt;I am using MQX v5 (usb stack v2.1) on imx1050 with custom board (hardware is very close to evkb).&lt;/P&gt;&lt;P&gt;Writing file to USB key sometime failed with error 0xA07 on fclose.&lt;/P&gt;&lt;P&gt;When this error occur, i could not write anymore on the key, any other fwrite return A07.&lt;/P&gt;&lt;P&gt;I have performed a USB capture :&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Overview.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141253i5AE233D499F2733B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Overview.JPG" alt="Overview.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErrT.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141254iB17A37761A2EB80B/image-size/large?v=v2&amp;amp;px=999" role="button" title="ErrT.JPG" alt="ErrT.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There is a CRC error on out transaction. Note that the packet size look incorrect.&lt;/P&gt;&lt;P&gt;After that, a correct Out data transaction occurs, but the IN &lt;SPAN&gt;CSW&lt;/SPAN&gt; transaction is missing.&lt;/P&gt;&lt;P&gt;The Host perform &lt;SPAN&gt;Reset Recovery&lt;/SPAN&gt; procedure, but the USBkey always answer with &lt;SPAN&gt;02h&lt;/SPAN&gt;&lt;SPAN&gt;Phase Erro&lt;/SPAN&gt;r :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/141255i06030B48763AD3F9/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 07:08:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-MSD-MFS-file-Write-crash/m-p/1256177#M18627</guid>
      <dc:creator>gmula</dc:creator>
      <dc:date>2021-04-02T07:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: USB MSD_MFS file Write crash</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-MSD-MFS-file-Write-crash/m-p/1256184#M18628</link>
      <description>&lt;P&gt;To find what can cause the original CRC error i have remove all task exept the USB host task.&lt;/P&gt;&lt;P&gt;I have setup 6 task that write on two different file every 100ms.&lt;/P&gt;&lt;P&gt;Everything worked well, i have writed 1h on the USB key without any error.&lt;/P&gt;&lt;P&gt;I was suspecting something wrong in aplication task (embeded wizard) so decided to wrote a very simple Test_LCD task who draw on the LCD screen.Surprisingly with this task, usb write test failed.Whitout, it works. This task only write in the eLCD frame buffer&lt;/P&gt;&lt;P&gt;I have attached the code of those test_task&lt;/P&gt;&lt;P&gt;I can't figure out want's going on here.&lt;/P&gt;&lt;P&gt;I have two question :&lt;/P&gt;&lt;P&gt;How the LCD_test task could cause USB crc error ?&lt;/P&gt;&lt;P&gt;In any case, why the USB host task can't recover this little CRC error ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Apr 2021 07:24:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-MSD-MFS-file-Write-crash/m-p/1256184#M18628</guid>
      <dc:creator>gmula</dc:creator>
      <dc:date>2021-04-02T07:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: USB MSD_MFS file Write crash</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/USB-MSD-MFS-file-Write-crash/m-p/1256586#M18629</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/122302"&gt;@gmula&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MQX V5 is under commercial license. I would suggest you contact &lt;A href="mailto:mqxsales@nxp.com" target="_blank"&gt;mqxsales@nxp.com&lt;/A&gt;&amp;nbsp;for MQX v5 support.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Apr 2021 07:36:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/USB-MSD-MFS-file-Write-crash/m-p/1256586#M18629</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2021-04-05T07:36:23Z</dc:date>
    </item>
  </channel>
</rss>

