<?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>What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59594/what-is-the-right-way-of-the-dfu</link><description>Hi, 
 I&amp;#39;d like to update firmware on my nRF52832 panel with my update flow (only the application; the bootloader and softdevice will be unchanged). I can load the new firmware into the empty pages of the flash (ie. from 0x4C000). I set a &amp;#39;nrf_dfu_settins_t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Apr 2020 07:10:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59594/what-is-the-right-way-of-the-dfu" /><item><title>RE: What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/thread/244326?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 07:10:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27b13308-fa5d-4bac-9dfa-72e8c818460a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Great to hear that. Thanks for sharing. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/thread/244164?ContentTypeID=1</link><pubDate>Thu, 09 Apr 2020 09:18:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:548721f2-ce07-45b2-9ba0-ffb3c84e6f9e</guid><dc:creator>attila-v</dc:creator><description>&lt;p&gt;the problem is solved.&lt;/p&gt;
&lt;p&gt;When starts the bootloader, it sets the MBR page (0x7E) to protected state in the &amp;#39;nrf_bootloader_app_start_final()&amp;#39; function.&lt;br /&gt;I had to set this page to unprotected only.&lt;/p&gt;
&lt;p&gt;regards,&lt;br /&gt;Attila&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/thread/244054?ContentTypeID=1</link><pubDate>Wed, 08 Apr 2020 11:11:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ef583f5-bcb6-4c10-bf2d-3ecce0aaa202</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am sorry for the delay, The staffing is reduced during easter due to holidays and I will be gone this week, but I will be back Tuesday next week and will look at your ticket then.&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/thread/243908?ContentTypeID=1</link><pubDate>Tue, 07 Apr 2020 13:13:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:348c5283-09c0-491f-a78d-f625f8641746</guid><dc:creator>attila-v</dc:creator><description>&lt;p&gt;As I guessed the problem is writing back the &amp;#39;nrf_dfu_settings_t&amp;#39; struct. I do not know why, but I can not erase and write the MBR page (0x7e000). If I try to do, the watchdog resets the board (&lt;span class="tlid-translation translation" lang="en"&gt;&lt;span class="trans-target-highlight" title=""&gt;obviously the program runs to an endless loop).&lt;/span&gt;&lt;/span&gt;&lt;span class="tlid-translation-gender-indicator translation-gender-indicator"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;But there is no problem to write the SETTINGS area (0x7f000), but it is not enough to update the firmware.&lt;/p&gt;
&lt;p&gt;Why depends this from the SWD debugger?&lt;/p&gt;
&lt;p&gt;have you got any idea?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/thread/242846?ContentTypeID=1</link><pubDate>Wed, 01 Apr 2020 08:05:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d682c668-110c-4d3d-9ed8-9fe17f6f8251</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The typical reason for an application to only run when a debugger is connected is that you use semihosting. Is that the case? Please see this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52019/application-starts-only-with-connected-swd-debugger-after-dfu"&gt;post&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/thread/242401?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 12:13:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6684df6b-cf8f-45f4-a5b6-732a9d21ded9</guid><dc:creator>attila-v</dc:creator><description>&lt;p&gt;I think the problem is in this line (of course, this is not the full code):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;// write back this struct (to the MBR [0x7e000] area too)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;the MBR and SETTINGS page has not written back, if JLink is not connected.&lt;/p&gt;
&lt;p&gt;Why?&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f615.svg" title="Confused"&gt;&amp;#x1f615;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/thread/242345?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 09:49:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e4d611b-21a4-44d1-9b13-e07bb859df8f</guid><dc:creator>attila-v</dc:creator><description>&lt;p&gt;thank you for your answer.&lt;br /&gt;When JLink SWD is connected, I can see in the log, that the update process is working correctly (i.e. in the&amp;nbsp; nrf_bootloader_fw_activate() function the case branch is the &amp;#39;Valid app&amp;#39;, so the app_activate() is called). But if I use my panel without any debug possibility, the update wont be success.&lt;br /&gt;What does the JLink (or what do I miss) when it is lost its session after panel restart (I have to restart JLink quickly if I want to see the log)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/thread/242328?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 09:08:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fc2999f-88f9-4910-a77c-d4d157d69fa8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can debug the bootloader and place a breakpoint at nrf_bootloader_fw_activate in nrf_bootloader_init() in nrf_bootloader.c. You should see that app_activate() is being called insidenrf_bootloader_fw_activate().&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/thread/242318?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 08:46:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ac0d260-96af-4daa-b565-4af43765d1cb</guid><dc:creator>attila-v</dc:creator><description>&lt;p&gt;My opinion is that I have to set any other members of this struct too, but I did not found any information about this.&lt;br /&gt;What do you think?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/thread/242317?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 08:42:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36245239-8ea1-4c7a-be62-7ee225f8075a</guid><dc:creator>attila-v</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;15.3&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What is the right way of the DFU</title><link>https://devzone.nordicsemi.com/thread/242305?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2020 08:04:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:526b8c39-37e5-44e9-bbba-1d9d101295a4</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which SDK are you using?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>