<?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>Update Softdevice via DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/64598/update-softdevice-via-dfu</link><description>I currently have a device running on sdk15 with a softdevice 6.0.0. I got a bootloader running the DFU code, and updating the main image works perfect. We load a default image for testing during manufacturing. We want to update the main image to use the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Aug 2020 13:10:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/64598/update-softdevice-via-dfu" /><item><title>RE: Update Softdevice via DFU</title><link>https://devzone.nordicsemi.com/thread/263841?ContentTypeID=1</link><pubDate>Mon, 10 Aug 2020 13:10:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79f9b018-f7e8-46d7-b27b-e7a5907a5abd</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The bootloader and Softdevice images are merged into one binary image and transferred to the target in go, and only when the entire image has been received and validated will the bootloader start the activation process. And the copy routines used for activation are designed to be able to withstand unexpected resets due to power loss, etc.&lt;/p&gt;
&lt;p&gt;The device will fall back to DFU mode once the new SD and BL is activated, and will then be ready to receive the new app update from the DFU master&lt;/p&gt;
&lt;p&gt;The update sequences are described in more detail here: &lt;span&gt;&lt;a title="Dual-bank and single-bank updates" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/lib_bootloader_dfu_banks.html?cp=7_1_3_5_1_2"&gt;Dual-bank and single-bank updates&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update Softdevice via DFU</title><link>https://devzone.nordicsemi.com/thread/263727?ContentTypeID=1</link><pubDate>Sat, 08 Aug 2020 23:25:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c776f29-e165-4364-bedc-5b3195952c30</guid><dc:creator>Riaan</dc:creator><description>&lt;p&gt;I will create a new bootloader with the same sdk17, and give your solution a go.&lt;br /&gt;&lt;br /&gt;One question on that is, is it safe to update the bootloader and the sofdevice in this manner?&lt;br /&gt;&lt;br /&gt;If I understand it correctly then each one will be sent over and updated one by one. If for whatever reason something fails during this update process, will the device be bricked?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Aka, if the bootloader is updated, and say the main app, but not the softdevice. If the device restarts will the bootloader try and run the new app, which will fail as the softdevice is not the one required.&lt;br /&gt;&lt;br /&gt;I am not sure what fail safes are in place for such events. In the field we have seen that just updating the app sometimes fails, but we just try again and it works. So I am a bit worried to update the bootloader and softdevice as well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update Softdevice via DFU</title><link>https://devzone.nordicsemi.com/thread/263654?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 14:41:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa40a9a8-8d64-4f33-bfb0-0799b1831f9d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;When doing a major SD update (v6--&amp;gt;v7) you also need to include a new app and bootloader that is compatible with the new API and layout (ie depending on softdevice, the app may require a new start address).&lt;/p&gt;
&lt;p&gt;Please try run nrfutil with the arguments I&amp;#39;ve added below:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;quot;nrfutlis_6_1_0.exe pkg generate --hw-version 52 --sd-req 0xCB, &lt;strong&gt;0xA8 --bootloader &amp;lt;new bootloader&amp;gt;.hex --bootloader-version &amp;lt;version&amp;gt;&lt;/strong&gt; --application bleApp.hex --application-version 1 --key-file key.pem --softdevice s132_nrf52_7.0.1_softdevice.hex --sd-id 0xCB bleApp.zip&amp;quot;.&lt;/p&gt;
&lt;p&gt;I added 0xA8 to the sd req list because it&amp;#39;s FWID for s132 v6.0.0 that you have running on your device.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-2d8cb21094da45cbaadffc08acda9c30/pastedimage1596811261661v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Update Softdevice via DFU</title><link>https://devzone.nordicsemi.com/thread/263546?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2020 08:30:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a599667-cc5b-4525-9ca8-fa31bcb61e37</guid><dc:creator>Riaan</dc:creator><description>&lt;p&gt;So I think I added the image in&lt;br /&gt;&amp;quot;nrfutlis_6_1_0.exe pkg generate --hw-version 52 --sd-req 0xCB --application bleApp.hex --application-version 1 --key-file key.pem --softdevice s132_nrf52_7.0.1_softdevice.hex --sd-id 0xCB bleApp.zip&amp;quot;.&lt;br /&gt;&lt;br /&gt;I can see my package size grew a bit, so I take it is correct.&lt;br /&gt;&lt;br /&gt;But I still get the &amp;quot;Extended Error 0x07: The array of supported SoftDevices for the update does not contain the FWID of the current SoftDevice.&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>