<?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>Problem with first connection to external storage using littlefs and nRF Connect SDK 2.6.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109999/problem-with-first-connection-to-external-storage-using-littlefs-and-nrf-connect-sdk-2-6-0</link><description>Let me point out that when compiling on nRF Connect SDK 2.5.0, everything works perfectly. This always happens when the external memory is not initialized yet. I have several of my own prototype boards and the same thing happens on the new nrf52840dk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Apr 2024 18:56:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109999/problem-with-first-connection-to-external-storage-using-littlefs-and-nrf-connect-sdk-2-6-0" /><item><title>RE: Problem with first connection to external storage using littlefs and nRF Connect SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/478604?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 18:56:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93e9ded1-33fa-4267-9928-d1b6f7d3e469</guid><dc:creator>Tomasz Chudy</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not a problem for me. I&amp;#39;m currently using 2.5.0 &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Tomasz&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with first connection to external storage using littlefs and nRF Connect SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/478549?ContentTypeID=1</link><pubDate>Fri, 12 Apr 2024 12:41:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a4cd88b-de1b-41a7-ae03-6e372a991f57</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Then I don&amp;#39;t have any further suggestions I&amp;#39;m afraid, and we will need to wait for input from the devs on this one. Might take a few days I&amp;#39;m afraid.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with first connection to external storage using littlefs and nRF Connect SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/477882?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2024 17:16:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8eee4973-773d-44ec-b694-010d053f5811</guid><dc:creator>Tomasz Chudy</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;I removed &lt;span&gt;FLASH_AREA_ID&lt;/span&gt; from the code and replaced FIXED_PARTITION_ID&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static struct fs_mount_t mnt_storage =
{
	.type = FS_LITTLEFS,
	.fs_data = &amp;amp;storage_data,
	.storage_dev = (void *)FIXED_PARTITION_ID(LITTLEFS_STORAGE),
	.mnt_point = &amp;quot;/lfs&amp;quot;,
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;but it&amp;#39;s still the same. On 2.5.0 everything works, on 2.6.0 the first initialization sends an error: -19&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Tomasz&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with first connection to external storage using littlefs and nRF Connect SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/477808?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2024 12:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e64702ef-444a-4314-bafe-8a199d03c17d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Tomasz&lt;/p&gt;
&lt;p&gt;Thank you for being so thorough, I have now created an internal ticket for the developers to dive into the issue. I&amp;#39;ll let you know when I hear something.&lt;/p&gt;
&lt;p&gt;One thing I noticed is that with the newest Zephyr version used in NCS v2.6.0, there was an update to the LittleFS module to v2.8.1, which removed the deprecated Flash Map API macros, just in case you use either of those on your end: &amp;quot;Following Flash Map API macros, marked in 3.2 as deprecated, have been removed:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;FLASH_AREA_ID&lt;/span&gt;&lt;/code&gt;,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;FLASH_AREA_OFFSET&lt;/span&gt;&lt;/code&gt;,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;FLASH_AREA_SIZE&lt;/span&gt;&lt;/code&gt;,&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;FLASH_AREA_LABEL_EXISTS&lt;/span&gt;&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;&lt;span&gt;FLASH_AREA_DEVICE&lt;/span&gt;&lt;/code&gt;.&amp;quot;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with first connection to external storage using littlefs and nRF Connect SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/477648?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 16:30:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6be07c40-9d7d-4418-99bc-91de6299822e</guid><dc:creator>Tomasz Chudy</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;This is my code for connecting to external memory and my board definition which is for nrf52840dk.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52840dk_5F00_intovoice.zip"&gt;devzone.nordicsemi.com/.../nrf52840dk_5F00_intovoice.zip&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6457.littlefs.zip"&gt;devzone.nordicsemi.com/.../6457.littlefs.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SDK 2.5.0 is ok for me, I just like to upgrade to the latest versions whenever they are available :)&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Tomasz&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with first connection to external storage using littlefs and nRF Connect SDK 2.6.0</title><link>https://devzone.nordicsemi.com/thread/477618?ContentTypeID=1</link><pubDate>Mon, 08 Apr 2024 14:18:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4ec4272-0669-465c-a2d7-4cc77d0181da</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Tomasz&lt;/p&gt;
&lt;p&gt;This sounds like a bug in NCS 2.6.0, so I&amp;#39;ll ask the devs internally if they know what this could be caused by, as I can&amp;#39;t see&amp;nbsp;this mentioned in the release notes/change log of NCS 2.6.0. Thank you for sharing! Are you able to see this issue with a specific sample in NCS 2.6.0 so we can reproduce it on our end as well, since it seems to be reproducible with a Development Kit? That would help getting to the root cause sooner. In the mean time, is there a problem with staying on NCS 2.5.0 for you until we find out what could be causing this?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>