<?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>nrf51 DK crash after 5mins</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12059/nrf51-dk-crash-after-5mins</link><description>I&amp;#39;m running a BLE Free rtos example code with the UART service example code. 
 I noticed that after 3-5 minutues of advertising the BLE service it stop advertising...I&amp;#39;m guessing a crash. Any ideas why ? How would one debug this kind of issue.
thanks</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 22 Feb 2016 22:16:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12059/nrf51-dk-crash-after-5mins" /><item><title>RE: nrf51 DK crash after 5mins</title><link>https://devzone.nordicsemi.com/thread/45661?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2016 22:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dafc28d5-7a9d-45c7-9592-87ab485e632a</guid><dc:creator>ypearson</dc:creator><description>&lt;p&gt;That&amp;#39;s likely it. Thanks&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll test it and report back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51 DK crash after 5mins</title><link>https://devzone.nordicsemi.com/thread/45660?ContentTypeID=1</link><pubDate>Mon, 22 Feb 2016 18:32:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:039fabe4-a341-4569-8abe-bae77fe8e2f5</guid><dc:creator>Keton</dc:creator><description>&lt;p&gt;Most SDK examples stop advertising after some time. This is due to usage of a advertising manager module  &lt;code&gt;ble_advertising.h&lt;/code&gt;. Google suggests that you are using example code similar to &lt;a href="https://github.com/monpetit/nrf52-ble-hrs-freertos-demo/blob/master/main.c"&gt;this&lt;/a&gt;. Look for &lt;code&gt;on_adv_evt&lt;/code&gt; function, specifically for &lt;code&gt;BLE_ADV_EVT_IDLE&lt;/code&gt; event. Change &lt;code&gt;sleep_mode_enter();&lt;/code&gt; to &lt;code&gt;advertising_start();&lt;/code&gt;. As for debugging use nrf_log.h and either UART or RTT.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>