<?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: Problems Copying USB to SD using MFS and MQX4.0 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632302#M16995</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a custom board. &amp;nbsp;MQX can write to the SD card...it's the data that is corrupt. &amp;nbsp;Not all the file just parts of it. &amp;nbsp;Open the attachment and you can see that the copied file is mostly correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Sep 2016 16:45:46 GMT</pubDate>
    <dc:creator>mrupp_viatechno</dc:creator>
    <dc:date>2016-09-21T16:45:46Z</dc:date>
    <item>
      <title>Problems Copying USB to SD using MFS and MQX4.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632300#M16993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have K70 system running MQX4.0 with both an USB and SD card interface. &amp;nbsp;When using the shell (Shell_Copy) to copy files from the USB card to the SD card, they become corrupt. &amp;nbsp;Copying from SD to USB is not a problem. &amp;nbsp;Attachment is sample corrupt file. &amp;nbsp;The only thing I tried was to increase the shell task's stack size (from 12,000 to 50,000). &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Sep 2016 20:00:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632300#M16993</guid>
      <dc:creator>mrupp_viatechno</dc:creator>
      <dc:date>2016-09-19T20:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problems Copying USB to SD using MFS and MQX4.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632301#M16994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you use TWR-K70 board or your custom board?&lt;/P&gt;&lt;P&gt;I suggest you first check whether SD card is write protected or not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 03:11:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632301#M16994</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-09-21T03:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problems Copying USB to SD using MFS and MQX4.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632302#M16995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is a custom board. &amp;nbsp;MQX can write to the SD card...it's the data that is corrupt. &amp;nbsp;Not all the file just parts of it. &amp;nbsp;Open the attachment and you can see that the copied file is mostly correct.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 16:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632302#M16995</guid>
      <dc:creator>mrupp_viatechno</dc:creator>
      <dc:date>2016-09-21T16:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problems Copying USB to SD using MFS and MQX4.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632303#M16996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We wrote our own copy routine that:&lt;/P&gt;&lt;P&gt;1. Opens (fopen) a 'from' and 'to' file&lt;/P&gt;&lt;P&gt;2. using freads() and fwrites(), copies one file to the other&lt;/P&gt;&lt;P&gt;3. Closes (fclose) both files&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like 'Shell_copy' the hand written copy routine does not function when copying from a USB card to an SD card. &amp;nbsp;&lt;/P&gt;&lt;P&gt;By printing out the 'copied' data we determined that it is the fread() that fails (i.e. it just returns bad data).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;More investigation showed that the first fread() always returns good data but each subsequent ones return bad data. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Sep 2016 18:27:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632303#M16996</guid>
      <dc:creator>mrupp_viatechno</dc:creator>
      <dc:date>2016-09-21T18:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems Copying USB to SD using MFS and MQX4.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632304#M16997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From your description, it seems a MFS issue. I suggest you upgrade to MQX 4.2.0, patched with the latest patch 4.2.0.2. We made some improvements in MFS in this version. I think it may solved your issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Sep 2016 07:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632304#M16997</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-09-22T07:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Problems Copying USB to SD using MFS and MQX4.0</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632305#M16998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The solution was to use our implementation of the 'Shell-copy' and to locate the read buffer in SRAM (not DRAM). &amp;nbsp;Locating the read buffer in SRAM was the key. &amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 18:27:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Problems-Copying-USB-to-SD-using-MFS-and-MQX4-0/m-p/632305#M16998</guid>
      <dc:creator>mrupp_viatechno</dc:creator>
      <dc:date>2016-09-27T18:27:40Z</dc:date>
    </item>
  </channel>
</rss>

