<?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>Integrate SD card with nrf9160-dk board results in infinite rebooting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/63861/integrate-sd-card-with-nrf9160-dk-board-results-in-infinite-rebooting</link><description>I started with ncs/nrf/samples/nrf9160/lte_ble_gateway and have taken parts of ncs/zephyr/samples/subsys/fs/fat_fs to get SD card support 
 
 prj.conf 
 CONFIG_NEWLIB_LIBC=y CONFIG_NEWLIB_LIBC_FLOAT_PRINTF=y CONFIG_NEWLIB_LIBC_FLOAT_SCANF=y CONFIG_ASSERT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 24 Jul 2020 21:55:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/63861/integrate-sd-card-with-nrf9160-dk-board-results-in-infinite-rebooting" /><item><title>RE: Integrate SD card with nrf9160-dk board results in infinite rebooting</title><link>https://devzone.nordicsemi.com/thread/261657?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2020 21:55:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f777afa5-c43c-4d6e-91b5-61273bb9c464</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Sorry for the long delay, we are currently short on staff during summer break and you may experience delayed answers.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/58558/reading-sd-card-on-nrf9160dk/237804#237804"&gt;This ticket&lt;/a&gt;&amp;nbsp;may help you to get an understanding of how to use an SD card with NCS and nRF9160.&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: Integrate SD card with nrf9160-dk board results in infinite rebooting</title><link>https://devzone.nordicsemi.com/thread/261265?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2020 19:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77a8ced7-e783-4aca-830f-e463dddd3cfb</guid><dc:creator>Taylor</dc:creator><description>&lt;p&gt;So, I ran thru a debug session and found the assert you were mentioning. It does fire off from the fatfs_mount and I get a -5, which maps to FR_NO_PATH. I don&amp;#39;t really understand what this error means tho. Is it expecting the SD card to be partitioned and have a directory called SD on it?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrate SD card with nrf9160-dk board results in infinite rebooting</title><link>https://devzone.nordicsemi.com/thread/261076?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 19:30:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbe4e18f-a56e-43b0-993f-2b2ff65de766</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Have you tried to debug your code and figure out why it&amp;#39;s asserting. I guess the reason is due to the assert in &lt;span style="background-color:#ffffff;"&gt;ncs\v1.3.0\zephyr\subsys\fs\fat_fs.c→fatfs_mount(). If that fails, the chip will reset.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;If&amp;nbsp;&lt;span style="background-color:#ffffff;"&gt;fatfs_mount&lt;/span&gt;() fails, you should make sure you&amp;#39;ve connected the SD card correctly and also &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-temporary#h131sk0f71xdy1hliuda1vq9p8n11weqgr"&gt;debug the function&lt;/a&gt;. If the mentioned assert is firing, then you could check &lt;a href="https://github.com/zephyrproject-rtos/fatfs/blob/master/include/ff.h#L220-L241"&gt;what res is equal to&lt;/a&gt;, to get an indication of why it&amp;#39;s failing.&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: Integrate SD card with nrf9160-dk board results in infinite rebooting</title><link>https://devzone.nordicsemi.com/thread/261073?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 19:03:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7699a304-af94-4379-89ba-86df8b7debc1</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I&amp;#39;m currently looking into it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrate SD card with nrf9160-dk board results in infinite rebooting</title><link>https://devzone.nordicsemi.com/thread/261061?ContentTypeID=1</link><pubDate>Tue, 21 Jul 2020 17:21:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d695d4a4-51c9-40cc-8527-0b3f2f4ce615</guid><dc:creator>Taylor</dc:creator><description>&lt;p&gt;Simon,&lt;/p&gt;
&lt;p&gt;Any solution yet?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Integrate SD card with nrf9160-dk board results in infinite rebooting</title><link>https://devzone.nordicsemi.com/thread/260672?ContentTypeID=1</link><pubDate>Fri, 17 Jul 2020 23:36:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6aa9785b-28be-4bf5-b487-fa81af5fa116</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I&amp;#39;m currently looking into your ticket and will hopefully find a solution in the next couple of working days.&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>