<?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>OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65732/ota-dfu-from-sdk11</link><description>Hello everyone, 
 Is there any way to update OTA-DFU from Firmware SDK11 to SDK16? 
 
 Thank you.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Oct 2020 06:58:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65732/ota-dfu-from-sdk11" /><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/274785?ContentTypeID=1</link><pubDate>Wed, 14 Oct 2020 06:58:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d2951b5-6f0e-4839-87f0-d65411c25fd1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I am not sure whether it is possible. If the bootloader has another start address, you would have to update the UICR during runtime, and that is not possible, unfortunately. If you want to update to the secure bootloader, you would need to manually program the device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know your exact reason why you need to update the bootloader, but if it is because you need a new softdevice, I suggest you just port the legacy bootloader use a later softdevice. SDK 11 and SDK 12 has the same softdevice API, so it is mostly a matter of changing the softdevice .hex file and header files.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/274758?ContentTypeID=1</link><pubDate>Wed, 14 Oct 2020 05:04:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df4620d3-16f7-455b-bf63-8d03151a248f</guid><dc:creator>Nhuan</dc:creator><description>&lt;p&gt;I followed this thread to change &lt;strong&gt;dfu_dual_bootloader.c&lt;/strong&gt;&lt;span&gt;&amp;nbsp;file of&lt;/span&gt;&amp;nbsp;default bootloader:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/18199/dfu---updating-from-legacy-sdk-v11-0-0-bootloader-to-secure-sdk-v12-x-0-bootloader?ReplySortBy=CreatedDate&amp;amp;ReplySortOrder=Ascending"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/18199/dfu---updating-from-legacy-sdk-v11-0-0-bootloader-to-secure-sdk-v12-x-0-bootloader?ReplySortBy=CreatedDate&amp;amp;ReplySortOrder=Ascending&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Now, I can DFU a new application (SDK11) with the modified bootloader. But, the zip file has only the application (no bootloader and softdevice).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/274642?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2020 12:38:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5216add2-50bc-4eb4-b018-68c7d1b39332</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok, is &lt;strong&gt;anything&lt;/strong&gt; in the bootloader project changed from the default bootloader in SDK11? If so, what?&lt;/p&gt;
