<?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 FFS Wearleveling and Sector Size Questions in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-Wearleveling-and-Sector-Size-Questions/m-p/555930#M16489</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've done a test using the example of writing/reading to/from the NAND Flash directly and got really good speed results:&lt;/P&gt;&lt;P&gt;~1.563MB/Sec.&lt;/P&gt;&lt;P&gt;Then i've done a test using the example of writing/reading to/from the NAND Flash using the MFS installed on the FFS and got bad speed results:&lt;/P&gt;&lt;P&gt;~28KB/Sec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few questions:&lt;/P&gt;&lt;P&gt;1. Why is there such a big difference between the speed results? x57 times slower using the FFS.&lt;/P&gt;&lt;P&gt;2. Is there is any way to disable, bypass or even remove the wearlevel that the ffs driver is using completely?&lt;/P&gt;&lt;P&gt;The reason for that is the BIG overhead that the WL cause and the fact i dont need it at all, since im not going to overwrite data to the NAND flash device.&lt;/P&gt;&lt;P&gt;3. Is there a way to change the number of bytes that the FFS does auto flush (i saw its 4KB sector-size now by default)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all of you who are willing to help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s: I'm using MQX 4.1.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2016 06:50:34 GMT</pubDate>
    <dc:creator>naftalir</dc:creator>
    <dc:date>2016-07-11T06:50:34Z</dc:date>
    <item>
      <title>FFS Wearleveling and Sector Size Questions</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-Wearleveling-and-Sector-Size-Questions/m-p/555930#M16489</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've done a test using the example of writing/reading to/from the NAND Flash directly and got really good speed results:&lt;/P&gt;&lt;P&gt;~1.563MB/Sec.&lt;/P&gt;&lt;P&gt;Then i've done a test using the example of writing/reading to/from the NAND Flash using the MFS installed on the FFS and got bad speed results:&lt;/P&gt;&lt;P&gt;~28KB/Sec.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a few questions:&lt;/P&gt;&lt;P&gt;1. Why is there such a big difference between the speed results? x57 times slower using the FFS.&lt;/P&gt;&lt;P&gt;2. Is there is any way to disable, bypass or even remove the wearlevel that the ffs driver is using completely?&lt;/P&gt;&lt;P&gt;The reason for that is the BIG overhead that the WL cause and the fact i dont need it at all, since im not going to overwrite data to the NAND flash device.&lt;/P&gt;&lt;P&gt;3. Is there a way to change the number of bytes that the FFS does auto flush (i saw its 4KB sector-size now by default)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks to all of you who are willing to help...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s: I'm using MQX 4.1.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 06:50:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-Wearleveling-and-Sector-Size-Questions/m-p/555930#M16489</guid>
      <dc:creator>naftalir</dc:creator>
      <dc:date>2016-07-11T06:50:34Z</dc:date>
    </item>
    <item>
      <title>Re: FFS Wearleveling and Sector Size Questions</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-Wearleveling-and-Sector-Size-Questions/m-p/555931#M16490</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Naftalir:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Why is there such a big difference between the speed results? x57 times slower using the FFS.&lt;/P&gt;&lt;P&gt;[I think this difference is result from the MFS overhead ]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2.Is there is any way to disable, bypass or even remove the wearlevel that the ffs driver is using completely?&lt;/P&gt;&lt;P&gt;[&lt;/P&gt;&lt;P&gt;If you need to bypass wearlevel, you can use NAND flash IO driver.&amp;nbsp; It provides some simple POSIX like abstraction layer between the user code (application), and NFC hw module. POSIX like means that the nand flash driver provides io functions: open, read, write, close, ioctl.&amp;nbsp; we have an example&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_2\mqx\examples\nandflash&lt;/P&gt;&lt;P&gt;]&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3 Is there a way to change the number of bytes that the FFS does auto flush (i saw its 4KB sector-size now by default)?&lt;/P&gt;&lt;P&gt;[Not sure I understand your meaning, could you clarify it ?]&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>Mon, 11 Jul 2016 11:11:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/FFS-Wearleveling-and-Sector-Size-Questions/m-p/555931#M16490</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-07-11T11:11:04Z</dc:date>
    </item>
  </channel>
</rss>

