<?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>nRF52840  doesn&amp;#39;t advertise</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/42606/nrf52840-doesn-t-advertise</link><description>Hi 
 I am working on nrf52840, try to create a service,so i follow the tutorial , but i got a problem. The DK doesn&amp;#39;t advertise, when I debug it, then it will jump into this place,as shown in picture. 
 Does anybody know what to do with this? Thanks in</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Jan 2019 18:17:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/42606/nrf52840-doesn-t-advertise" /><item><title>RE: nRF52840  doesn't advertise</title><link>https://devzone.nordicsemi.com/thread/166088?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 18:17:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64b86fa9-e03c-4a41-87ed-93da0cd823c3</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;So please verify the answer:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0172._5F00_Verify_2D00_answer_2D00_nordic.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840  doesn't advertise</title><link>https://devzone.nordicsemi.com/thread/166056?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 15:29:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:477614b3-62fb-4b57-9278-db1b7be9d637</guid><dc:creator>Big_John</dc:creator><description>&lt;p&gt;Hi, Awneil&lt;/p&gt;
&lt;p&gt;Thank you for your help. I found out the problem. For what you said, though I don&amp;#39;t understand according to my knowledge now, I will try. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840  doesn't advertise</title><link>https://devzone.nordicsemi.com/thread/166053?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 15:24:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e0e147d-df91-4846-8b3f-3baac7a9866b</guid><dc:creator>Big_John</dc:creator><description>&lt;p&gt;Hi, Cyril&lt;/p&gt;
&lt;p&gt;Thank you for your answer. I am not very understand what you said about &amp;#39;pc&amp;#39;, but I tried to use some breakpoints and found the exact place where the failing instruction comes from.It&amp;#39;s about the RAM address. When I changed, it works. Thank you very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840  doesn't advertise</title><link>https://devzone.nordicsemi.com/thread/166030?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 14:36:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a4d6d81-618c-4db5-87dc-cdb88774eef4</guid><dc:creator>awneil</dc:creator><description>[quote userid="76545" url="~/f/nordic-q-a/42606/nrf52840-doesn-t-advertise"]when I debug it, then it will jump into this place,as shown in picture.[/quote]
&lt;p&gt;When, exactly, does that &amp;quot;jump&amp;quot; happen?&lt;/p&gt;
&lt;p&gt;As&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/cyril"&gt;cyril&lt;/a&gt;&amp;nbsp;said, that is the error handler - so, if your last step included something like an&amp;nbsp;APP_ERROR_CHECK() which failed, then you would expect to end up in the Error Handler.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Another possibility is that you are crashing the SoftDevice by halting the processor. This is because the SD has time-critical events; if it can&amp;#39;t keep up with them - eg, because the CPU is halted by the debugger - then it will crash.&lt;/p&gt;
&lt;p&gt;To get over this, you&amp;nbsp;can use Monitor Mode Debugging:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicPlayground/j-link-monitoring-mode-debugging/#monitor-mode-debugging-in-keil-%C2%B5vision5-and-segger-embedded-studio"&gt;github.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/monitor-mode-debugging---revolutionize-the-way-you-debug-ble-applications"&gt;devzone.nordicsemi.com/.../monitor-mode-debugging---revolutionize-the-way-you-debug-ble-applications&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sorry, the forum seems to have tagged the wrong &lt;a href="https://devzone.nordicsemi.com/members/fouge"&gt;Cyril&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840  doesn't advertise</title><link>https://devzone.nordicsemi.com/thread/166020?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 14:18:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c361ee09-e255-42dc-82d3-1eb51edaa0be</guid><dc:creator>Cyril</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;This function is the&amp;nbsp;error handler. It means an assert doesn&amp;#39;t pass in your code (for example APP_ERROR_CHECK())&amp;nbsp;&lt;/p&gt;
&lt;p&gt;you should check the Program Counter (PC) contained in the &amp;#39;pc&amp;#39; variable (check a few line higher on your screenshot.&lt;br /&gt;Then take a look at the .map file to see where the failing instruction comes from.&lt;br /&gt;&lt;br /&gt;Otherwise try to put some breakpoints in your program to see at which point it fails (which function doesn&amp;#39;t return).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>