<?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: esdhc problem since MQX 4.1 in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/esdhc-problem-since-MQX-4-1/m-p/448382#M15014</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Reinhard Grauli:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the &lt;STRONG&gt;mfs_sdcard_frdmk64f&lt;/STRONG&gt; example from MQX 4.1.0, which has the shell and I did not have any performance issues. Are you able to provide a test case (number of writes, size of the read/writes, number of directories, etc) which leads to recreate the issue?&lt;/P&gt;&lt;P&gt;Also there was a pair of bugs with MFS, which are discussed in the next threads, along with possible causes involving task priorities and stack overflows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/450143"&gt;File writing tasks silently failing on K60 and K64F&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/441581"&gt;Re: Bug Report: MQX 4.1.1 MFS write does not update MQX_FILE size so fseek IO_SEEK_END does not work.&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your project is not in an advanced stage then you could migrate to the latest MQX v4.2, with an improved MFS. There is a change log in the next link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXCHLGUG.pdf" title="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXCHLGUG.pdf"&gt;http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXCHLGUG.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Jul 2015 00:09:28 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2015-07-11T00:09:28Z</dc:date>
    <item>
      <title>esdhc problem since MQX 4.1</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/esdhc-problem-since-MQX-4-1/m-p/448381#M15013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we use MQX 4.1 on K63. After systemrestart file access on SD_Card is correct. But after a few write calls the transferrate ist very very slow. Even a 'dir' gives only one line per 5 seconds. This is not on USB devices, so I think it must be a esdhc driver problem. The older hardware based on K60 running with MQX 4.0.2 doesn't have that problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 06:40:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/esdhc-problem-since-MQX-4-1/m-p/448381#M15013</guid>
      <dc:creator>reinhardgrauli</dc:creator>
      <dc:date>2015-07-02T06:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: esdhc problem since MQX 4.1</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/esdhc-problem-since-MQX-4-1/m-p/448382#M15014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Reinhard Grauli:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tested the &lt;STRONG&gt;mfs_sdcard_frdmk64f&lt;/STRONG&gt; example from MQX 4.1.0, which has the shell and I did not have any performance issues. Are you able to provide a test case (number of writes, size of the read/writes, number of directories, etc) which leads to recreate the issue?&lt;/P&gt;&lt;P&gt;Also there was a pair of bugs with MFS, which are discussed in the next threads, along with possible causes involving task priorities and stack overflows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/450143"&gt;File writing tasks silently failing on K60 and K64F&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/message/441581"&gt;Re: Bug Report: MQX 4.1.1 MFS write does not update MQX_FILE size so fseek IO_SEEK_END does not work.&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your project is not in an advanced stage then you could migrate to the latest MQX v4.2, with an improved MFS. There is a change log in the next link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXCHLGUG.pdf" title="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXCHLGUG.pdf"&gt;http://cache.freescale.com/files/soft_dev_tools/doc/support_info/MQXCHLGUG.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Jul 2015 00:09:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/esdhc-problem-since-MQX-4-1/m-p/448382#M15014</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-07-11T00:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: esdhc problem since MQX 4.1</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/esdhc-problem-since-MQX-4-1/m-p/448383#M15015</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;may be that's right. First I tried the new (from MQX4.2) sdcard low level driver. I found, that after a write() call there should be a fflush() and my filetest loop worked fine.&lt;/P&gt;&lt;P&gt;In the next step we found, that a copy from sd_card to usb_drive didn't work and stops working after some MB transfered filedata.&lt;/P&gt;&lt;P&gt;Now I took the mfs and usb part from MQX4.2 and it looks fine (for the moment). Only a few optimizations in USB_host_cnf are done.&lt;/P&gt;&lt;P&gt;(all this troubles never happend in MQX4.0.2)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a few hours later ...&lt;/P&gt;&lt;P&gt;there is a problem with _io_seek() und _io_read() call in a loop, while scanning text from a file. This issue is new and doesn't exist in MQX 4.1 (or 4.0.2). ...&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;Reinhard Grauli&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jul 2015 05:22:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/esdhc-problem-since-MQX-4-1/m-p/448383#M15015</guid>
      <dc:creator>reinhardgrauli</dc:creator>
      <dc:date>2015-07-13T05:22:55Z</dc:date>
    </item>
  </channel>
</rss>

