<?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>nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57194/nrf9160-and-sd-card-example</link><description>Dear All, I want to create a simple example, where the nRF9160 will create a file in an SD card, read it, write to it etc. 
 
 I found an example in ncs/zephyr/samples/subsys/fs/fat_fs. In this example the device will mount the SD card and read out the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Mar 2020 12:47:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57194/nrf9160-and-sd-card-example" /><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/241371?ContentTypeID=1</link><pubDate>Tue, 24 Mar 2020 12:47:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f3a1e8d-7a7d-42ea-b89a-856f6dc61728</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;I have been told you should use the littlefs sample instead of fat_fs. Try that and see how it works out for you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/240907?ContentTypeID=1</link><pubDate>Fri, 20 Mar 2020 14:36:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f230df-d7d0-47e3-895e-e8d8fac68eac</guid><dc:creator>Jagruti</dc:creator><description>&lt;p&gt;Thank you for the reply. I did the changes in files from zephyr which you showed, but it shows error. Now I am working on ncs tag v1.2.0 and zephyr v2.1.99 branch. still no progress. I always get the error&amp;nbsp;CS control inhibited (no GPIO device).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/240632?ContentTypeID=1</link><pubDate>Thu, 19 Mar 2020 12:48:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:452b0d4c-d0e4-4330-b62b-d78c20a01a2c</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;You shouldn&amp;#39;t edit the .dts file at all as far as I know. That&amp;#39;s what the .overlay file is for. If you&amp;#39;re asking which file the nrf9160_pca10090ns.overlay file is overriding, that would be nrf9160_pca10090_common.dts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/240031?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2020 13:43:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89450294-e192-4b97-a425-24e0b7af4c3c</guid><dc:creator>Jagruti</dc:creator><description>&lt;p&gt;Hello Hakon,&lt;/p&gt;
