<?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: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237945#M6670</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi adt123,&lt;/P&gt;&lt;P&gt;How much data are you writing to the NAND in the 10-15 second interval?&lt;/P&gt;&lt;P&gt;Are you using MQX4.1 or older MQX?&lt;/P&gt;&lt;P&gt;Do you get an error on the fsclose()?&lt;/P&gt;&lt;P&gt;Are you using the mfs_nandflash_twrk60F120m example or your own code?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 19 May 2014 19:23:18 GMT</pubDate>
    <dc:creator>DavidS</dc:creator>
    <dc:date>2014-05-19T19:23:18Z</dc:date>
    <item>
      <title>Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237926#M6651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the FFS library with the example project (&lt;A href="https://community.nxp.com/docs/DOC-94186"&gt;NAND Flash File System patch for Freescale MQX™ RTOS 4.0.0&lt;/A&gt;). After running the format command from the shell I always get 10 723 328 bytes free disk space.&lt;/P&gt;&lt;P&gt;I want to enlarge the drive to cover e.g. 100M of NANDFLASH. I tried modifiying NANDFLASH_1ST_DATA_DRIVE_SIZE_IN_BLOCK but without effect.&lt;/P&gt;&lt;P&gt;Has anyone got a hint for me, please? Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Jun 2013 06:43:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237926#M6651</guid>
      <dc:creator>friederschrempf</dc:creator>
      <dc:date>2013-06-25T06:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237927#M6652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Frieder,&lt;/P&gt;&lt;P&gt;I opened the nandflash_wl.ffs.h header in the ffs_twrk70f120m project and changed the define as follows:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; #define NANDFLASH_1ST_DATA_DRIVE_SIZE_IN_BLOCK 200 &lt;/SPAN&gt;&lt;SPAN style="color: #3f7f5f; font-size: 10pt;"&gt;//DES was 90&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Recompile the ffs, then recompile the mfs_nandflash_twrk70f120m example project and it did increase the disk space.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ScreenHunter_23 Jun. 27 13.26.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39606iA60F3F22178CB062/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScreenHunter_23 Jun. 27 13.26.gif" alt="ScreenHunter_23 Jun. 27 13.26.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note that the default 90 size gave a 10.7MB disk and a 200 size gave a 251MB size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the example we have is generating (or partitioning) a small disk on the NAND flash and not making it one big disk.&lt;/P&gt;&lt;P&gt;The specific NAND device information is in the bsp_twrk70f120m MT29F2G16.c file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I changed the block to 1937 (2048-110-1) I got a big disk.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="ScreenHunter_24 Jun. 27 13.35.gif"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/39726i23E09C3D8F5084E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="ScreenHunter_24 Jun. 27 13.35.gif" alt="ScreenHunter_24 Jun. 27 13.35.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Jun 2013 18:31:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237927#M6652</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2013-06-27T18:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237928#M6653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your detailed instructions!&lt;/P&gt;&lt;P&gt;I have tried this before. Now I had a closer look at the recompiled library and found out, that the nandflash_wl_ffs.h file in the library directory was somehow not replaced by the new one. I deleted it manually. Rebuild again and then it worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 07:02:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237928#M6653</guid>
      <dc:creator>friederschrempf</dc:creator>
      <dc:date>2013-06-28T07:02:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237929#M6654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you. It worked for me also. I want to ask you that after power on reset if I call "fsopen" it says "you must format disk to continue". I lose all of my data, if I format. How can I solve this. I attached the console output also , too show what I did.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="por.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/119537i9137809DAB9C0CA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="por.png" alt="por.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 10:47:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237929#M6654</guid>
      <dc:creator>okaner</dc:creator>
      <dc:date>2013-06-28T10:47:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237930#M6655</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Okan,&lt;/P&gt;&lt;P&gt;You must issue a "fsclose" after adding files/directories to the NAND device.&amp;nbsp; Then you are OK to power off and then power on, issue "fsopen" and life should be good.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 15:56:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237930#M6655</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2013-06-28T15:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237931#M6656</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David, thank you...&lt;/P&gt;&lt;P&gt;It worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried couple of things. If you call "fsclose", you don't lose anything with POR. But if you made change in file and reset your device, you lose your changes. Isn't it a bug. For example, I have log file and I am continuously writing in it, suddenly power is gone. After reset I lost all of my data. Should I call fsclose and fsopen after any changes in filesystem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Okan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 16:55:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237931#M6656</guid>
      <dc:creator>okaner</dc:creator>
      <dc:date>2013-06-28T16:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237932#M6657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Okan,&lt;/P&gt;&lt;P&gt;It is all up to user how to implement.&amp;nbsp; Other customers I have open, write, close a log file just to ensure the data is good should there be a brown out or total lose of power.&lt;/P&gt;&lt;P&gt;I'm heading out on vacation so not back until July 8th.&lt;/P&gt;&lt;P&gt;You might snoop around to see if there is a flush command that might help. &lt;/P&gt;&lt;P&gt;But in general the FAT table is in RAM and if power gone file system gets corrupted.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 17:56:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237932#M6657</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2013-06-28T17:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237933#M6658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;Thank you... Have a nice vacation..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 18:15:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237933#M6658</guid>
      <dc:creator>okaner</dc:creator>
      <dc:date>2013-06-28T18:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237934#M6659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Just calling "fflush (filesystem_handle)" after changing file solve this problem. Thank you...&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Okan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Jun 2013 18:36:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237934#M6659</guid>
      <dc:creator>okaner</dc:creator>
      <dc:date>2013-06-28T18:36:10Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237935#M6660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Okan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried the same call to fflush(...) but it doesn't work for me. While trying to understand what happens,&amp;nbsp; I have seen the function _io_nandflash_wl_ioctl() doesn't make anything in the case of IO_IOCTL_FLUSH_OUTPUT command... Can you tell me what does fflush(...) function execute in your case? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Aug 2013 09:18:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237935#M6660</guid>
      <dc:creator>jessg_</dc:creator>
      <dc:date>2013-08-06T09:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237936#M6661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I installed mqx 4.0.2 and new ffs. I have done same steps but now I get smaller disk size. Do you have any idea. Thank you. TWRK60f120m. I was successful on mqx 4.0.1.&lt;/P&gt;&lt;P&gt;nandflash_wl_ffs.h&lt;/P&gt;&lt;P&gt;#define NANDFLASH_1ST_DATA_DRIVE_SIZE_IN_BLOCK 1937&lt;/P&gt;&lt;P&gt;#define NANDFLASH_1ST_DATA_DRIVE_START_BLOCK 110&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Formating...&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Done. Volume name is&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;Free disk space: 126212096 bytes&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Okan ERCAN&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Sep 2013 06:49:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237936#M6661</guid>
      <dc:creator>okaner</dc:creator>
      <dc:date>2013-09-26T06:49:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237937#M6662</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;I am using TWR-K60F120, CW10.4 and MQX4.0.2. When I change the&lt;/P&gt;&lt;P&gt;#define NANDFLASH_1ST_DATA_DRIVE_SIZE_IN_BLOCK 90&lt;/P&gt;&lt;P&gt;#define NANDFLASH_1ST_DATA_DRIVE_START_BLOCK&amp;nbsp;&amp;nbsp; 110&lt;/P&gt;&lt;P&gt;to&lt;/P&gt;&lt;P&gt;#define NANDFLASH_1ST_DATA_DRIVE_SIZE_IN_BLOCK 1937&lt;/P&gt;&lt;P&gt;#define NANDFLASH_1ST_DATA_DRIVE_START_BLOCK&amp;nbsp;&amp;nbsp; 110&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the disk space is 126212096 bytes. It changed but is still not the correct value.&lt;/P&gt;&lt;P&gt;I&amp;nbsp; tried to delete the file and replace it by a new one but it still does not show the correct free space.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="NANDFLASH.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/42269i3D95E6935826E470/image-size/large?v=v2&amp;amp;px=999" role="button" title="NANDFLASH.png" alt="NANDFLASH.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 16:25:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237937#M6662</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2013-12-27T16:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237938#M6663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Hi Daniel,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;There is a difference.&amp;nbsp; Don’t know why but I am asking our MQX team and will respond with answer later.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Going back in time to MQX4.0.0 and the FFS applied to it and comparing the ddi_nand_data_drive_get_info.cpp files shows a difference.&lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;If you look at the FFS 4.0.2 version it had added a “/2” to line 64 which halved the memory size for the NAND.&amp;nbsp; If I removed it to make it same as MQX FFS4.0.0 I see the correct NAND size and testing seems to work fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d; font-family: 'Calibri','sans-serif'; font-size: 11pt;"&gt;David &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Times New Roman; font-size: 12pt;"&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 20:09:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237938#M6663</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2014-01-13T20:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237939#M6664</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;Another question for NAND Flash is that is there any ioctl command used for page erase?&lt;/P&gt;&lt;P&gt;I read that it has the block erase but didn't see anything about the page erase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 20:56:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237939#M6664</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2014-01-13T20:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237940#M6665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;The data sheet for the Micron NAND flash indicates there is only Block erase capability.&lt;/P&gt;&lt;P&gt;No page erase capability that I can see.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Jan 2014 22:30:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237940#M6665</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2014-01-13T22:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237941#M6666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your answer.&lt;/P&gt;&lt;P&gt;In that case, I need to erase a block before I can write to a page. &lt;/P&gt;&lt;P&gt;But how could I keep the content in the rest of pages?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 13:14:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237941#M6666</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2014-01-14T13:14:04Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237942#M6667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I think you are looking too deep into using the NAND flash driver.&lt;/P&gt;&lt;P&gt;Please review following document in MQX path:&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_0_2\doc\ffs\MQXFFSUG.pdf&amp;nbsp; Section 3.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My read of it indicates that once the MFS is mounted on top of the wear-leveling FFS you just access it as a file system and it will handle things for you.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 16:36:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237942#M6667</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2014-01-14T16:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237943#M6668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is that when I use the wear-leveling FFS and combine this in the USB MSD. When I get a read request, it shows: assertion failed: 0, file simple_mutex.cpp&amp;nbsp; line 141.&amp;nbsp; My understanding is that in USB part, if I use FFS, the mutex is disabled somehow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Jan 2014 18:47:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237943#M6668</guid>
      <dc:creator>danielchai</dc:creator>
      <dc:date>2014-01-14T18:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237944#M6669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;I am using TWRK60F120M board. in nandflash I am creating datalog so I have to write continuosly in nandflash &amp;amp; to save data properly after every 10-15 sec I am closing nandflash &amp;amp; then reopening it to write next data but here I checked after 4-5 cycle of nand close &amp;amp; open next time when I sent nandopen command my task is goes in block state, when I checked task summary I see unhandled interrupt state for that task &amp;amp; idle task become active&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 04:49:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237944#M6669</guid>
      <dc:creator>adt</dc:creator>
      <dc:date>2014-05-19T04:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Change size of FFS drive (MQX 4.0.1, TWR-K70)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237945#M6670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi adt123,&lt;/P&gt;&lt;P&gt;How much data are you writing to the NAND in the 10-15 second interval?&lt;/P&gt;&lt;P&gt;Are you using MQX4.1 or older MQX?&lt;/P&gt;&lt;P&gt;Do you get an error on the fsclose()?&lt;/P&gt;&lt;P&gt;Are you using the mfs_nandflash_twrk60F120m example or your own code?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 May 2014 19:23:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Change-size-of-FFS-drive-MQX-4-0-1-TWR-K70/m-p/237945#M6670</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2014-05-19T19:23:18Z</dc:date>
    </item>
  </channel>
</rss>

