<?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 discover beacon</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9628/unable-to-discover-beacon</link><description>I tried to run beacon example (from SDK 9.0). Even after uploading hex file I was not able to &amp;quot;see&amp;quot; becon. I&amp;#39;m using st-link v2 and openocd. Let me tell a bit more about what I did. 
 First I tried with notifications example: 
 reset
halt
nrf51 mass_erase</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Oct 2015 07:35:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9628/unable-to-discover-beacon" /><item><title>RE: Unable to discover beacon</title><link>https://devzone.nordicsemi.com/thread/35591?ContentTypeID=1</link><pubDate>Fri, 09 Oct 2015 07:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7067dca5-fd2e-4abb-9586-b754ba69714a</guid><dc:creator>Robert</dc:creator><description>&lt;p&gt;Thank you for your response.&lt;/p&gt;
&lt;p&gt;That is a good question - what mass_erase do. I though it is removing everything from memory. This is the script from openocd.&lt;/p&gt;
&lt;p&gt;I based on description from here: &lt;a href="http://openocd.org/doc/html/Flash-Commands.html"&gt;openocd.org/.../Flash-Commands.html&lt;/a&gt;
&amp;quot;If flash_autoerase is off, use mass_erase before flash programming. Flash erase command fails if region to erase is not whole flash memory. &amp;quot;&lt;/p&gt;
&lt;p&gt;Good point - I didn&amp;#39;t tried to connect with debuger yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to discover beacon</title><link>https://devzone.nordicsemi.com/thread/35590?ContentTypeID=1</link><pubDate>Fri, 09 Oct 2015 07:26:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0f6ac50-869c-4955-afc0-95c1446bc6b8</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;you made me gulp when I saw mass_erase. Then i realized that it could just be the name of your script.
What are you doing inside that? please say just chip erase and not mass erase (there is a difference and if you do not know, i would not tell you. Believe me, here ignorance is a bliss)&lt;/p&gt;
&lt;p&gt;If beacon is not advertising at all then there are two possible reasons&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;becaon application did not start at all because of wrong start address of this application, not matching what softdevice version is expecting.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;something failed inside your program, which by default will reset your chip- Can you overwrite the app_error_handler function to blink some LEDS and confirm that there are some failures.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>