<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>nrf52840 + littlefs(external flash) +mcuboot can&amp;#39;t set mounted area(qspi + mx25r64 is ok)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83042/nrf52840-littlefs-external-flash-mcuboot-can-t-set-mounted-area-qspi-mx25r64-is-ok</link><description>Hello 
 Happy Christmas in advance. 
 I meet a trouble about using littlefs and mcuboot at nrf52840dk. 
 ncs1.7.1 
 project:littlefs 
 I have changed the nrf52840dk_nrf52840.overlay file 
 
 
 nrf52840dk_nrf52840.conf 
 
 add pm_static.yml 
 
 
 But I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 28 Dec 2021 06:56:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83042/nrf52840-littlefs-external-flash-mcuboot-can-t-set-mounted-area-qspi-mx25r64-is-ok" /><item><title>RE: nrf52840 + littlefs(external flash) +mcuboot can't set mounted area(qspi + mx25r64 is ok)</title><link>https://devzone.nordicsemi.com/thread/345172?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 06:56:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bea7474-6c0f-4cd8-8480-c2d823f49add</guid><dc:creator>Август</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I have found the reason.&lt;/p&gt;
&lt;p&gt;When I use external flash the flash area open id always 0, but I am using&amp;nbsp;&lt;span&gt;pm_static.yml&amp;nbsp;external_flash is the id is 0&amp;nbsp;littlefs_storage id is 1, so&amp;nbsp;&lt;/span&gt;&lt;span&gt;#define&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;PARTITION_NODE&lt;/span&gt;&lt;span&gt; &lt;/span&gt;&lt;span&gt;DT_NODELABEL&lt;/span&gt;&lt;span&gt;(lfs1) may have some problems we can use another way and chose right lable.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;lable:&amp;nbsp;&lt;/span&gt;storage&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;FS_LITTLEFS_DECLARE_DEFAULT_CONFIG(storage);
static struct fs_mount_t lfs_storage_mnt = {
	.type = FS_LITTLEFS,
	.fs_data = &amp;amp;storage,
	.storage_dev = (void *)FLASH_AREA_ID(storage),
	.mnt_point = &amp;quot;/lfs&amp;quot;,
};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 + littlefs(external flash) +mcuboot can't set mounted area(qspi + mx25r64 is ok)</title><link>https://devzone.nordicsemi.com/thread/344912?ContentTypeID=1</link><pubDate>Thu, 23 Dec 2021 10:26:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:194403a2-b318-4286-a326-86591d2339a6</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;You should try checking what the print gets this value from, and try making sure that this value is gotten from the correct size call from the .yml file. I&amp;#39;m guessing the confusion comes from both the defines are called size. One might have to be renamed to &amp;quot;size_2&amp;quot; or something along those lines.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;PS: The Holiday season is upon us, which will leave the Nordic support team understaffed until January 3rd, 2022. This means that delayed replies will occur during this time. Sorry about the inconvenience and happy Holiday&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>