<?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>Softdevice update through DFU</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40050/softdevice-update-through-dfu</link><description>My current hardware is based on SoftDevice SD132, v6.0.0 as provided with SDK 15.0.0. I would like to update it to use SoftDevice 6.1.0 (as part of SDK 15.2.0) and perhaps later even to an S332 once it becomes available. The ZIP files we produce for updating</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 May 2019 16:56:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40050/softdevice-update-through-dfu" /><item><title>RE: Softdevice update through DFU</title><link>https://devzone.nordicsemi.com/thread/188908?ContentTypeID=1</link><pubDate>Thu, 23 May 2019 16:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f60ecf2-ab66-4cbf-9110-dbeddfe2d425</guid><dc:creator>donald@l2finc.com</dc:creator><description>&lt;p&gt;Hi Jev,&lt;/p&gt;
&lt;p&gt;I got same error message like that you got&lt;/p&gt;
&lt;p&gt;&amp;quot;DFU failed with error: When writing &amp;#39;EXECUTE&amp;#39; command to Control Point Characteristic of DFU Target: Operation code 4 (EXECUTE) failed on DFU Target. Result code 11 (EXTENDED_ERROR) Extended error code 7 (SD_VERSION_FAILURE).&amp;quot;&lt;/p&gt;
&lt;p&gt;Do you resolved this issue yet?&lt;/p&gt;
&lt;p&gt;I am using Embedded Studio; run on Windows 10; nRF5_SDK_15.0.0_a53641a; I am using this tutorial&lt;/p&gt;
&lt;p&gt;nRF52832-buttonless-dfu-development-tutorial&lt;/p&gt;
&lt;p&gt;and stopped at&lt;/p&gt;
&lt;p&gt;Step 3 - Create our own FW.zip package which we can upload to the device over BLE&lt;/p&gt;
&lt;p&gt;6. Click the DFU button, and browse to the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;FW.zip&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;file we just created and select this one, click &amp;ldquo;Start DFU&amp;rdquo;. The SD will be uploaded first, then the application&lt;/p&gt;
&lt;p&gt;Please help me if you could.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice update through DFU</title><link>https://devzone.nordicsemi.com/thread/156016?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 15:57:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac4b4e61-5757-406d-8f82-e41a1efd8924</guid><dc:creator>jev</dc:creator><description>&lt;p&gt;Okay, clear. Thanks &lt;span&gt;Bj&amp;oslash;rn&lt;/span&gt;!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice update through DFU</title><link>https://devzone.nordicsemi.com/thread/156009?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 15:24:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eeacdc8-7a4b-4fbd-bb56-a68040f4fed2</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You generate a SD+BL+APP Zip file with nrfutil and then the nRF DFU Library used by the iOS/Android apps and nRF Connect for Desktop will automatically split the DFU procedure into a SD+BL and a APP update. This will look as one update for the end user.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The reason it is done in two steps is because there is not enough room for the new SD, BL and APP in addition to the old SD, BL and APP.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice update through DFU</title><link>https://devzone.nordicsemi.com/thread/156004?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 15:19:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a39b168-4441-49b6-a915-f001848252ca</guid><dc:creator>jev</dc:creator><description>&lt;p&gt;Ah, okay. That might help, thanks.&lt;/p&gt;
&lt;p&gt;Just to make sure.. assuming software n relies on SD v6.0.0 and software n+1 (and later) relies on SD v.6.1.0, customers will always be forced to update to n+1 before going to n+2. There is no trick to do that in one go?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice update through DFU</title><link>https://devzone.nordicsemi.com/thread/155982?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 14:12:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdf05ed8-cdcb-4138-b302-b26b3bbfadc2</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Joost,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if your&amp;#39;re performing a SD+BL+APP update then the update is split into a SD+BL update (current application is deleted) followed by a APP update. This means that you need to specify the SoftDevice version that is present on the device prior to the update as the -sd-req and then set the &lt;span&gt;--sd-id&lt;/span&gt;&amp;nbsp;to the new SoftDevice version that is present in the DFU package, which will be used for the APP update. See note 2 under Usage in the REadme.md on&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil"&gt;https://github.com/NordicSemiconductor/pc-nrfutil&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;So in your case you need create the Zip package with the following options&lt;br /&gt;&lt;br /&gt;nrfutil.exe pkg generate --hw-version 52 --sd-req &lt;span&gt;0xA8 --sd-id&amp;nbsp;0xAF&lt;/span&gt;&amp;nbsp;--application-version 1 --application &amp;quot;$CURDIR/_build/$PROJNAME.hex&amp;quot; --key-file private.pem&amp;nbsp; &amp;quot;$CURDIR/_build/$PROJNAME.zip&amp;quot;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice update through DFU</title><link>https://devzone.nordicsemi.com/thread/155919?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 10:46:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5d1dc66-9da6-4dd0-9b32-4671342b4e30</guid><dc:creator>jev</dc:creator><description>&lt;p&gt;The exact message is:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When writing &amp;#39;EXECUTE&amp;#39; command to Control Point Characteristic of DFU Target: Operation code 4 (EXECUTE) failed on DFU Target. Result code 11 (EXTENDED_ERROR) Extended error code 7 (SD_VERSION_FAILURE)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;As for the debug version of the bootloader, I&amp;#39;ll need a bit more time since libraries have moved and changed paths and some macro&amp;#39;s have been added since SDK_config 15.0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;span&gt;Hold on... you just may have pointed me to a possible failure on our side. How can it be the bootloader project compiles with settings that should have been added but aren&amp;#39;t? Hmm... I&amp;#39;ll get back on this once I have everything built in debug. Am I being bitten once more with silent updates in sdk_config that have not been documented properly?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;&lt;/span&gt;&lt;span&gt;Joost&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice update through DFU</title><link>https://devzone.nordicsemi.com/thread/155911?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 10:29:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d841261d-5e91-4086-b141-08fac3ac188b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Joost,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the nrfutil version and the --options used to generate the Zip looks good. Which error do you get when you try to perform the DFU update &lt;span&gt;&amp;nbsp;from SDK v15.0.0 and SD v6.0.0 to SDK v15.2.0 and SD v6.1.0 using nRF Connect? Could you also try to use the debug version of the bootloader and post the log output(via UART or RTT)? It would be very helpful in pinpointing where the update is rejected.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Bjørn&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice update through DFU</title><link>https://devzone.nordicsemi.com/thread/155901?ContentTypeID=1</link><pubDate>Mon, 05 Nov 2018 10:07:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0831a8be-f37b-4623-a0d0-030453cd3d90</guid><dc:creator>jev</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Bj&amp;oslash;rn,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I build my bootloader project and application the usual way. Than (we use busybox to provide a UNIX-like shell, so this is a bash script):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#!/bin/bash
# This script builds a DFU&amp;#39;able zip for the project mentioned at the commandline

