<?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 figure out why program is not running</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12812/can-t-figure-out-why-program-is-not-running</link><description>So I made my own version of blinky using version 11 of the SDK with the S130 SoftDevice. This works fine and I can flash it to my dev kit (nRF51 PCA10028) with no issues. Here is the project on Github if you want to see how it works. I&amp;#39;m using a pure</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 31 Mar 2016 17:45:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12812/can-t-figure-out-why-program-is-not-running" /><item><title>RE: Can't figure out why program is not running</title><link>https://devzone.nordicsemi.com/thread/48695?ContentTypeID=1</link><pubDate>Thu, 31 Mar 2016 17:45:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5071a6b9-04e6-45b1-aea8-53e7743bc40d</guid><dc:creator>DJM</dc:creator><description>&lt;p&gt;Thanks to the comments I was able to use GDB to figure out what was going wrong.&lt;/p&gt;
&lt;p&gt;I stupidly had the wrong RAM length in my linker. Changed to the following and it now works:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;MEMORY
{
  FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x25000
  RAM (rwx) :  ORIGIN = 0x20002080, LENGTH = 0x5f80
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't figure out why program is not running</title><link>https://devzone.nordicsemi.com/thread/48691?ContentTypeID=1</link><pubDate>Tue, 29 Mar 2016 12:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d1f5944-8507-466e-a17e-f39bcd122faa</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/question/60125/my-device-is-freezing-and-restarting/?answer=60126#post-id-60126"&gt;this&lt;/a&gt; to see how to use the error handler.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't figure out why program is not running</title><link>https://devzone.nordicsemi.com/thread/48692?ContentTypeID=1</link><pubDate>Mon, 28 Mar 2016 02:21:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff9392c3-52a4-4c65-8b80-8ece41fe1b21</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Put a breakpoint in the app_error_handler() as it&amp;#39;s fairly likely you&amp;#39;re ending up there. Then trace back to find out which api call returned an error and why.&lt;/p&gt;
&lt;p&gt;And check out the blog posts about Segger Embedded Studio, it offers a somewhat better debugging experience than gdb over a socket.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't figure out why program is not running</title><link>https://devzone.nordicsemi.com/thread/48694?ContentTypeID=1</link><pubDate>Sun, 27 Mar 2016 15:57:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:559a8cb6-53d9-4da8-8e11-00fc238aa2c0</guid><dc:creator>DJM</dc:creator><description>&lt;p&gt;@tasketrond don&amp;#39;t think I am. Going to move it up the Makefile to see if it is. It&amp;#39;s being loading in the same order as the example application anyway so I don&amp;#39;t think it will make a difference. I&amp;#39;m using the S130 SoftDevice which is the same one used in the example.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't figure out why program is not running</title><link>https://devzone.nordicsemi.com/thread/48693?ContentTypeID=1</link><pubDate>Sun, 27 Mar 2016 15:33:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:22f87a2d-6446-4c83-98a7-85088e22ead8</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;Are you doing any init before that uses the drv_config.h? Are you using the same  softdevice? Different versions has different memory mappings, so you might end up writing your application at the wrong vector&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>