<?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>Cannot unset breakpoint at main (using segger with nrf52840dk)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71520/cannot-unset-breakpoint-at-main-using-segger-with-nrf52840dk</link><description>Using segger nordic edition I cannot unset the breakpoint for the first instruction in the main() function. Since I&amp;#39;m using zephyr with wireless on this board it causes a crash every time I load debug since the main thread executes concurrently with wireless</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 18 Feb 2021 11:54:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71520/cannot-unset-breakpoint-at-main-using-segger-with-nrf52840dk" /><item><title>RE: Cannot unset breakpoint at main (using segger with nrf52840dk)</title><link>https://devzone.nordicsemi.com/thread/295066?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 11:54:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b194c88-c16d-41bf-a9dc-184cc7087ce5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m afraid there is no easy way to change the default project settings as the projects are auto generated when you import a NCS example into SES.&amp;nbsp; Maybe if you modify the \ncs\v1.4.2\toolchain\segger_embedded_studio\html\create_nordic_project.py.py script. The debugger configuration appear to be defined at line ~408:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;    if start != -1 and end != -1:
        inputs = out[start + 14:end].strip().split(&amp;quot;\n&amp;quot;)
        xml.append(&amp;#39;  &amp;lt;project Name=&amp;quot;zephyr/merged.hex&amp;quot;&amp;gt;&amp;#39;)
        line = (&amp;#39;    &amp;lt;configuration Name=&amp;quot;Common&amp;quot;&amp;#39;
                &amp;#39; debug_initial_breakpoint=&amp;quot;z_cstart&amp;quot;&amp;#39;
                &amp;#39; debug_start_from_entry_point_symbol=&amp;quot;No&amp;quot;&amp;#39;
                &amp;#39; project_dependencies=&amp;quot;all(build)&amp;quot;&amp;#39;
                &amp;#39; external_build_file_name=&amp;quot;$(ProjectDir)/zephyr/merged.hex&amp;quot;&amp;#39;)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot unset breakpoint at main (using segger with nrf52840dk)</title><link>https://devzone.nordicsemi.com/thread/294719?ContentTypeID=1</link><pubDate>Tue, 16 Feb 2021 20:06:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:366c984d-34c2-4c4c-bc67-0f53710012a3</guid><dc:creator>bermanmk</dc:creator><description>&lt;p&gt;Gotcha. It seems that the &amp;quot;Configure NRF Connect Project&amp;quot; option overwrites this value. Is there a way to override that behavior?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Cannot unset breakpoint at main (using segger with nrf52840dk)</title><link>https://devzone.nordicsemi.com/thread/293991?ContentTypeID=1</link><pubDate>Thu, 11 Feb 2021 13:25:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e516cfaf-47f9-4f6a-af31-a85c03426452</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Please try to change debugger settings as shown in the screenshot below. This should disable the automatic breakpoint on startup.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1613050231572v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>