<?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>In debug mode execution is not hitting the main by default and after Reset.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61185/in-debug-mode-execution-is-not-hitting-the-main-by-default-and-after-reset</link><description>Hi Team, 
 
 We are using the NRF52840 Module for our application. We are getting one issue with debug mode,when we compile the code and connect the debugger execution is not hitting the main fuction, it is going to some other instruction. 
 We did couple</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 May 2020 11:23:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61185/in-debug-mode-execution-is-not-hitting-the-main-by-default-and-after-reset" /><item><title>RE: In debug mode execution is not hitting the main by default and after Reset.</title><link>https://devzone.nordicsemi.com/thread/249924?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 11:23:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b799fad-82c4-4dba-99e7-e5d50ba0e5fa</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;I&amp;#39;m not able to reproduce this with the nRF52840 DK and a clean SDK example, but I did not test with the exact IAR version you use (8.22.1). Are you using a custom board? Could you test with a fresh copy of the SDK, to make sure there is nothing in the project settings that caused this behavior?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In debug mode execution is not hitting the main by default and after Reset.</title><link>https://devzone.nordicsemi.com/thread/249683?ContentTypeID=1</link><pubDate>Wed, 13 May 2020 11:14:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33630f3b-f260-49ba-bb2e-9b6233901db1</guid><dc:creator>Srinivas V</dc:creator><description>&lt;p&gt;Hi Jorgen,&lt;/p&gt;
&lt;p&gt;Thanks for your reply.&lt;/p&gt;
&lt;p&gt;1. Yes application is working as expected when not running with debugger.&lt;/p&gt;
&lt;p&gt;2. We have flashed the SD couple of time and we tried again in debug mode.&lt;/p&gt;
&lt;p&gt;3. we haven&amp;#39;t modified the project same settings.&lt;/p&gt;
&lt;p&gt;3. We are using SDK 16 Version with NRF52840 device with SD S140.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Srinivas.V&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: In debug mode execution is not hitting the main by default and after Reset.</title><link>https://devzone.nordicsemi.com/thread/249245?ContentTypeID=1</link><pubDate>Mon, 11 May 2020 14:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc1bf0bd-8d1b-440e-832e-e01f133694e6</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Is the application working as expected when not running with the debugger?&lt;/li&gt;
&lt;li&gt;Have you flashed the softdevice?&lt;/li&gt;
&lt;li&gt;Have you modified the project, or is this with a clean project from the SDK?&lt;/li&gt;
&lt;li&gt;Which SDK version are you using?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>