&lt;p&gt;I am trying to do the same thing as Giannis. The files you have shown are olimexino_stm32.dts and nrf52840_blip.overlay. But we are working on nrf9160dk and not on nrf52840 blip board. So I will need to add nrf9160_pca10090ns.overlay file and do changes what you have told for nrf52840_blip.overlay file. But instead of&amp;nbsp;&lt;span&gt;olimexino_stm32.dts file, which file I should edit?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/237738?ContentTypeID=1</link><pubDate>Tue, 03 Mar 2020 12:48:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc93d851-c368-432e-bf19-6c6a6634f584</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;There have been some updates to the Zephyr repo, &lt;a href="https://github.com/zephyrproject-rtos/zephyr/commit/2b5f78a88f9bc1f3ff302d66b8c90288b2b281b3#diff-341d4225f942f6707de143621d7639b6"&gt;here &lt;/a&gt;and &lt;a href="https://github.com/zephyrproject-rtos/zephyr/commit/02911c9f3a487c73c8868797854cccc480cce391"&gt;here&lt;/a&gt;. You can try to apply these changes and see if it works for you. I can unfortunately not test this myself at the moment because I&amp;#39;m out of office.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/237473?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 13:52:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d005cfb-ad30-4a0c-8eb1-ce3ed2e94d53</guid><dc:creator>Giannis Anastasopoulos</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/jagruti"&gt;Jagruti&lt;/a&gt;&lt;br /&gt;I didn&amp;#39;t get the opportunity to run the example on the DK, but since you did it, perhaps you can&amp;nbsp; share your configuration and perhaps &lt;a href="https://devzone.nordicsemi.com/members/hakon"&gt;Hakon&lt;/a&gt; can help both of us out on this one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/237465?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 13:39:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d90dcb3-10b5-4a2e-9e31-97edff935d2c</guid><dc:creator>Jagruti</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying the same program and I am also getting the same error on nRF9160DK. Did you solve the problem? If yes, please help me with it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/236441?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2020 08:49:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a79d97a-361f-4f66-b769-be5a7148c1dc</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;You can try to run it on the DK and see if you get the same error there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/235817?ContentTypeID=1</link><pubDate>Sat, 22 Feb 2020 08:44:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:234041c3-c0ba-47db-a5f6-6e974fca6e5d</guid><dc:creator>Giannis Anastasopoulos</dc:creator><description>&lt;p&gt;Yes, you are correct. I meant when I compile and run the code.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes, I have it. I was assuming that zephyr is compatible with all the boards it supports.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/235786?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2020 17:32:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1323b9a0-c269-4bc4-a2e1-3cf7fac10838</guid><dc:creator>Hakon</dc:creator><description>[quote user="Giannis Anastasopoulos"]When I compile the code, I see the following message:[/quote]
&lt;p&gt;&amp;nbsp;I guess you mean when you &lt;strong&gt;run&lt;/strong&gt; the code, I got the same error when running it on the nRF52. I think the example is written for the nrf52 originally. Do you have a nrf91 dk available?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/234694?ContentTypeID=1</link><pubDate>Mon, 17 Feb 2020 14:51:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1555631-df73-4c11-a0aa-ad84b01e4704</guid><dc:creator>Giannis Anastasopoulos</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/hakon"&gt;Hakon&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I am just using the pins of the card, with SPI, I am not using an SDcard reader.&lt;br /&gt;&lt;br /&gt;So the slave device is the SD card itself&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/234468?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2020 15:25:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35a49357-f234-462a-99ea-6b4f62d05348</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;I mean on the nrf9160.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/234052?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 16:28:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93b7fb76-09ea-4984-8d14-9ab6ea0596d3</guid><dc:creator>Giannis Anastasopoulos</dc:creator><description>&lt;p&gt;You mean on my pc or on the nrf9160 custom board?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/233996?ContentTypeID=1</link><pubDate>Wed, 12 Feb 2020 13:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f4e38a3-76c7-4e6b-83fe-6eaa524d9ef6</guid><dc:creator>Hakon</dc:creator><description>[quote user="Giannis Anastasopoulos"]The sd card I am using is the this &lt;a href="https://www.allekabels.nl/micro-sd-kaart/21694/2300879/micro-sd-kaart-4-gb.html?gclid=EAIaIQobChMI0KurxI_H5wIVled3Ch1nFwqcEAQYASABEgI5wfD_BwE"&gt;one&lt;/a&gt;.[/quote]
&lt;p&gt;&amp;nbsp;What sd card reader are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/233550?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 13:53:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c4d03ce-4d62-4705-89d9-14f7c682dff8</guid><dc:creator>Giannis Anastasopoulos</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/hakon"&gt;Hakon&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;Sorry for the delayed response. I am currently working with tag v1.1.0 of the nrf sdk.&lt;br /&gt;&lt;br /&gt;At the moment I have the following prj.conf:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SPI=y
CONFIG_SPI_3=y
CONFIG_DISK_ACCESS=y
CONFIG_DISK_ACCESS_SDHC=y
CONFIG_DISK_ACCESS_SPI_SDHC=y
CONFIG_DISK_SDHC_VOLUME_NAME=&amp;quot;SD&amp;quot;
CONFIG_LOG=y
CONFIG_FILE_SYSTEM=y
CONFIG_FAT_FILESYSTEM_ELM=y
CONFIG_PRINTK=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;overlay file:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi3 {
        status = &amp;quot;okay&amp;quot;;
        sck-pin = &amp;lt;19&amp;gt;;
        mosi-pin = &amp;lt;18&amp;gt;;
        miso-pin = &amp;lt;17&amp;gt;;
};

&amp;amp;spi3 {
        cs-gpios = &amp;lt;&amp;amp;gpio0 16 1&amp;gt;;

        sdhc0: sdhc@0 {
                compatible = &amp;quot;zephyr,mmc-spi-slot&amp;quot;;
                reg = &amp;lt;0&amp;gt;;
                status = &amp;quot;okay&amp;quot;;
                label = &amp;quot;SDHC0&amp;quot;;
                spi-max-frequency = &amp;lt;24000000&amp;gt;;
        };
};&lt;/pre&gt;&lt;br /&gt;and the main is this:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;/*
 * Copyright (c) 2019 Tavish Naruka &amp;lt;tavishnaruka@gmail.com&amp;gt;
 *
 * SPDX-License-Identifier: Apache-2.0
 */

/* Sample which uses the filesystem API and SDHC driver */

#include &amp;lt;zephyr.h&amp;gt;
#include &amp;lt;device.h&amp;gt;
#include &amp;lt;disk/disk_access.h&amp;gt;
#include &amp;lt;logging/log.h&amp;gt;
#include &amp;lt;fs/fs.h&amp;gt;
#include &amp;lt;ff.h&amp;gt;

