<?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>Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29872/bootloader-not-entering-app</link><description>Hello,
I have nrf52832 and sdk14.1.
Everything works fine but after starting the device i get this information and there is no further progress from there on: 
 &amp;lt;info&amp;gt; app: Inside main
&amp;lt;debug&amp;gt; app: In nrf_bootloader_init
&amp;lt;debug&amp;gt; app: in weak nrf_dfu_init_user</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 26 Jan 2018 14:34:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29872/bootloader-not-entering-app" /><item><title>RE: Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/thread/118756?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 14:34:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68bf736a-9b88-4d87-a373-76721caa4baa</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I see, my mistake, I thought that it was another issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/thread/118755?ContentTypeID=1</link><pubDate>Fri, 26 Jan 2018 09:56:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0422cd43-5082-4fd5-a707-d5f9a6d15a0c</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;Ok i will. I thought that this is relevant because it is something that is connected with the connect workaround.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/thread/118754?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 14:49:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:337f36d5-a2ab-43f4-b2e3-42720802dfb8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Please create a new case for this schef.  But be aware that Jlink may hang the CPU from normal operation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/thread/118753?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2018 13:28:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9173cec-e364-4fa8-ac1a-05ba331cc777</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;I have a new issue while connecting to the board. Board works and everything is OK and board is alive until i write JLinkExec -&amp;gt; connect command. At that moment the board crashes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/thread/118762?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 15:51:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14ba7b9b-2b4d-491f-b219-da3d951dd54a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Would this workaround relevant ? &lt;a href="https://devzone.nordicsemi.com/question/122629/rtt-logging-from-application-started-by-bootloader/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/thread/118761?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 06:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59794564-0911-4b43-b364-d14478dcbd92</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;I tried &lt;code&gt;memset(_SEGGER_RTT.acID, 0x00, sizeof(_SEGGER_RTT.acID));&lt;/code&gt; and &lt;code&gt;NRF_LOG_FINAL_FLUSH();&lt;/code&gt; in &lt;code&gt;nrf_bootloader_app_start.c&lt;/code&gt; just before &lt;code&gt;nrf_bootloader_app_start_impl(start_addr);&lt;/code&gt;. Didn&amp;#39;t help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/thread/118752?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2018 06:22:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:540a361b-8512-42a9-a43d-0ece2c9a6ce3</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;Ok this helped and it will work as a workaround for now. Tnx.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/thread/118760?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2018 23:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:365381fc-7443-4237-98c0-7c35a43ca485</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;One could also try to zero out the &lt;code&gt;_SEGGER_RTT.acID[]&lt;/code&gt; array in the bootloader before the application starts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/thread/118757?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2018 22:59:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:731d22f6-9820-4a17-ae21-1069fd2c0321</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;You can type connect afterwards and it will show the output again, without restarting your board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/thread/118759?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2018 22:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d16b8d0b-37f2-422f-927c-1593420461b9</guid><dc:creator>Turbo J</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;Is it connected with RTT?&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Highly likely.&lt;/p&gt;
&lt;p&gt;Segger RTT has a problem when the bootloader switches to the app, because the memory location of the RTT buffers will highly likely change at this point.&lt;/p&gt;
&lt;p&gt;If the application does not completely clean its RAM, the &amp;quot;old&amp;quot; bootloader buffer may still exist - and RTT will never use the &amp;quot;real&amp;quot; location. Restarting the RTT client (or &lt;code&gt;JLinkExe&lt;/code&gt; in your case) could remedy the situation.&lt;/p&gt;
&lt;p&gt;If you are fluent in ARM assembly, you could try to argument the application starup code in order to erase all non-reserved RAM addresses. This should trigger RTT on the PC to scan for the new memory location.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader not entering APP</title><link>https://devzone.nordicsemi.com/thread/118758?ContentTypeID=1</link><pubDate>Tue, 23 Jan 2018 15:32:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6b4bdc1-65d3-4300-a32f-2ec74a55ea0c</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;I have a feeling that when i start my RTT boards restarts. What i want to achive is when my board gets into app_error_handler that the while(loop) prints the last line every second so when my board crashes i can see afterwards where it happend. Here are my commands:
&lt;code&gt;JLinkExe -if SWD -device nrf52 -speed 4000 -autoconnect 1&lt;/code&gt; and &lt;code&gt;telnet localhost 19021&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>