<?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>Application update issue with personal bootloader and dfu</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64946/application-update-issue-with-personal-bootloader-and-dfu</link><description>Hi, 
 I am working on an OTA update using my own wireless protocol . I’m currently developing my own bootloader. I use nrf52832 DK and s132_nrf52_6.1.0_softdevice. 
 To sum up, I started with the &amp;quot;iot_secure_dfu_bootloader_s132_pca1040&amp;quot; found in &amp;quot;nRF5_SDK_15</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 24 Aug 2020 08:12:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64946/application-update-issue-with-personal-bootloader-and-dfu" /><item><title>RE: Application update issue with personal bootloader and dfu</title><link>https://devzone.nordicsemi.com/thread/265902?ContentTypeID=1</link><pubDate>Mon, 24 Aug 2020 08:12:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe177a15-49e0-4e2e-a504-2db4b02dc770</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could&amp;nbsp;you try to debug the application,and see if you enter the app_error_fault_handler() ? Compile and run the application in debug configuration:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-224cbaf5d8e247789ac9b96fcce94eef/pastedimage1598256712345v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also enable RTT log backend, in sdk_config.h, make sure that you have these defines defined like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#define NRF_LOG_BACKEND_RTT_ENABLED 1
#define NRF_FPRINTF_FLAG_AUTOMATIC_CR_ON_LF_ENABLED 0
#define NRF_LOG_ENABLED 1&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application update issue with personal bootloader and dfu</title><link>https://devzone.nordicsemi.com/thread/265615?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2020 16:17:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7a0575d-f476-4d6b-9b19-30bc4a2a01e4</guid><dc:creator>Vincent RED</dc:creator><description>&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your answer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried both address, same result ...&lt;/p&gt;
&lt;p&gt;What i have seen with segger embedded studio is :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - after SD jump to 0x26374&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - application works as expected. I compare it with the original blinky_example step by step.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - the app crash during the last iteration in the function nrf_delay()&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; - the board is back to the bootloader&lt;/p&gt;
&lt;p&gt;Here is the statement just before reboot :&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/200x340/__key/communityserver-discussions-components-files/4/registers_5F00_before_5F00_reboot.PNG" /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/200x340/__key/communityserver-discussions-components-files/4/disassembly_5F00_before_5F00_reboot.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application update issue with personal bootloader and dfu</title><link>https://devzone.nordicsemi.com/thread/265601?ContentTypeID=1</link><pubDate>Thu, 20 Aug 2020 14:56:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:764789df-7447-43bd-bff9-460435486d9c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In &amp;quot;&lt;span&gt;start_app&amp;quot;, what address&amp;nbsp;are you jumping to ?&amp;nbsp;0x26000 ?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Try to jump to&amp;nbsp;0x1000 instead (end of MBR).&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>