LOG_MODULE_REGISTER(main);

static int lsdir(const char *path);

static FATFS fat_fs;
/* mounting info */
static struct fs_mount_t mp = {
	.type = FS_FATFS,
	.fs_data = &amp;amp;fat_fs,
};

/*
*  Note the fatfs library is able to mount only strings inside _VOLUME_STRS
*  in ffconf.h
*/
static const char *disk_mount_pt = &amp;quot;/SD:&amp;quot;;

void main(void)
{
	/* raw disk i/o */
	do {
		static const char *disk_pdrv = &amp;quot;SD&amp;quot;;
		u64_t memory_size_mb;
		u32_t block_count;
		u32_t block_size;

		if (disk_access_init(disk_pdrv) != 0) {
			LOG_ERR(&amp;quot;Storage init ERROR!&amp;quot;);
			break;
		}

		if (disk_access_ioctl(disk_pdrv,
				DISK_IOCTL_GET_SECTOR_COUNT, &amp;amp;block_count)) {
			LOG_ERR(&amp;quot;Unable to get sector count&amp;quot;);
			break;
		}
		LOG_INF(&amp;quot;Block count %u&amp;quot;, block_count);

		if (disk_access_ioctl(disk_pdrv,
				DISK_IOCTL_GET_SECTOR_SIZE, &amp;amp;block_size)) {
			LOG_ERR(&amp;quot;Unable to get sector size&amp;quot;);
			break;
		}
		printk(&amp;quot;Sector size %u\n&amp;quot;, block_size);

		memory_size_mb = (u64_t)block_count * block_size;
		printk(&amp;quot;Memory Size(MB) %u\n&amp;quot;, (u32_t)memory_size_mb&amp;gt;&amp;gt;20);
	} while (0);

	mp.mnt_point = disk_mount_pt;

	int res = fs_mount(&amp;amp;mp);

	if (res == FR_OK) {
		printk(&amp;quot;Disk mounted.\n&amp;quot;);
		lsdir(disk_mount_pt);
	} else {
		printk(&amp;quot;Error mounting disk.\n&amp;quot;);
	}

	while (1) {
		k_sleep(K_MSEC(1000));
	}
}

