<?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>f_mkfs returns FR_DISK_ERROR</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20630/f_mkfs-returns-fr_disk_error</link><description>Hi all, 
 I my application I am interfacing SD card with nrf52 using FATFS file system. I am observing some weird behavior while doing this. I have two SD cards, one of 2GB sandisk and another of 8 GB Transcend. While using 2GB card all operations are</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Apr 2017 13:29:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20630/f_mkfs-returns-fr_disk_error" /><item><title>RE: f_mkfs returns FR_DISK_ERROR</title><link>https://devzone.nordicsemi.com/thread/80421?ContentTypeID=1</link><pubDate>Tue, 04 Apr 2017 13:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09f09030-f64c-4894-8b7a-be301110418c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Have you made any progress with the issue? I have not been able to reproduce the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: f_mkfs returns FR_DISK_ERROR</title><link>https://devzone.nordicsemi.com/thread/80419?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 09:09:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ddbed6e-6d71-4c5a-b648-2a53f5948274</guid><dc:creator>Ankush</dc:creator><description>&lt;p&gt;Hi Sigurd,&lt;/p&gt;
&lt;p&gt;Thanks for the response. I tried it now its giving &lt;code&gt;FR_INVALID_PARAMETER&lt;/code&gt; as error from f_mkfs () function. I modified statement as follows,&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ff_result = f_mkfs(&amp;quot;&amp;quot;, FM_EXFAT, 0, work, sizeof work);
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: f_mkfs returns FR_DISK_ERROR</title><link>https://devzone.nordicsemi.com/thread/80418?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 08:06:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bc77d6e-eeaa-45a9-8c5a-8b425151f91e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Do you have the same problem if you try to format as &lt;code&gt;FM_EXFAT&lt;/code&gt; ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: f_mkfs returns FR_DISK_ERROR</title><link>https://devzone.nordicsemi.com/thread/80420?ContentTypeID=1</link><pubDate>Tue, 21 Mar 2017 05:50:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26c1ec8c-d1b0-4d05-9465-c56e9d385236</guid><dc:creator>Ankush</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;One more thing I observed is that, after formatting with SD formatter, when I am trying to write onto the card it is working properly. It means format function has some issue. But I don&amp;#39;t know why it happening...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>