<?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>How to DFU the SD from 7 to 8</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6557/how-to-dfu-the-sd-from-7-to-8</link><description>Hi all, 
 I want to upgrade current SD from 7.0 to 8.0 by DFU, and try it as followed:
 
 1.Use the nRF Toolbox 1.12 in Android;
2.Select &amp;#39;Soft Device&amp;#39; as the file type and load SD8.0 hex;
3.Select the DfuTarg, and click the upload button;
4.But</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Oct 2015 14:32:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6557/how-to-dfu-the-sd-from-7-to-8" /><item><title>RE: How to DFU the SD from 7 to 8</title><link>https://devzone.nordicsemi.com/thread/22885?ContentTypeID=1</link><pubDate>Wed, 28 Oct 2015 14:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbd500a4-5df1-4d8a-90a8-ed0bd484c847</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Perhaps it is time to answer this question properly  :)&lt;/p&gt;
&lt;p&gt;With S110 7 and bootloader from SDK 7, softdevice and bootloader updates were possible with an over the air update. This means that if you have i.e. S110 7 + bootloader from SDK 7, it is possible to update the device over the air (via Master Control Panel for Windows PC or nFR Toolbox app for Android, IOS or Windows phone) to contain S110 8 and bootloader from SDK 8 or SDK 9.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;PART 1: Flashing softdevice+bootloader+application to the device&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you merge e.g. the following files with mergehex.exe&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4478.s110_5F00_nrf51822_5F00_7.3.0_5F00_softdevice.hex"&gt;s110_nrf51822_7.3.0_softdevice.hex&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0654.BL7_5F00_1.hex"&gt;BL7_1.hex&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0576.ble_5F00_app_5F00_bps_5F00_SDK_5F00_7_5F00_1_5F00_0.hex"&gt;ble_app_bps_SDK_7_1_0.hex&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3683.app_5F00_valid_5F00_setting_5F00_apply.hex"&gt;app_valid_setting_apply.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;into one file&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3731.SD_5F00_BL_5F00_APP_5F00_valid.hex"&gt;SD_BL_APP_valid.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;with the following command sequence:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;mergehex --merge s110_nrf51822_7.3.0_softdevice.hex BL7_1.hex --output SD_BL.hex
mergehex --merge SD_BL.hex ble_app_bps_SDK_7_1_0.hex --output SD_BL_APP.hex
mergehex --merge SD_BL_APP.hex app_valid_setting_apply.hex --output SD_BL_APP_valid.hex
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and then flash the file onto your nRF51-DK board (PCA10028) using nrfjprog.exe with&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog --program SD_BL_APP_valid.hex
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;then the ble_app_bps application should be advertising on your nRF51-DK.&lt;/p&gt;
&lt;p&gt;Another method of obtaining the same thing without merging the files is with flashing the 4 files directly with the following command sequence:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog --eraseall
nrfjprog --dfu --programs s110_nrf51822_7.3.0_softdevice.hex
nrfjprog --program BL7_1.hex
nrfjprog --program ble_app_bps_SDK_7_1_0.hex
nrfjprog --program app_valid_setting_apply.hex
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It is also possible to upload softdevice and bootloader with nrfgo Studio. The steps are shown on &lt;a href="https://devzone.nordicsemi.com/question/54565/about-ble-dfu/?answer=54616#post-id-54616"&gt;this thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;PART 2: Creating the softdevice 8 + bootloader 8 zip file&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;If you now want to update the device over the air to contain e.g. S110 8 and bootloader from SDK 8.1, you must first create a zip file that contains the new S110 8 and bootloader 8.1. Use the nrf.exe tool to create this and follow &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v9.0.0/bledfu_example_image.html?cp=4_1_0_4_3_1_2"&gt;this description&lt;/a&gt;. With the following S110 file and bootloader file&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/s110_5F00_nrf51_5F00_8.0.0_5F00_softdevice.hex"&gt;s110_nrf51_8.0.0_softdevice.hex&lt;/a&gt;&lt;br /&gt;
&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/BL8_5F00_1.hex"&gt;BL8_1.hex&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;it is possible to create a zip file with the following command&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrf dfu genpkg --bootloader BL8_1.hex --softdevice s110_nrf51_8.0.0_softdevice.hex --application-version 0xffff --dev-revision 0xff --dev-type 0xff --sd-req 0xfffe SD_8_BL_8_1.zip
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;which should create this zip file&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SD_5F00_8_5F00_BL_5F00_8_5F00_1.zip"&gt;SD_8_BL_8_1.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;PART 3: Upload the zip file to the device&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Now you can upload the zip file to the device via Master Control Panel for PC, or nRF Toolbox for Android, IOS or Windows Phone which will make the device start bootloader 8.1 when upload is complete. Before uploading the file, you must start the device in bootloader mode by power-resetting the nRF51-DK board while pushing Button_4. LED_1 and LED_3 should light up to indicate that the device is in bootloader mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to DFU the SD from 7 to 8</title><link>https://devzone.nordicsemi.com/thread/22884?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2015 16:51:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe0d68e1-644d-41a6-8abb-4841fefb7995</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Stefan, will the process using nrfjprog explained by you &lt;a href="https://devzone.nordicsemi.com/question/22056/combining-sd-dfu-and-application-hex-and-programming/"&gt;here&lt;/a&gt; enable SD protection and prevent programming future SD?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to DFU the SD from 7 to 8</title><link>https://devzone.nordicsemi.com/thread/22883?ContentTypeID=1</link><pubDate>Tue, 27 Oct 2015 16:45:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbc5e702-65ba-40ba-89cc-175f4d12731f</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Perhaps following the steps given in my answer on &lt;a href="https://devzone.nordicsemi.com/question/54565/about-ble-dfu/?answer=54616#post-id-54616"&gt;this thread&lt;/a&gt; helps. Notice step 4: Deselect &amp;quot;Enable softdevice protection&amp;quot;, it is a common pitfall.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to DFU the SD from 7 to 8</title><link>https://devzone.nordicsemi.com/thread/22882?ContentTypeID=1</link><pubDate>Wed, 07 Oct 2015 02:10:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5daea901-3950-434d-ab27-fbd3c1a745dd</guid><dc:creator>sara</dc:creator><description>&lt;p&gt;I also have this problem, I&amp;#39;ve tried using .zip file but got the error message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to DFU the SD from 7 to 8</title><link>https://devzone.nordicsemi.com/thread/22881?ContentTypeID=1</link><pubDate>Tue, 21 Apr 2015 03:41:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec77c9c1-eb9b-4e65-b86d-d821fbd997a4</guid><dc:creator>jimlin</dc:creator><description>&lt;p&gt;Could anyone show me the guide?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to DFU the SD from 7 to 8</title><link>https://devzone.nordicsemi.com/thread/22880?ContentTypeID=1</link><pubDate>Sun, 19 Apr 2015 10:20:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ac56b0d-1874-4a3c-864c-2fdf94e39cd3</guid><dc:creator>jimlin</dc:creator><description>&lt;p&gt;As what you said, it should be OK if I used 7.1 but it still run the same error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to DFU the SD from 7 to 8</title><link>https://devzone.nordicsemi.com/thread/22879?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2015 08:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c099f36-9886-49a3-9605-e3f2afb9a627</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;I&amp;#39;d like to know the answer on your question as well because I will come across to this situation soon. The way you tried doesn&amp;#39;t work because bootloader from 7.0 doesn&amp;#39;t work with new SoftDevice 8.0 so both have to be loaded at the same time if possible at all. ZIP file can be the answer then. Look forward to full explanation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>