<?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>SDCard / FatFS Example Problem (and partial solution)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77510/sdcard-fatfs-example-problem-and-partial-solution</link><description>I&amp;#39;m starting to work on SDCard reading, and was having issues. 
 My problem was that in diskio_blkdev.c, this code: 
 
 Where I&amp;#39;ve got the &amp;quot;right here&amp;quot;, m_drives[drv].last_result would always be NRF_BLOCK_DEV_RESULT_IO_ERROR (1), which matched a lot of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Jul 2021 13:30:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77510/sdcard-fatfs-example-problem-and-partial-solution" /><item><title>RE: SDCard / FatFS Example Problem (and partial solution)</title><link>https://devzone.nordicsemi.com/thread/321375?ContentTypeID=1</link><pubDate>Thu, 22 Jul 2021 13:30:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed2e1720-7fdd-443b-8fd0-ba8644c9c29d</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Ok, I will consider this case resolved then.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best of luck getting the new Adafruit holders to work ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDCard / FatFS Example Problem (and partial solution)</title><link>https://devzone.nordicsemi.com/thread/321189?ContentTypeID=1</link><pubDate>Wed, 21 Jul 2021 17:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf73a106-d92b-49f4-acf9-885ffb66cd82</guid><dc:creator>arthare</dc:creator><description>&lt;p&gt;Confirmed that my SD card holder was the issue - it was intended for Arduino use, and on a re-read of its Amazon listing, proudly indicates that its power input takes 5V.&amp;nbsp; I&amp;#39;ll have to find a 3.3V-compatible one.&lt;/p&gt;
&lt;p&gt;My new adafruit ones are here and are also being challenging, but I&amp;#39;m sure it&amp;#39;s a separate issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDCard / FatFS Example Problem (and partial solution)</title><link>https://devzone.nordicsemi.com/thread/320610?ContentTypeID=1</link><pubDate>Mon, 19 Jul 2021 07:35:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d10c3971-52c8-4710-93da-e31fe7537449</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;OK. Thanks a lot for sharing your details. I am sure getting a decent SD card shield/breakout board should help with performance and reliability.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDCard / FatFS Example Problem (and partial solution)</title><link>https://devzone.nordicsemi.com/thread/320465?ContentTypeID=1</link><pubDate>Fri, 16 Jul 2021 13:56:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00038d87-c31e-4e98-a502-946b04f77431</guid><dc:creator>arthare</dc:creator><description>&lt;p&gt;No, it seems the low SPI freq is necessary to get it running at 5V, but I&amp;#39;m still completely unsuccessful at 2.9V no matter what I try.&lt;/p&gt;
&lt;p&gt;I also tried running the board off a stronger PSU in case my PC&amp;#39;s USB port was causing low current issues, and it also didn&amp;#39;t&amp;nbsp;get the card running on 2.9V.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m about to order&amp;nbsp;a bunch of adafruit HW kits that&amp;#39;ll let me get everything connected with far better wiring - right now my&amp;nbsp;app can run for an hour on my desk, but crashes within 30 seconds while moving, which hints I&amp;#39;ve got some loose connectors.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDCard / FatFS Example Problem (and partial solution)</title><link>https://devzone.nordicsemi.com/thread/320372?ContentTypeID=1</link><pubDate>Fri, 16 Jul 2021 08:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6c3bca2b-d0f9-429c-8275-adeb4d259f36</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So you where able to get it to run at 2.9V by using slower SPI frequency?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDCard / FatFS Example Problem (and partial solution)</title><link>https://devzone.nordicsemi.com/thread/320288?ContentTypeID=1</link><pubDate>Thu, 15 Jul 2021 13:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9a37c04-9a07-4f50-be4e-1046262b713c</guid><dc:creator>arthare</dc:creator><description>&lt;p&gt;The sticker on it says: PCA10040, 1.2.4, 2018.44, S/N 682043925.&lt;/p&gt;
&lt;p&gt;Notably for a future reader: the SPI frequency reductions were necessary (at least for now with my long wires), as I later tried to ramp them back up and it&amp;nbsp;would no longer find the SD Card.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDCard / FatFS Example Problem (and partial solution)</title><link>https://devzone.nordicsemi.com/thread/320270?ContentTypeID=1</link><pubDate>Thu, 15 Jul 2021 13:07:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51f48e39-d90b-41d6-b797-7279d0b9d33a</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;According to &lt;a href="https://www.sdcard.org/developers/sd-standard-overview/"&gt;this overview&lt;/a&gt; the valid range is 2.7-3.6V, so it does sound a bit risky to power it from the 5V line. It is also a bit weird that 2.9V is not enough, but different cards might have slightly different limitations.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Can you confirm which DK you are using?&lt;br /&gt;There is a protection diode on the kit that can be shorted to get the VDD line closer to 3.3V.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDCard / FatFS Example Problem (and partial solution)</title><link>https://devzone.nordicsemi.com/thread/320119?ContentTypeID=1</link><pubDate>Wed, 14 Jul 2021 22:23:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb3c5f0e-d52c-4566-9d07-73af05707754</guid><dc:creator>arthare</dc:creator><description>&lt;p&gt;The solution for me was to power it off the 5V line on the dev board instead of the VDD line like the docs suggested.&lt;/p&gt;
&lt;p&gt;My multimeter indicated the VDD line was only supplying 2.9V from the dev board, but the&amp;nbsp;example docs suggested it should&amp;#39;ve had 3.3V&lt;/p&gt;
&lt;p&gt;However, I&amp;#39;m unsure if this is &amp;quot;correct&amp;quot; - am I going to fry my SD Card?&amp;nbsp; Should 2.9V have been enough?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>