<?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>Debugging custom thingy FW with J-link edu mini using SES but execution does not reach main()</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49350/debugging-custom-thingy-fw-with-j-link-edu-mini-using-ses-but-execution-does-not-reach-main</link><description>Hello fellow Nordic-ians, 
 I am developing a custom firmware for Nordic Thingy 52. I am using the Segger Embedded Studio as my IDE and J-link Edu Mini as the programmer / debugger for development. 
 When I &amp;quot;Build and Debug&amp;quot; the firmware on to thingy</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jul 2019 09:36:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49350/debugging-custom-thingy-fw-with-j-link-edu-mini-using-ses-but-execution-does-not-reach-main" /><item><title>RE: Debugging custom thingy FW with J-link edu mini using SES but execution does not reach main()</title><link>https://devzone.nordicsemi.com/thread/196464?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 09:36:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33760f25-ae9e-406c-96fd-0f5cfa1981d2</guid><dc:creator>Kartik</dc:creator><description>&lt;p&gt;Thanks awneil for the quick reply !!!&lt;/p&gt;
&lt;p&gt;I will try out this mechanism and verify the answer on success.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging custom thingy FW with J-link edu mini using SES but execution does not reach main()</title><link>https://devzone.nordicsemi.com/thread/196433?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 08:47:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2d3b2db-e1a7-4627-a03a-f47b30e9f02a</guid><dc:creator>awneil</dc:creator><description>[quote userid="80855" url="~/f/nordic-q-a/49350/debugging-custom-thingy-fw-with-j-link-edu-mini-using-ses-but-execution-does-not-reach-main/196429"]can I flash the softDevice Hex and application Hex file one after the other[/quote]
&lt;p&gt;Yes - just make sure you don&amp;#39;t do an &amp;#39;Erase All&amp;#39; between!&lt;/p&gt;
[quote userid="80855" url="~/f/nordic-q-a/49350/debugging-custom-thingy-fw-with-j-link-edu-mini-using-ses-but-execution-does-not-reach-main/196429"]is there a mechanism to flash both the hex files in one go?[/quote]
&lt;p&gt;You can merge the 2 hexfiles into one:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf5x_cltools/UG/cltools/nrf5x_mergehex.html"&gt;https://infocenter.nordicsemi.com/topic/ug_nrf5x_cltools/UG/cltools/nrf5x_mergehex.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;However, once programmed, there is really no reason to keep re-programming the SoftDevice - it just wastes time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging custom thingy FW with J-link edu mini using SES but execution does not reach main()</title><link>https://devzone.nordicsemi.com/thread/196429?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 08:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:110ea077-d9ce-4878-9f32-e4387bae37f9</guid><dc:creator>Kartik</dc:creator><description>&lt;p&gt;Thanks Andre for the vital comment.&amp;nbsp;Oh Yes, it would require a soft device too !!&lt;/p&gt;
&lt;p&gt;So, can I flash the softDevice Hex and application Hex file one after the other using J-Flash tool to make it work?&lt;/p&gt;
&lt;p&gt;Or is there a mechanism to flash both the hex files in one go? What is the recommended procedure to achieve this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging custom thingy FW with J-link edu mini using SES but execution does not reach main()</title><link>https://devzone.nordicsemi.com/thread/196404?ContentTypeID=1</link><pubDate>Thu, 04 Jul 2019 07:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3b45fbe-79a3-4f3c-974d-cbc2badc9277</guid><dc:creator>Andre</dc:creator><description>&lt;p&gt;Does your custom firmware require a SoftDevice? If so, verify the correct version of the SoftDevice has been flashed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>