FLAGS=&amp;quot;--family NRF52&amp;quot;
SOFTDEVICE=components/softdevice/s132/hex/s132_nrf52_6.1.0_softdevice.hex
SDNUM=0xAF
PROJNAME=$1
CURDIR=`pwd`

if [ ! -e _build/$PROJNAME.hex ]
then
    echo $PROJNAME.hex not found, building...
    iarbuild.exe $PROJNAME.ewp &amp;quot;*&amp;quot;
fi

if [ ! -e ../dfu/BootLoader/_build/BootLoader.hex ]
then
    echo bootloader not found, building...
    cd ../dfu/BootLoader
    iarbuild BootLoader.ewp &amp;quot;*&amp;quot;
    cd $CURDIR
fi

cd ../keys
../tools/nrfutil.exe pkg generate --hw-version 52 --sd-req $SDNUM --application-version 1 --application &amp;quot;$CURDIR/_build/$PROJNAME.hex&amp;quot; --key-file private.pem  &amp;quot;$CURDIR/_build/$PROJNAME.zip&amp;quot;
cd $CURDIR
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;nRF util version:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfutil -v version
nrfutil version 3.4.0
2018-11-05 11:04:17,769 PyPi URL: https://pypi.python.org/pypi/nrfutil

$ &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Joost&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice update through DFU</title><link>https://devzone.nordicsemi.com/thread/155565?ContentTypeID=1</link><pubDate>Thu, 01 Nov 2018 13:30:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e3de35f-7bea-4a58-aa11-58e7d59e03b0</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Joost,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should be able to update the nRF52832 firmware from SDK v15.0.0 and SD v6.0.0 to SDK v15.2.0 and SD v6.1.0 by performing a SD+BL+APP DFU update. Which version of nrfutil are you using to generate the new ZIP files used for the DFU? Also how are you generating them? ( please post the commands)&lt;/p&gt;
&lt;p&gt;You should be able to update the nRF52832 using&amp;nbsp;the nRF Connect app on a&amp;nbsp;Android/iOS device or&amp;nbsp; using nRF Connect for Desktop.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>