<?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>Unable to get BLE_Gateway from nRF51-ble-bcast-mesh working</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7217/unable-to-get-ble_gateway-from-nrf51-ble-bcast-mesh-working</link><description>I&amp;#39;ve gotten two PCA10001 boards working with the LED_mesh sample. 
 I cannot get the third board to run BLE_Gateway (it does not react to button presses, nor is it discoverable with nRF Master Control Panel ). 
 I&amp;#39;m using s110_nrf51822_7.1.0_softdevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Jun 2015 09:37:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7217/unable-to-get-ble_gateway-from-nrf51-ble-bcast-mesh-working" /><item><title>RE: Unable to get BLE_Gateway from nRF51-ble-bcast-mesh working</title><link>https://devzone.nordicsemi.com/thread/25489?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2015 09:37:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b32e66b-43c1-4e98-8209-9342a167c88a</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Do you think you can switch to nRF51-DK board instead of the nRF51822 EK, there is more RAM in the device used in the nRF51 DK (i.e. 32K).
The BLE gateway has been used in building the cloud interface, see this blog post &lt;a href="https://devzone.nordicsemi.com/blogs/672/accessing-the-ble-mesh-via-the-spark-cloud/"&gt;https://devzone.nordicsemi.com/blogs/672/accessing-the-ble-mesh-via-the-spark-cloud/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get BLE_Gateway from nRF51-ble-bcast-mesh working</title><link>https://devzone.nordicsemi.com/thread/25492?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 11:31:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e0c4238-d706-41d1-9b5c-3276bb1b86b7</guid><dc:creator>alexanderbrevig</dc:creator><description>&lt;p&gt;I updated my &amp;#39;answer&amp;#39; with more information.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get BLE_Gateway from nRF51-ble-bcast-mesh working</title><link>https://devzone.nordicsemi.com/thread/25491?ContentTypeID=1</link><pubDate>Fri, 05 Jun 2015 08:06:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:badfe0b0-8680-4851-992d-91c302f0c2a9</guid><dc:creator>alexanderbrevig</dc:creator><description>&lt;p&gt;Hi Trond! Thanks for getting back to me :)
I&amp;#39;m not doing anything other than the example (except I&amp;#39;ve changed the define to be PCA10001).&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll see if I can dump a stack trace today, I&amp;#39;m pretty sure the error happens in the init phase.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get BLE_Gateway from nRF51-ble-bcast-mesh working</title><link>https://devzone.nordicsemi.com/thread/25490?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2015 11:12:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96885ab7-5e4d-460f-b622-f61b08968caa</guid><dc:creator>Trond Einar Snekvik</dc:creator><description>&lt;p&gt;Hi,
The hardfault handler is usually called when you try to access some peripheral or data you&amp;#39;re not allowed to. The Softdevice enforces several protected memory areas (including some peripherals), see the SD specification for details.&lt;/p&gt;
&lt;p&gt;Are you able to step through the code with the debugger? You are probably accessing some blocked peripherals or similar, and we need to figure out when and which:) Are you able to initialize at all, or does it crash sometime in the init-phase? A stack trace would be the key to solve this.&lt;/p&gt;
&lt;p&gt;Are you doing anything besides the example code stuff?&lt;/p&gt;
&lt;p&gt;Trond&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to get BLE_Gateway from nRF51-ble-bcast-mesh working</title><link>https://devzone.nordicsemi.com/thread/25488?ContentTypeID=1</link><pubDate>Wed, 27 May 2015 10:52:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:459a0bec-1a8b-4237-a5ef-ef7415a1602f</guid><dc:creator>alexanderbrevig</dc:creator><description>&lt;p&gt;I&amp;#39;ve tried to do a bit of debugging, and it seems I get stuck in &lt;code&gt;error_loop&lt;/code&gt; from the &lt;code&gt;HardFault_Handler&lt;/code&gt;. Any ideas what could cause this? I compile with &lt;code&gt;nRF51 SDK v. 6.1.0&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried to use v.7 but I&amp;#39;m unable to get it working with Keil.&lt;/p&gt;
&lt;p&gt;Breakpoint in HardFault:
&lt;a href="http://i.imgur.com/7ae3mZh.png"&gt;http://i.imgur.com/7ae3mZh.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Breakpoint in error_loop:
&lt;a href="http://i.imgur.com/WZTvozp.png"&gt;http://i.imgur.com/WZTvozp.png&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It seems to be the case that I can set a breakpoint before &lt;code&gt;uint32_t error_code = sd_softdevice_enable(NRF_CLOCK_LFCLKSRC_XTAL_75_PPM, sd_assert_handler);&lt;/code&gt; but after this it hangs. I&amp;#39;m at loss...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>