<?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>mount two littlefs filesystems, one on extern flash and one on nvs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115123/mount-two-littlefs-filesystems-one-on-extern-flash-and-one-on-nvs</link><description>Hej 
 
 Im trying to mount two littlefs filesystems. One on externl flash and one on the nvs. 
 
 Up until now I have been using littlefs on my external flash without any problems. 
 
 I have made a small test cmd to mount the new filesystem as I have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Oct 2024 08:57:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115123/mount-two-littlefs-filesystems-one-on-extern-flash-and-one-on-nvs" /><item><title>RE: mount two littlefs filesystems, one on extern flash and one on nvs</title><link>https://devzone.nordicsemi.com/thread/504490?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 08:57:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5d40956-9cab-4039-acb8-f4dc8313e3c2</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
[quote user="PeterRasmussen"]3) im getting error -84[/quote]
&lt;p&gt;That&amp;#39;s maybe this one, LFS_ERR_CORRUPT ,&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/littlefs/blob/littlefs-v2.2.0/lfs.h#L74"&gt;https://github.com/zephyrproject-rtos/littlefs/blob/littlefs-v2.2.0/lfs.h#L74&lt;/a&gt;&amp;nbsp;. Maybe try to do a eraseall on the chip, to make sure nothing is else is occupying&amp;nbsp;that flash space, and then program your code again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mount two littlefs filesystems, one on extern flash and one on nvs</title><link>https://devzone.nordicsemi.com/thread/504467?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 07:04:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45510da4-05c6-4664-8781-cce7c17a69c9</guid><dc:creator>PeterRasmussen</dc:creator><description>&lt;p&gt;1) Im using&amp;nbsp;*** Using nRF Connect SDK v2.7.0-5cb85570ca43 ***&lt;/p&gt;
&lt;p&gt;2) i did not look at the specific example but the code from the fs shell which i can see is more or less the same.&lt;/p&gt;
&lt;p&gt;3) im getting error -84&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: mount two littlefs filesystems, one on extern flash and one on nvs</title><link>https://devzone.nordicsemi.com/thread/504450?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 22:53:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83ccf445-8d9e-4b64-b5f2-7396ff6f7731</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;1) What NCS version are you using?&lt;/p&gt;
&lt;p&gt;2) Did you have a look at how this is done in the littlefs sample?&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.6.99-ncs2/samples/subsys/fs/littlefs/src/main.c"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v3.6.99-ncs2/samples/subsys/fs/littlefs/src/main.c&lt;/a&gt;&lt;/p&gt;
[quote user=""]When i run my test command the code errors out in:&amp;nbsp;[/quote]
&lt;p&gt;3) What error are you getting?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>