<?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>SD card in BLE example undefined reference to `app_sdc_busy_check&amp;#39;</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28481/sd-card-in-ble-example-undefined-reference-to-app_sdc_busy_check</link><description>in SDK14 I&amp;#39;m trying to add an SD card into the BLE central example. 
 The SD Card example compiles and runs OK. Problem happens when I combine that code into ble_app_uart_c. I&amp;#39;m using s132. 
 Everything compiles OK but on linking I get undefined reference</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Nov 2017 15:55:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28481/sd-card-in-ble-example-undefined-reference-to-app_sdc_busy_check" /><item><title>RE: SD card in BLE example undefined reference to `app_sdc_busy_check'</title><link>https://devzone.nordicsemi.com/thread/112636?ContentTypeID=1</link><pubDate>Wed, 08 Nov 2017 15:55:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f964a0b-ab29-44d4-955c-83246ca3358f</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I updated the example in my link with GCC project as well. There are also precompiled hex-file available that you can try. I tested it and it works with my card. Please also make sure you have connected the pins of the SD card to the correct pins, as defined in the example. If nothing works, please also try with a different card.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD card in BLE example undefined reference to `app_sdc_busy_check'</title><link>https://devzone.nordicsemi.com/thread/112637?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 16:07:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6742ecd5-d91c-4d9b-86c7-ec9b0a2e058f</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Thx @Jorgen&lt;/p&gt;
&lt;p&gt;To try this using armgcc I had to create a Makefile which may be repeating the problem I had before.
(I used your main.c and sdk_config.h.)&lt;/p&gt;
&lt;p&gt;The result is that I get nothing on the console when I should be seeing interaction with the SD as I see in the original fatfs example.  I put an RTT printf statement at the very beginning of main() and even this does not show.&lt;/p&gt;
&lt;p&gt;Then I added some delays (I often find these necessary with RTT).  That showed that it is getting to disk_initialize but no further.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD card in BLE example undefined reference to `app_sdc_busy_check'</title><link>https://devzone.nordicsemi.com/thread/112635?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2017 08:35:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:846d9cee-dca9-4cd6-be74-efa8df55e840</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I posted an example of using FatFS to write data received over BLE UART (NUS) to SD card in &lt;a href="https://devzone.nordicsemi.com/question/173270/transferring-data-received-over-ble-to-sd-card/?answer=173412#post-id-173412"&gt;this answer&lt;/a&gt;. Please have a look at it and see if you can port this into your own project.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD card in BLE example undefined reference to `app_sdc_busy_check'</title><link>https://devzone.nordicsemi.com/thread/112634?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 18:25:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8512889b-0808-4268-9122-7cf36d6a715c</guid><dc:creator>paul_tanner</dc:creator><description>&lt;p&gt;Thx @Jorgen. That&amp;#39;s very helpful. I had not copied that part of the config.
After fixing a couple of more obvious references it builds ok.
Sadly it does not yet run as there is some kind of clash between the BLE code and that of the SD Card.
Trying to track this down...&lt;/p&gt;
&lt;p&gt;In my example I want to get initial data from the SD Card after which I don&amp;#39;t need it till the next reset.
At the moment the SD Card code only runs if you prevent other code from running.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;	fatfs_init();  // read initial data from SD Card
	while (true)
  {
      __WFE();
  }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;without the above infinite loop the SD Card code does not run.
I&amp;#39;m trying to find out why not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD card in BLE example undefined reference to `app_sdc_busy_check'</title><link>https://devzone.nordicsemi.com/thread/112633?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2017 15:34:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31673db6-b1df-4aec-8fa6-5d7e2551f6d4</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Have you included &lt;em&gt;app_sdcard.c&lt;/em&gt;, and enabled it in &lt;em&gt;sdk_config.h&lt;/em&gt;?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define APP_SDCARD_ENABLED 1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;I recommend copying the relevant configuration from the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.1.0/app_sdcard_example.html?cp=4_0_0_4_6_32"&gt;fatfs example&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Which other symbols are reported as undefined?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>