<?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>nRF52832 program entry point is not main()</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34419/nrf52832-program-entry-point-is-not-main</link><description>Hello, 
 I&amp;#39;m newbie with BLE and nRF52832. 
 I&amp;#39;m using IAR 8.22.1 and softdevice S132 V6.0.0. 
 The problem is that my program worked fine but suddenly the entry point is not main function but other location in memory. 
 I&amp;#39;ve try the following steps:</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 May 2018 05:28:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34419/nrf52832-program-entry-point-is-not-main" /><item><title>RE: nRF52832 program entry point is not main()</title><link>https://devzone.nordicsemi.com/thread/132571?ContentTypeID=1</link><pubDate>Mon, 21 May 2018 05:28:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:008163b3-6efd-4d5f-93b5-07744e8419b1</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;Yes, I &lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;meant FLASH/ROM location.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="background-color:transparent;color:#11171a;float:none;font-family:&amp;#39;GT Eesti&amp;#39;,&amp;#39;Helvetica&amp;#39;,Arial,sans-serif;font-size:14px;font-style:normal;font-weight:400;letter-spacing:normal;line-height:21px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt; Thanks for the correction.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 program entry point is not main()</title><link>https://devzone.nordicsemi.com/thread/132489?ContentTypeID=1</link><pubDate>Fri, 18 May 2018 10:51:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27158fbf-df65-4f2e-b367-0d4adcdd19b0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ran,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You meant FLASH/ROM location, not RAM ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52832 program entry point is not main()</title><link>https://devzone.nordicsemi.com/thread/132396?ContentTypeID=1</link><pubDate>Thu, 17 May 2018 09:45:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbb10fb7-2ef0-458b-b6c0-97d8b78d1e40</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Thanks god I&amp;#39;ve found the root cause of the problem.&lt;/p&gt;
&lt;p&gt;Originally the softdevice was S132 V5.1.0 and the RAM start address was 0x23000.&lt;/p&gt;
&lt;p&gt;During my development I&amp;#39;ve changed the softdevice to the latest one V6.0.0.&lt;/p&gt;
&lt;p&gt;With this version the RAM start address is 0x26000, so the application run over the softdevice.&lt;/p&gt;
&lt;p&gt;Conclusion: programming V5.1.0 with&amp;nbsp;&lt;span style="background-color:transparent;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;RAM start address 0x23000&lt;/span&gt; or &lt;span style="background-color:transparent;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;V6.0.0&lt;/span&gt;&lt;span style="background-color:transparent;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt; with&amp;nbsp;&lt;/span&gt;&lt;span style="background-color:transparent;color:#000000;float:none;font-family:Verdana,Arial,Helvetica,sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;white-space:normal;"&gt;RAM start address 0x26000 solves the bug.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52382 program entry point is not main()</title><link>https://devzone.nordicsemi.com/thread/132187?ContentTypeID=1</link><pubDate>Wed, 16 May 2018 07:48:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bb4b5fa-ea75-4378-8876-e31c1ad60003</guid><dc:creator>Ran Ratson Kohavi</dc:creator><description>&lt;p&gt;After erase and re-program the softdevice S132 to the PCA10040 board, the example app works fine.&lt;/p&gt;
&lt;p&gt;But doing this to my board with my app does not help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>