<?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: FFS fsclose required?</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-fsclose-required/m-p/345601#M11138</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD"&gt;Hi &lt;SPAN&gt;Petr&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Have a look at the new &lt;SPAN&gt;nand&lt;/SPAN&gt; &lt;SPAN&gt;ffs&lt;/SPAN&gt; example in MQX 4.1.1. MQX 4.1.1 release notes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX-4216 &lt;SPAN class="GramE"&gt;The&lt;/SPAN&gt; FFS NAND Flash &lt;SPAN&gt;FFlush&lt;/SPAN&gt; malfunction issue is fixed. The IO_IOCTL_FLUSH_OUTPUT &lt;SPAN&gt;ioctl&lt;/SPAN&gt; is introduced to flush media on FFS NAND memory and make sure that the flush process is complete. The low-level flush on MFS is implemented when closing the file handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have a procedure of flushing data without closing the file &lt;SPAN class="GramE"&gt;system&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; "&lt;/SPAN&gt;&lt;SPAN&gt;return_code&lt;/SPAN&gt; = fflush(filesystem_handle);”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 07 Sep 2014 10:04:47 GMT</pubDate>
    <dc:creator>LuisCasado</dc:creator>
    <dc:date>2014-09-07T10:04:47Z</dc:date>
    <item>
      <title>FFS fsclose required?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-fsclose-required/m-p/345600#M11137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;can someone please explain how to correctly write data to NAND flash using the FFS subsystem? In the mfs_nandflash demo, I can open the filesystem and read/write data from/to it, everything works fine. The only problem is that written data is not persistent unless I close the filesystem (fsclose) after the changes performed, i.e. if I simply write a file and turn off the power, the change is gone after I turn the power on again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, if I want to write a file, do I always have to close the filesystem to make the changes persistent? That doesn't seem to me like a good solution (by the way it also looses the point of MFS generality then). Or is this just a kind of misbehaviour on my side (maybe a wrong configuration)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 06 Sep 2014 20:02:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-fsclose-required/m-p/345600#M11137</guid>
      <dc:creator>kubiznak_petr</dc:creator>
      <dc:date>2014-09-06T20:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: FFS fsclose required?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-fsclose-required/m-p/345601#M11138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD"&gt;Hi &lt;SPAN&gt;Petr&lt;/SPAN&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="ES-TRAD" style="mso-ansi-language:ES-TRAD"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Have a look at the new &lt;SPAN&gt;nand&lt;/SPAN&gt; &lt;SPAN&gt;ffs&lt;/SPAN&gt; example in MQX 4.1.1. MQX 4.1.1 release notes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MQX-4216 &lt;SPAN class="GramE"&gt;The&lt;/SPAN&gt; FFS NAND Flash &lt;SPAN&gt;FFlush&lt;/SPAN&gt; malfunction issue is fixed. The IO_IOCTL_FLUSH_OUTPUT &lt;SPAN&gt;ioctl&lt;/SPAN&gt; is introduced to flush media on FFS NAND memory and make sure that the flush process is complete. The low-level flush on MFS is implemented when closing the file handler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you have a procedure of flushing data without closing the file &lt;SPAN class="GramE"&gt;system&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; "&lt;/SPAN&gt;&lt;SPAN&gt;return_code&lt;/SPAN&gt; = fflush(filesystem_handle);”&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 07 Sep 2014 10:04:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-fsclose-required/m-p/345601#M11138</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2014-09-07T10:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: FFS fsclose required?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-fsclose-required/m-p/345602#M11139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect Luis, that's exactly what I wanted. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 05:32:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-fsclose-required/m-p/345602#M11139</guid>
      <dc:creator>kubiznak_petr</dc:creator>
      <dc:date>2014-09-08T05:32:25Z</dc:date>
    </item>
  </channel>
</rss>

