<?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>i.MX ProcessorsのトピックRe: Unable to mount LittleFS on larger flash memory</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-LittleFS-on-larger-flash-memory/m-p/1647646#M205580</link>
    <description>&lt;P&gt;Hi Omar,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion, unfortunately the product design requirement mandates the code to be running from Flash in XIP mode. Although I am not able to understand, if running only the flash driver from RAM works for a Smaller 16MB flash, then what can be the issue with a larger 64MB Flash??&lt;/P&gt;&lt;P&gt;Also can you elaborate what you mean by "&lt;U&gt;so that space is not added to your file system&lt;/U&gt;".&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Kotal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 10 May 2023 06:43:38 GMT</pubDate>
    <dc:creator>kotalamit</dc:creator>
    <dc:date>2023-05-10T06:43:38Z</dc:date>
    <item>
      <title>Unable to mount LittleFS on larger flash memory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-LittleFS-on-larger-flash-memory/m-p/1644502#M205235</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the IMXRT1172xx microcontroller for our Proto. In that we plan to use LittleFS along with the application code running in the Ext. flash of 64MB.&lt;/P&gt;&lt;P&gt;For testing purpose, I was successfully able to run the LittleFS Example code provided in the SDK, wherein I had moved the fsl_flexspi.o and mflash_drv.o files to RAM using Initialize by copy in Linker. Based on this things function as required and I am able to mount the file system at any block address less than 16MB.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Similarly, if I try to the same considering 64MB as Flash size, I try to mount it at 16MB (0x1000000) or further, it is able to format and mount/unmount/create dir etc successfully, but once the code seems to be blocked and not running.&lt;BR /&gt;&lt;BR /&gt;Points to be noted,&amp;nbsp;&lt;/P&gt;&lt;P&gt;IDE used : IAR.&lt;/P&gt;&lt;P&gt;Debugger : Jlink.&lt;/P&gt;&lt;P&gt;Additionally, to accommodate for the 64MB flash, I had changed the #define BOARD_FLASH_SIZE (0x4000000U) in board.h file and the&amp;nbsp;qspiflash_config.memConfig.sflashA1Size =&amp;nbsp;64u * 1024u * 1024u in&amp;nbsp;evkmimxrt1170_flexspi_nor_config.c file.&lt;BR /&gt;&lt;BR /&gt;Any insight and support will be very much helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Kotal&lt;/P&gt;</description>
      <pubDate>Thu, 04 May 2023 09:01:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-LittleFS-on-larger-flash-memory/m-p/1644502#M205235</guid>
      <dc:creator>kotalamit</dc:creator>
      <dc:date>2023-05-04T09:01:07Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to mount LittleFS on larger flash memory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-LittleFS-on-larger-flash-memory/m-p/1647391#M205555</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;I hope you are well.&lt;/P&gt;
&lt;P&gt;I suggest you execute all of your code on RAM, not just the flash drivers, and reserve the code so that space is not added to your file system.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Tue, 09 May 2023 20:26:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-LittleFS-on-larger-flash-memory/m-p/1647391#M205555</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2023-05-09T20:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to mount LittleFS on larger flash memory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-LittleFS-on-larger-flash-memory/m-p/1647646#M205580</link>
      <description>&lt;P&gt;Hi Omar,&lt;/P&gt;&lt;P&gt;Thanks for the suggestion, unfortunately the product design requirement mandates the code to be running from Flash in XIP mode. Although I am not able to understand, if running only the flash driver from RAM works for a Smaller 16MB flash, then what can be the issue with a larger 64MB Flash??&lt;/P&gt;&lt;P&gt;Also can you elaborate what you mean by "&lt;U&gt;so that space is not added to your file system&lt;/U&gt;".&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Kotal&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 10 May 2023 06:43:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-LittleFS-on-larger-flash-memory/m-p/1647646#M205580</guid>
      <dc:creator>kotalamit</dc:creator>
      <dc:date>2023-05-10T06:43:38Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to mount LittleFS on larger flash memory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-LittleFS-on-larger-flash-memory/m-p/1648593#M205686</link>
      <description>&lt;P&gt;Hi Omar,&lt;/P&gt;&lt;P&gt;Further quick support/response will be very much helpful. We are running on a tight schedule and need to take a final call asap.&lt;/P&gt;&lt;P&gt;As of now it seems to be some sdk bug where in the XIP + littlefs is only supported for flash memory only upto 16MB.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Amit Kotal&lt;/P&gt;</description>
      <pubDate>Thu, 11 May 2023 10:21:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-LittleFS-on-larger-flash-memory/m-p/1648593#M205686</guid>
      <dc:creator>kotalamit</dc:creator>
      <dc:date>2023-05-11T10:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to mount LittleFS on larger flash memory</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-LittleFS-on-larger-flash-memory/m-p/1651569#M205990</link>
      <description>&lt;P&gt;It will be important to check the partition. It is important that the boot area is totally separated from the data area. It is probable that XIP is colliding with the access to the flash-through.&lt;BR /&gt;For testing proposes, is it possible to execute your code to ram to check if the issue is still present?&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Omar&lt;/P&gt;</description>
      <pubDate>Wed, 17 May 2023 00:34:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-mount-LittleFS-on-larger-flash-memory/m-p/1651569#M205990</guid>
      <dc:creator>Omar_Anguiano</dc:creator>
      <dc:date>2023-05-17T00:34:53Z</dc:date>
    </item>
  </channel>
</rss>