static int lsdir(const char *path)
{
	int res;
	struct fs_dir_t dirp;
	static struct fs_dirent entry;

	/* Verify fs_opendir() */
	res = fs_opendir(&amp;amp;dirp, path);
	if (res) {
		printk(&amp;quot;Error opening dir %s [%d]\n&amp;quot;, path, res);
		return res;
	}

	printk(&amp;quot;\nListing dir %s ...\n&amp;quot;, path);
	for (;;) {
		/* Verify fs_readdir() */
		res = fs_readdir(&amp;amp;dirp, &amp;amp;entry);

		/* entry.name[0] == 0 means end-of-dir */
		if (res || entry.name[0] == 0) {
			break;
		}

		if (entry.type == FS_DIR_ENTRY_DIR) {
			printk(&amp;quot;[DIR ] %s\n&amp;quot;, entry.name);
		} else {
			printk(&amp;quot;[FILE] %s (size = %zu)\n&amp;quot;,
				entry.name, entry.size);
		}
	}

	/* Verify fs_closedir() */
	fs_closedir(&amp;amp;dirp);

	return res;
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;When I compile the code, I see the following message:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:00.005,950] &#x1B;[0m&amp;lt;inf&amp;gt; spi_nrfx_spim: CS control inhibited (no GPIO device)&#x1B;[0m&lt;/pre&gt;&lt;br /&gt;If I remove the sd card from the reader, I see the following messages:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;14:45:40.709 -&amp;gt; [00:02:14.745,361] &#x1B;[1;31m&amp;lt;err&amp;gt; main: Storage init ERROR!&#x1B;[0m
14:45:44.716 -&amp;gt; Error mounting disk.
14:45:45.698 -&amp;gt; [00:02:19.747,680] &#x1B;[1;31m&amp;lt;err&amp;gt; fs: fs mount error (-5)&#x1B;[0m&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The sd card I am using is the this &lt;a href="https://www.allekabels.nl/micro-sd-kaart/21694/2300879/micro-sd-kaart-4-gb.html?gclid=EAIaIQobChMI0KurxI_H5wIVled3Ch1nFwqcEAQYASABEgI5wfD_BwE"&gt;one&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I have formatted the sd card like this:&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1280x960/__key/communityserver-discussions-components-files/4/pastedimage1581342768159v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/232652?ContentTypeID=1</link><pubDate>Tue, 04 Feb 2020 16:09:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45e7bf6c-814a-4748-8ef1-6d225cbfaa98</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hey,&lt;/p&gt;
&lt;p&gt;are you on the master branch?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 and SD card example</title><link>https://devzone.nordicsemi.com/thread/232066?ContentTypeID=1</link><pubDate>Fri, 31 Jan 2020 11:39:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05944806-f602-44b2-8bc9-ca7020bb78ea</guid><dc:creator>Giannis Anastasopoulos</dc:creator><description>&lt;div class="p-rich_text_section"&gt;At the moment I can get my code loaded and compiled in SES, but I still cannot read data from the SD card.&lt;br /&gt;&lt;br /&gt;So what I have now looks like this:&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="c-mrkdwn__pre"&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;amp;spi3 {
        status = &amp;quot;okay&amp;quot;;
        cs-gpios = &amp;lt;&amp;amp;gpio0 16 0&amp;gt;;        
        sdhc0: sdhc@0 {
                compatible = &amp;quot;mmc-spi-slot&amp;quot;;
                reg = &amp;lt;0&amp;gt;;
                status = &amp;quot;okay&amp;quot;;
                label = &amp;quot;SDHC0&amp;quot;;
                spi-max-frequency = &amp;lt;24000000&amp;gt;;
        };
};&lt;/pre&gt;&lt;/pre&gt;
&lt;div class="p-rich_text_section"&gt;My device has the following pinout:&lt;br /&gt;&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;ss: 16&lt;br /&gt;miso:17&lt;br /&gt;mosi:18&lt;br /&gt;sck:19&lt;/div&gt;
&lt;div class="p-rich_text_section"&gt;&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class="p-rich_text_section"&gt;&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;The prj.conf file I am using looks like this:&lt;/div&gt;
&lt;pre class="c-mrkdwn__pre"&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SPI=y
CONFIG_SPI_3=y
CONFIG_SPI_NRFX=y
CONFIG_SPI_3_NRF_SPIM=y
CONFIG_DISK_ACCESS=y
CONFIG_DISK_ACCESS_SDHC=y
CONFIG_DISK_ACCESS_SPI_SDHC=y
CONFIG_DISK_SDHC_VOLUME_NAME=&amp;quot;SD&amp;quot;
CONFIG_LOG=y
CONFIG_FILE_SYSTEM=y
CONFIG_FAT_FILESYSTEM_ELM=y
CONFIG_PRINTK=y# CONFIG_NEWLIB_LIBC=y
# CONFIG_BSD_LIBRARY=y
# CONFIG_BSD_LIBRARY_TRACE_ENABLED=n
# CONFIG_TRUSTED_EXECUTION_NONSECURE=y
# CONFIG_NET_BUF_USER_DATA_SIZE=1024CONFIG_GPIO=y&lt;/pre&gt;&lt;/pre&gt;
&lt;div class="p-rich_text_section"&gt;&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;I am pretty sure that I am missing something in the overlay file, but I don&amp;#39;t know what.&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;When I run the code I get the following output:&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="c-mrkdwn__pre"&gt;&lt;pre class="ui-code" data-mode="text"&gt;12:19:44.143 -&amp;gt; ***** Booting Zephyr OS build v2.0.99-ncs1-4-g52160ca9a102 *****
12:19:44.177 -&amp;gt; Error mounting disk.
12:19:44.177 -&amp;gt; [00:00:00.007,751] [1;31m&amp;lt;err&amp;gt; main: Storage init ERROR![0m
12:19:44.177 -&amp;gt; [00:00:00.007,781] [1;31m&amp;lt;err&amp;gt; fs: fs mount error (-5)[0m&lt;/pre&gt;&lt;/pre&gt;
&lt;div class="p-rich_text_section"&gt;&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;&lt;span class="c-mrkdwn__br"&gt;&lt;/span&gt;Thank you in advance for your assistance.&lt;span class="c-message__edited_label" dir="ltr"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>