<?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>Can&amp;#39;t start BLE on PCA10028</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9580/can-t-start-ble-on-pca10028</link><description>Hi Nordic, 
 I have got two PCA10028 boards and have a problem starting BLE on both. 
 I use latest Keil (5.16) and try to start ble_app_uart_s110_pca10028/ble_app_uart_s130_pca10028 examples( infocenter.nordicsemi.com/.../examples_ble_peripheral.html</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Oct 2015 13:16:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9580/can-t-start-ble-on-pca10028" /><item><title>RE: Can't start BLE on PCA10028</title><link>https://devzone.nordicsemi.com/thread/35393?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2015 13:16:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6dff5a9-00ae-4324-8760-ad6f37656230</guid><dc:creator>Alex P</dc:creator><description>&lt;p&gt;Thanks, it worked!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't start BLE on PCA10028</title><link>https://devzone.nordicsemi.com/thread/35392?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2015 12:46:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b794a613-32be-472c-95e0-a4a535d66ef6</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;most probable reason is that you ran out of low power channels.
In your nrf_drv_config.h file increase the number to the define&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#define GPIOTE_CONFIG_NUM_OF_LOW_POWER_EVENTS (increase the number here)
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't start BLE on PCA10028</title><link>https://devzone.nordicsemi.com/thread/35391?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2015 12:35:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30288cad-6b8d-45bd-bcca-973cf1268046</guid><dc:creator>Alex P</dc:creator><description>&lt;p&gt;Hi Aryan, error code returned is 004&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't start BLE on PCA10028</title><link>https://devzone.nordicsemi.com/thread/35390?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2015 06:52:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:405e126a-2447-4d45-afb6-634f81cd0ba0</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;that means that app_buttons_init failed and the next line APP_ERROR_CHECK sees that the error code is not NRF_SUCCESS and is resetting your board.
You need to debug and see what error code this function returned to know why it failed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't start BLE on PCA10028</title><link>https://devzone.nordicsemi.com/thread/35389?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2015 13:01:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3a88c46-68d9-4d92-8451-0ed59ab1d5c4</guid><dc:creator>Alex P</dc:creator><description>&lt;p&gt;Hi Nordic, Aryan,&lt;/p&gt;
&lt;p&gt;I have checked my Keil IRAM/IROM settings again.
Here what they are:&lt;/p&gt;
&lt;p&gt;For Application:&lt;/p&gt;
&lt;p&gt;IROM: 0x18000/0x28000
IRAM1: 0x20002000/0x6000
Seem to be in line with SoftDevice spec.
I have done some debugging and it seems that the code is getting reset at app_button_init call. Something seems to be wrong with buttons initialization, nrf_drv_gpiote_in_init returns error code 4 during second call.&lt;br /&gt;
while (button_count--)
{
app_button_cfg_t * p_btn = &amp;amp;p_buttons[button_count];&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;        nrf_drv_gpiote_in_config_t config = GPIOTE_CONFIG_IN_SENSE_TOGGLE(false);
        config.pull = p_btn-&amp;gt;pull_cfg;
        
        err_code = nrf_drv_gpiote_in_init(p_btn-&amp;gt;pin_no, &amp;amp;config, gpiote_event_handler);
        if (err_code != NRF_SUCCESS)
        {
            return err_code;
        }
    }
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Do you know what should be checked?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't start BLE on PCA10028</title><link>https://devzone.nordicsemi.com/thread/35388?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2015 06:02:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7eed67e-d7dd-417e-b1c2-17a56592f8be</guid><dc:creator>Alex P</dc:creator><description>&lt;p&gt;Hi Aryan,&lt;/p&gt;
&lt;p&gt;Thanks a lot for a quick response.&lt;/p&gt;
&lt;p&gt;I have purchased boards from SemiconductorStore.com, and they seem to be authentic.&lt;/p&gt;
&lt;p&gt;When I have installed Keil, I have used Keil Pack Installer to download and install Softdevices as well as all other related packs.&lt;/p&gt;
&lt;p&gt;No, I haven&amp;#39;t done IROM/IRAM settings set up, this is probably a missing step.  I thought that it is only required is use nRF Studio and not needed for Keil.&lt;/p&gt;
&lt;p&gt;Let me check it out and get back to you on this.&lt;/p&gt;
&lt;p&gt;PS. Yes, I used MCP as well as just regular Bluetooth Settings scan - the result was pretty much the same.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;All the best,
Alex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't start BLE on PCA10028</title><link>https://devzone.nordicsemi.com/thread/35387?ContentTypeID=1</link><pubDate>Tue, 06 Oct 2015 05:50:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1cfa86c-fcc7-47d1-9e58-77342552ad81</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Where did you buy these boards? For now we can assume that the boards work fine as tandalone examples are working fine.&lt;/p&gt;
&lt;p&gt;Let us stick to one softdevice S110. Where did you get this softdevice? Did you make sure that after flashing the softdevice, you have set the application IROM and IRAM values to correct settings.&lt;/p&gt;
&lt;p&gt;You can find settings for Keil &lt;a href="https://devzone.nordicsemi.com/question/31703/nrf51822-iram-and-irom-settings-for-s110-sd/"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Also for the ble_uart example mentioned &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk51.v9.0.0%2Fble_sdk_app_nus_eval.html&amp;amp;cp=4_1_0_4_4_17"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;From step 5) it mentions to use the MCP(Master Control Panel) which is needed to test this example. Have you used MCP or were you testing it in any other way like using nordic apps for iphone/android?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>