&lt;p&gt;Are you able to perform a DFU if you build a bootloader that is unmodified from the SDK, and generate an image from the unmodified SDK?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/274575?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2020 10:59:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:edcf5f67-47fd-46c7-9898-13da78fda2cf</guid><dc:creator>Nhuan</dc:creator><description>&lt;p&gt;That right, Edvin.&lt;/p&gt;
&lt;p&gt;The new application is from SDK11, and uses the same softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/274574?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2020 10:57:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8eb25a81-dab5-4819-af53-25e47ed12e40</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Ok, so you can&amp;#39;t use the bootloader for anything, then. Is that right? Is the new application also from SDK11, and does it use the same softdevice as the old application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/274503?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2020 08:15:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:873150f9-a318-433a-ac34-414b5d4eb953</guid><dc:creator>Nhuan</dc:creator><description>&lt;p&gt;I&amp;#39;m updating an example application in &lt;strong&gt;SDK11&lt;/strong&gt; from my product (modified &lt;strong&gt;dual_bootloader&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;strong&gt;SDK11&lt;/strong&gt;&lt;/span&gt;).&lt;/p&gt;
&lt;p&gt;The DFU process ran:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img class="align-left" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/135x240/__key/communityserver-discussions-components-files/4/z2123682611026_5F00_92387de6d691b65cd1bdfb04a1ada674.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;but the new application did not perform. These are pictures before/after DFU:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/0333.before.png" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/4527.after.png" /&gt;&lt;/p&gt;
&lt;p&gt;The command I used &lt;strong&gt;nrfutil 0.5.2&lt;/strong&gt;:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil dfu genpkg --application-version 0x41540003 --dev-type 0x4154 --dev-revision 0x0002 --application ble_app_hrs_s132_pca10040.hex hrs_sdk11.zip
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/274475?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2020 07:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a684c2f-4b7a-4cce-aa63-e2ec7f3b1a28</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Are you able to update anything using the dual bootloader from SDK11? Have you tried updating the application over DFU? Does that work?&lt;/p&gt;
&lt;p&gt;If yes, how do you generate the bootloader packet compared to how you generate the application? Can you show me the commands that you used?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/274448?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2020 04:12:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:304f1721-477c-4040-8364-9b64859478dd</guid><dc:creator>Nhuan</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;My product is out in the filed now, and running on &lt;strong&gt;SDK11&lt;/strong&gt; (legacy bootloader), so I cannot update its bootloader directly. I&amp;#39;m trying to find a way to OTA DFU for it. I have already followed this thread:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/18199/dfu---updating-from-legacy-sdk-v11-0-0-bootloader-to-secure-sdk-v12-x-0-bootloader?ReplySortBy=CreatedDate&amp;amp;ReplySortOrder=Ascending"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/18199/dfu---updating-from-legacy-sdk-v11-0-0-bootloader-to-secure-sdk-v12-x-0-bootloader?ReplySortBy=CreatedDate&amp;amp;ReplySortOrder=Ascending &lt;/a&gt;&lt;/p&gt;
&lt;p&gt;and modified the &lt;strong&gt;dfu_dual_bootloader.c&lt;/strong&gt; file in &lt;strong&gt;SDK11&lt;/strong&gt;, but now I have to face 2 issues:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt; 1. How can I OTA DFU the modified &lt;strong&gt;dual_bootloader&lt;/strong&gt; (&lt;strong&gt;SDK11&lt;/strong&gt;) for my product?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;2. The modified &lt;strong&gt;dual_bootloader&lt;/strong&gt; still &lt;strong&gt;not&lt;/strong&gt; work when I try to update it to &lt;strong&gt;secure_bootloader&lt;/strong&gt; in &lt;strong&gt;SDK12.3.0&lt;/strong&gt;. I used the &lt;strong&gt;nrfutil&lt;/strong&gt; 2.2.0 to zip the &lt;strong&gt;secure_bootloader&lt;/strong&gt;&lt;span&gt;&amp;nbsp;(&lt;strong&gt;SDK12.3.0&lt;/strong&gt;), but the dual_bootloader (&lt;strong&gt;SDK11&lt;/strong&gt;) did not accept it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regard,&lt;/p&gt;
&lt;p&gt;Nhuan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/274350?ContentTypeID=1</link><pubDate>Mon, 12 Oct 2020 13:34:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd03a392-ee56-48c7-8968-a1a6d2c4cb66</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. When you mark an answer as the verified answer, the ticket is closed, and it doesn&amp;#39;t open even though a new comment/question is posted in this ticket.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Nhuan Huynh"]Can I use the latest&amp;nbsp;&lt;strong&gt;nrfutil 6.1.0&lt;/strong&gt;&amp;nbsp;tool to generate the DFU zip file for the dual_bank_bootloader in SDK11 ?[/quote]
&lt;p&gt;&amp;nbsp;I think so, but I have not tested. You need to use the flag --no-backup. Look it up by using the command nrfutil pkg generate --help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If it doesn&amp;#39;t work, it may be that the old bootloaders are deprecated in the later versions of nrfutil. If so, please try to use the version that you used when SDK 11 was the latest SDK (the version that you used when you implemented your bootloader).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;--hw version and --bootloader version should be the same as the ones you used before.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Nhuan Huynh"]Because, I lacked its information off, only have .hex file.[/quote]
&lt;p&gt;&amp;nbsp;Do you know who wrote the applications back in the day? I believe the easiest is to ask the people who used the bootloader in your company.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I notice that nRF Connect for Desktop and nrfutil 6.1.0 can not be used to transfer the DFU image, because the bootloader from SDK11 used a different UUID than the later SDK&amp;#39;s bootloaders.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/269995?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 07:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d87f68a-79ba-4aae-b337-8c9e0385a2a8</guid><dc:creator>Nhuan</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;Can I use the latest&amp;nbsp;&lt;strong&gt;nrfutil 6.1.0&lt;/strong&gt;&amp;nbsp;tool to generate the DFU zip file for the dual_bank_bootloader in SDK11 ?&lt;/p&gt;
&lt;p&gt;If yes, do I need to keep the --hw-version and --bootloader-version same with the old firmware, which needs to be updated? Because, I lacked its information off, only have .hex file.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Nhuan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/268832?ContentTypeID=1</link><pubDate>Thu, 10 Sep 2020 03:26:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a6c236a-0d68-493b-bff3-4bc5ff9ba3fb</guid><dc:creator>Nhuan</dc:creator><description>&lt;p&gt;Hi Edvin,&lt;/p&gt;
&lt;p&gt;I will try it.&lt;/p&gt;
&lt;p&gt;Thank you for your useful information.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regard,&lt;/p&gt;
&lt;p&gt;Nhuan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU from SDK11</title><link>https://devzone.nordicsemi.com/thread/268782?ContentTypeID=1</link><pubDate>Wed, 09 Sep 2020 13:50:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d70a079-8209-43ac-9e9e-7369134fc266</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;What bootloader from SDK11 are you using?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As far as I can tell, there is no secure bootloader in SDK11, so it is not trivial. It depends on how much time you want to spend on it.&lt;/p&gt;
&lt;p&gt;I guess you should look into updating the bootloader (via DFU) to the secure bootloader in SDK 12.3.0). After that, it is not trivial, because you need to change the bootloader start address in UICR. So you need an &amp;quot;in between bootloaders-bootloader&amp;quot; that does this. But it is possible. WARNING: However, if you loose power at the wrong point in time during this, you may brick the device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think you need to ask yourself whether this is something you want to spend time on. Is it a product that is out in the field? Or hobby devices in your home?&lt;/p&gt;
&lt;p&gt;I gave it a go, but I am not familiar with the bootloader from SDK11 (legacy bootloader). Are you able to update the bootloader itself (to the same bootloader, just change something in the bootloader code, and try to update to this new bootloader)?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>