<?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>Developing with BL652 -- Not advertising after successful BLE example download</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35161/developing-with-bl652----not-advertising-after-successful-ble-example-download</link><description>I am new to BLE development, if that helps preface this question. 
 My goal is to get a BL652 module by Laird working with the BLE UART example from the Nordic SDK. I am using the Keil uVision IDE and am connected to the board via a ST-Link V2 clone through</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 07 Jun 2018 16:47:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35161/developing-with-bl652----not-advertising-after-successful-ble-example-download" /><item><title>RE: Developing with BL652 -- Not advertising after successful BLE example download</title><link>https://devzone.nordicsemi.com/thread/135244?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 16:47:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96024a15-c9a4-49e8-aa1f-16b4e90f93bb</guid><dc:creator>Liam</dc:creator><description>&lt;p&gt;I just got it! My problem had been, when I was flashing the soft device I was using the &amp;quot;Soft Device Erase&amp;quot; programming algorithm, and then switching to the nrf52xxx algorithm for loading code. Just using the nrf52xxx for both did the trick. Thanks to everyone for your prompt replies and help with this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with BL652 -- Not advertising after successful BLE example download</title><link>https://devzone.nordicsemi.com/thread/135229?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 15:44:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00ec0d6a-f12f-497f-92d4-d888782fd512</guid><dc:creator>Liam</dc:creator><description>&lt;p&gt;Depending on the SDK version I am using, I believe this may be found in the nrf_sdh.c, per&amp;nbsp;&lt;a href="https://assets.lairdtech.com/home/brandworld/files/Using%20the%20DVK-BL652%20and%20Nordic%20SDK%20v14.0.0%20with%20Eclipse%20and%20GCC%20v1_0.pdf"&gt;https://assets.lairdtech.com/home/brandworld/files/Using%20the%20DVK-BL652%20and%20Nordic%20SDK%20v14.0.0%20with%20Eclipse%20and%20GCC%20v1_0.pdf,&lt;/a&gt;&amp;nbsp;but it still has no effect on the problem, when I change it per that doc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with BL652 -- Not advertising after successful BLE example download</title><link>https://devzone.nordicsemi.com/thread/135026?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 01:42:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2827d4e1-ca87-46cc-b579-5cf8edddb2da</guid><dc:creator>Liam</dc:creator><description>&lt;p&gt;I changed this in the pca10040.h file, but am still having the described problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with BL652 -- Not advertising after successful BLE example download</title><link>https://devzone.nordicsemi.com/thread/135025?ContentTypeID=1</link><pubDate>Thu, 07 Jun 2018 01:40:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeef7ac5-9550-4e9f-8e2b-40f483249061</guid><dc:creator>Liam</dc:creator><description>&lt;p&gt;I have huge trouble doing this for some reason.&amp;nbsp;When I attempt to flash with OpenOCD I get &amp;quot;image.base_address option value (&amp;#39;EclipseOpenOCD&amp;#39;) is not valid&amp;quot; errors.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looking at this post:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/flashing-softdevice-directly-from-arm-keil-uvision"&gt;https://devzone.nordicsemi.com/b/blog/posts/flashing-softdevice-directly-from-arm-keil-uvision&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Is this still valid? Keil flashed successfully using the same debug settings for both, but I still get no indication of advertisement.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with BL652 -- Not advertising after successful BLE example download</title><link>https://devzone.nordicsemi.com/thread/135007?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 19:26:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aff6a9c3-a538-4ae3-bce9-f8051f7e9c57</guid><dc:creator>Andre</dc:creator><description>&lt;p&gt;Before flashing the application from the nordic sdk, you&amp;#39;ll need to flash the softdevice.&lt;/p&gt;
&lt;p&gt;This can be done with OpenOCD, something like&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;openocd -f &amp;quot;interface/stlink.cfg&amp;quot; -f &amp;quot;target/nrf52.cfg&amp;quot; -c &amp;quot;init&amp;quot; -c &amp;quot;halt&amp;quot; -c &amp;quot;nrf5 mass_erase 0&amp;quot; -c &amp;quot;program /path/to/softdevice.hex&amp;quot; -c &amp;quot;exit&amp;quot; &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Please note you&amp;#39;ll need a build of the git version of OpenOCD. The latest release version (0.10) still lacks support for nRF52 flashing.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Developing with BL652 -- Not advertising after successful BLE example download</title><link>https://devzone.nordicsemi.com/thread/135004?ContentTypeID=1</link><pubDate>Wed, 06 Jun 2018 18:55:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5413961-e635-4e34-a5c1-37fc219f7633</guid><dc:creator>Richard D.</dc:creator><description>&lt;p&gt;The BL652 uses a different low frequency clock source than the Nordic dev kit. &amp;nbsp;In main.c, ble_stack_init you&amp;#39;ll see something like&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    nrf_clock_lf_cfg_t clock_lf_cfg = NRF_CLOCK_LFCLKSRC;

    // Initialize SoftDevice.
    SOFTDEVICE_HANDLER_INIT(&amp;amp;clock_lf_cfg, NULL);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and in one of the headers&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_XTAL,            \
                                 .rc_ctiv       = 0,                                \
                                 .rc_temp_ctiv  = 0,                                \
                                 .xtal_accuracy = NRF_CLOCK_LF_XTAL_ACCURACY_20_PPM}
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;For BL652, you need to set .source =&amp;nbsp;NRF_CLOCK_LF_SRC_RC instead&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>