<?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>NRF5340 How to use FAT FS with external flash</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110841/nrf5340-how-to-use-fat-fs-with-external-flash</link><description>I am trying to use the external flash on my NRF5340dk to store and read data files. Raw IO from the spi_flash sample seems to be working fine, but I&amp;#39;m not sure how to mount the FAT file system. fs_sample says that FAT FS with external flash should work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Sep 2024 08:00:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110841/nrf5340-how-to-use-fat-fs-with-external-flash" /><item><title>RE: NRF5340 How to use FAT FS with external flash</title><link>https://devzone.nordicsemi.com/thread/503887?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2024 08:00:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e7a70a0-2784-4817-a68a-9ee1009c134b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would recommend that you create a new thread on this matter.&lt;/p&gt;
&lt;p&gt;Be sure to include your configurations and overlay, as it seems that you&amp;#39;re using a SD-card for storage, and not the external flash.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 How to use FAT FS with external flash</title><link>https://devzone.nordicsemi.com/thread/503853?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2024 01:20:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f69def0c-f649-4500-b22c-41949d596b5b</guid><dc:creator>Haris</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried to build and flash the above code that Hakon provides, but when I do I get in putty when connecting to the board:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;*** Booting nRF Connect SDK 3758bcbfa5cd ***&lt;br /&gt;[00:00:00.757,232] &amp;lt;err&amp;gt; sd: Card error on CMD0&lt;br /&gt;[00:00:00.757,232] &amp;lt;err&amp;gt; main: Storage init ERROR!&lt;br /&gt;[00:00:00.762,939] &amp;lt;err&amp;gt; sd: Card error on CMD0&lt;br /&gt;[00:00:00.762,939] &amp;lt;err&amp;gt; fs: fs mount error (-5)&lt;br /&gt;Error mounting disk.&lt;br /&gt;[00:00:00.762,969] &amp;lt;err&amp;gt; fs: fs not mounted (mp == 0x20000000)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;To describe my layout, I am using a nrf5340 development kit with no sd card. I am trying to save some data on the&amp;nbsp;&lt;span&gt;mx25r6435f memory that exists on the nrf5340 dev kit. What do I need to modify? Please reply asap cause I have a deliverable on Monday 30/9/24.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;Thank you&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF5340 How to use FAT FS with external flash</title><link>https://devzone.nordicsemi.com/thread/481824?ContentTypeID=1</link><pubDate>Fri, 03 May 2024 13:52:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90431e54-f3df-46a7-9772-6c7f2ff81b2a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a quick configuration example showing how to run with mcuboot/multi-image build for the nrf5340dk_nrf5340_cpuapp board:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ncs_5F00_253_5F00_fs_5F00_sample_5F00_nrf5340_5F00_ext_5F00_flash.zip"&gt;devzone.nordicsemi.com/.../ncs_5F00_253_5F00_fs_5F00_sample_5F00_nrf5340_5F00_ext_5F00_flash.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To place the fatfs_storage in external flash, there&amp;#39;s an &amp;quot;affiliation&amp;quot; tag in the pm_static.yml entry, as well as mcuboot/board configurations.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>