<?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>DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41668/dfu-from-s110-v7-1-0-to-s130-v2-0-1</link><description>Hello, 
 
 I have a device that use a NRF51822 with softdevice S110 V7.1.0 with the corresponding bootloader. 
 The new firmware I develop for this device is base on softdevice S130 V2.0.1 with the corresponding bootloader. 
 Now I would like to perform</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Jan 2019 12:08:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41668/dfu-from-s110-v7-1-0-to-s130-v2-0-1" /><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/166819?ContentTypeID=1</link><pubDate>Mon, 21 Jan 2019 12:08:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13389edd-e919-43e9-94fa-a590ed4324df</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Both the iOS and Android libraries supports DFU back to 7.1 (and even further back) so if you manage to create the correct zip file then you should be fine. So it is only for generating the zip that you will need to do as described in the SDK documentation.&lt;/p&gt;
&lt;p&gt;It may still be a good idea to do everything as described in SDK 7.1 documentation, and do an upgrade from SDK 7.1 firmware to SDK 7.1 firmware, in order to assess that you do everything right. Then use smartphone app, and then SDK 11 based firmware (or vice versa). I.e. small steps, so it is easier to figure out where the error is (if something does not work.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/166250?ContentTypeID=1</link><pubDate>Thu, 17 Jan 2019 13:33:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:47632ae2-1d84-4440-8686-04647c249e47</guid><dc:creator>jtredez</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The problem &lt;span class="tlid-translation translation"&gt;&lt;span class="" title=""&gt;is that for the update we will use a mobile phone (Android or iOS) with the sdk that you provide, so a python script is not usable.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation"&gt;&lt;span class="" title=""&gt;Maybe it&amp;#39;s better to develop the new application to this old Softdevice.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation"&gt;&lt;span class="" title=""&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation"&gt;&lt;span class="" title=""&gt;Regards,&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation"&gt;&lt;span class="" title=""&gt;Jerome&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/165984?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 13:24:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7cdc1ca-004d-45f2-a175-31f72cb17482</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, sorry. I talked to a colleague and dug a little deeper.&lt;/p&gt;
&lt;p&gt;It turns out SDK 7.1 is so far back that things were a bit different. You must have a look at the &lt;a href="http://developer.nordicsemi.com/nRF5_SDK/nRF51_SDK_v7.x.x/doc/7.1.0/s110/html/a00063.html#dfu_bootloader_ui_sec"&gt;documentation from SDK 7.1&lt;/a&gt; and use scripts from that SDK release, in order to use the bootloader from that SDK to update. You can do a BL+SD update (&amp;quot;SdAndBl&amp;quot;), and from what I understand you should be able to do a direct update to the SDK 11 based bootloader. I highly recommend to first try and upgrade from the SDK 7.1 BL+SD to the same BL+SD (just with new version numbers) in order to confirm you are doing it right, though.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/165877?ContentTypeID=1</link><pubDate>Wed, 16 Jan 2019 08:31:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:440e55bf-5969-44a6-a22f-e6022b63a0e4</guid><dc:creator>jtredez</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did you have another idea about my problem or something I can check?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/164875?ContentTypeID=1</link><pubDate>Thu, 10 Jan 2019 11:04:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:838522dc-a835-4d8b-9856-7466860c849a</guid><dc:creator>jtredez</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have switched to version 0.5.2.&lt;/p&gt;
&lt;p&gt;For only the application I have the &amp;quot;Invalid CRC Error&amp;quot; at the end of the DFU and for the SD+BL I have &amp;quot;Not Supported&amp;quot;.&lt;/p&gt;
&lt;p&gt;The command I use to generate the package are:&lt;/p&gt;
&lt;p&gt;nrfutil.exe dfu genpkg RemoteV1_APP.zip --application buzz_telec.hex --application-version 0xffffffff --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe&lt;br /&gt;&lt;br /&gt;nrfutil.exe dfu genpkg RemoteV1_SD_BT.zip --bootloader bootloaderMonoBankQuartz.hex --softdevice s110_nrf51822_7.1.0_softdevice.hex --dev-revision 0xffff --dev-type 0xffff --sd-req 0xfffe&lt;/p&gt;
&lt;p&gt;To perform the DFU I use the nRF Toobox on Android phone. The software version is 2.6.0.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/164673?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 10:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01034d01-7dd6-4f74-90a8-689296dc4674</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you use the legacy bootloader (SDK 11 and earlier) then you need to use &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil/tree/0_5_2"&gt;version 0.5.2&lt;/a&gt; of nrfutil. (This is stated in the readme of the most recent version. The reason is that the DFU package format changed between SDK 11 and 12.) With that version the DFU packages should work fine.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/164661?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 09:59:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07e85762-d737-4c8b-a89b-043f6b08a784</guid><dc:creator>jtredez</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;nrfutil version 4.0.0&lt;/p&gt;
&lt;p&gt;The command for only application:&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 51 --sd-req 0xFFFE --application-version 0xFFFFFFFF --key-file private.key --application buzz_telec.hex RemoteV1_APP.zip&lt;/p&gt;
&lt;p&gt;And for SD+BL:&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 51 --sd-req 0xFFFE --bootloader-version 0xFFFE --sd-id 0x87 --key-file private.key --bootloader bootloaderMonoBankQuartz.hex --softdevice s110_nrf51822_7.1.0_softdevice.hex RemoteV1_SD_BT.zip&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerome&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/164646?ContentTypeID=1</link><pubDate>Wed, 09 Jan 2019 09:13:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b99fc967-625c-4ba2-a8de-f760f0f4b6bb</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What is the commands that you use with nrfutil, both for generating the packages and for performing the DFU?&lt;/p&gt;
&lt;p&gt;What version of nrfutil are you on?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/164564?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 15:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa79048a-cc29-4fca-ac97-f9249c1c8412</guid><dc:creator>jtredez</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank for your comment about the possibility to use SDK 12.3.0.&lt;/p&gt;
&lt;p&gt;But about my DFU test I have made. SD+BL return not supported and DFU application with nrf util package fail?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/164553?ContentTypeID=1</link><pubDate>Tue, 08 Jan 2019 14:41:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed00be1f-56b5-4fec-991a-512d4e791f39</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry, I have been on vacation as well and returned yesterday.&lt;/p&gt;
&lt;p&gt;You come with an interesting suggestion there, but I am afraid it is not that simple and that road is full of pitfalls.&lt;/p&gt;
&lt;p&gt;It should however be very easy to port the bootloader from SDK 11 to use SoftDevice s130 v2.0.1. That way you can use the legacy bootloader, but with SDK 12.3.0 based firmware. I would highly recommend that path. The upgrade would then be two steps: First, DFU to SDK 11 bootloader and s130 v2.0.1. Second, DFU of new application.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/163804?ContentTypeID=1</link><pubDate>Thu, 03 Jan 2019 15:07:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bad1e6e5-28a2-4b64-acf5-e32d67c487cd</guid><dc:creator>jtredez</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the delay, I&amp;#39;m in vacation.&lt;/p&gt;
&lt;p&gt;The OLD use a SoftDevice 110 version 7.1.0 with SDK 7.1.0. The new use SoftDevice 130 version 2.0.1 with SDK 12.3.0.&lt;/p&gt;
&lt;p&gt;&lt;span class="tlid-translation translation"&gt;&lt;span class="" title=""&gt;Given your comment&lt;/span&gt;&lt;/span&gt; I see it&amp;#39;s not possible to upgrade bootloader from legacy to secure &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f61e.svg" title="Disappointed"&gt;&amp;#x1f61e;&lt;/span&gt;. &lt;span class="tlid-translation translation"&gt;&lt;span class="" title=""&gt;An idea (not tested) to get around the problem&lt;/span&gt;&lt;/span&gt;, I have the source code of the secure bootloader, I can create a function &lt;span class="tlid-translation translation"&gt;&lt;span class="" title=""&gt;which contains&lt;/span&gt;&lt;/span&gt; a call to the real (secure) bootloader start and set the address of this function (with the linker) to the old start of legacy bootloader (the UICR value), what do you thonk about this? (not sure it&amp;#39;s compatible with the flashing of the application after).&lt;/p&gt;
&lt;p&gt;1) I have made some tests, with the same bootloader, firmware, SDK and softdevice:&lt;/p&gt;
&lt;p&gt;1.1) Only the application: package generated with nrfutil -&amp;gt; FAIL, I have the start DFU, next display 0% and nothing more. After I edit the .dat file inside the .zip to only have the CRC -&amp;gt; SUCCESS.&lt;/p&gt;
&lt;p&gt;1.2) Only SD+BL: two packages, one generated with nrfutil and the same but with only the CRC in .dat file -&amp;gt; both FAIL with NOT SUPPORTED fail in start_data_process() p_evt-&amp;gt;evt.ble_dfu_pkt_write.len = 0x0C.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerome&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU from S110 (V7.1.0) to S130 (V2.0.1)</title><link>https://devzone.nordicsemi.com/thread/162539?ContentTypeID=1</link><pubDate>Wed, 19 Dec 2018 15:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fda4dbc8-ff9c-4df9-8e52-02be1db62501</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It should be possible to upgrade up to SDK 11 and s130 v2.0.1. (Unfortunately it is not possible to upgrade from the bootloader in SDK 11 to the one in SDK 12, because then the size of the bootloader is increased. See the thread &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"&gt;DFU - Updating from Legacy(SDK v11.0.0) Bootloader to SEcure(SDK v12.x.0) Bootloader&lt;/a&gt;.)&lt;/p&gt;
&lt;p&gt;What SDK version is the old project based on?&lt;/p&gt;
&lt;p&gt;What SDK version is the new project based on?&lt;/p&gt;
&lt;p&gt;If you go from SDK 7.0 the init packet is required, and you can have a look at &lt;a href="https://github.com/NordicSemiconductor/Android-nRF-Connect/blob/master/init%20packet%20handling/How%20to%20generate%20the%20INIT%20file%20for%20DFU.pdf"&gt;How to generate the INIT file for the DFU&lt;/a&gt;, which dates from that time.&lt;/p&gt;
&lt;p&gt;I am not sure if a direct upgrade from SDK 7 to SDK 11 is possible, as I have not tried it before. I.e. you may need to do things in a specific order, or in two (or more) consecutive updates. I suggest that you try to:&lt;/p&gt;
&lt;p&gt;1) Upgrade SD+BL+app to an example (or to the same app) based on the same SDK, just to confirm that you do everything correctly.&lt;/p&gt;
&lt;p&gt;2) Upgrade SD + BL to SDK 11. If that works, consider a two-step process where you first upgrade SD and BL to SDK 11, then using the SDK 11 bootloader upgrade to the SDK 11 version of the app.&lt;/p&gt;
&lt;p&gt;We are getting close to christmas, and many have already left for vacation. This means you may get delayed responses from Nordic employees for the next couple of weeks. I am sorry for any inconvenience. (I will leave at the end of this week, and will be back in office January 7.)&lt;/p&gt;
&lt;p&gt;Note that since this is a public thread, other DevZone users may choose to help.&lt;/p&gt;
&lt;p&gt;If at any time you need to share confidential information then you must either open a new private ticket (and refer to this thread) or request for this thread to go private.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>