<?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 update with SD+BL+APP</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56010/dfu-update-with-sd-bl-app</link><description>Hello, 
 about two years ago we have made a Device basked on SDK 13 with S132 4.0.2 on it. 
 Now we had to build a newer version for our application and for this we have taken the SDK 16 with S132 7.0.1. 
 Now it looke like the new Application is not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jan 2020 07:41:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56010/dfu-update-with-sd-bl-app" /><item><title>RE: DFU update with SD+BL+APP</title><link>https://devzone.nordicsemi.com/thread/229336?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 07:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db00a851-a164-4132-9e85-5e5caa0e0be1</guid><dc:creator>bama</dc:creator><description>&lt;p&gt;Thank you Hung Bui!&lt;/p&gt;
&lt;p&gt;With the information with the options i have to set before I generate my update file and the information regarding the start address, I was now able to do the update successfully.&lt;/p&gt;
&lt;p&gt;regards&lt;br /&gt;markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU update with SD+BL+APP</title><link>https://devzone.nordicsemi.com/thread/227966?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2020 16:02:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a23c3e0-5d38-4aa9-8182-749638b635ad</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It&amp;#39;s normal Markus. The bootloader wouldn&amp;#39;t allow an update of the same version. If you want to test you would need to increase the bootloader version when creating the .zip file.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU update with SD+BL+APP</title><link>https://devzone.nordicsemi.com/thread/227946?ContentTypeID=1</link><pubDate>Tue, 07 Jan 2020 14:58:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b16fd421-32c4-4859-a2d6-59341432bd48</guid><dc:creator>bama</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have checked the Start address of the old and new booloader and you are right these addresses was different. I have now build the new bootloader with the&amp;nbsp; same start address like the old Bootloader. Now I was able to update the Device with the *.zip file.&lt;/p&gt;
&lt;p&gt;But now i want to checkl if the new updated device can be also update in futurte I have tried to load the same *.zip file again on the Tag. but there i will then get the message Result code 11 extended erro code 5 (fw_version_failure)&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1578409028824v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Do you have a idea how to prevent this ? I also have tried to load this *.zip file with the&amp;nbsp;--debug-mode set on the new updated tag but with the same result&lt;/p&gt;
&lt;p&gt;thank your regards markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU update with SD+BL+APP</title><link>https://devzone.nordicsemi.com/thread/227270?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2020 14:19:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb0ff0eb-6a3d-4c5c-b948-1204837bbdf9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Markus,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Could you clarify the DEBUG option you mentioned on the old bootloader, did you used the _debug project example in the SDK ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you did, the new bootloader should have the start address at the same place as the old bootloader (0x73000).&lt;/p&gt;
&lt;p&gt;Could you get any logging from the bootloader ? And get a sniffer trace ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When testing, you can try testing to update just the SD+BL first (generate the DFU packet with just the SD and BL)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU update with SD+BL+APP</title><link>https://devzone.nordicsemi.com/thread/227189?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2020 08:09:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e201126-8273-49f8-8923-38f23698d1e1</guid><dc:creator>bama</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have now tired ot make my package with this two possibilities:&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 52 --key-file C:\Entwicklung\BeverageMetrics\Firmware\BevMetTag\key\private.pem --application-version 2 --application ble_app_BevMetTag.hex --sd-req 0x98,0xCA --softdevice s132_nrf52_7.0.1_softdevice.hex --sd-id 0xCA --bootloader secure_bootloader_ble_s132_pca10040.hex --bootloader-version 2 BevMetTag_package.zip&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 52 --debug-mode --key-file C:\Entwicklung\BeverageMetrics\Firmware\BevMetTag\key\private.pem --application-version 2 --application ble_app_BevMetTag.hex --sd-req 0x98,0xCA --softdevice s132_nrf52_7.0.1_softdevice.hex --sd-id 0xCA --bootloader secure_bootloader_ble_s132_pca10040.hex --bootloader-version 2 BevMetTag_package_debug.zip&lt;/p&gt;
&lt;p&gt;And for both *.zip files I get the same Connection timeout error after SD+BL was transfered to the Device.&lt;/p&gt;
&lt;p&gt;Do you think it has something todo with a possible DEBUG option in the old Bootloader?&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;markus&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU update with SD+BL+APP</title><link>https://devzone.nordicsemi.com/thread/226963?ContentTypeID=1</link><pubDate>Fri, 27 Dec 2019 16:54:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8af79b3b-45f9-406b-be63-1b41a2ae0bb8</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Markus,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you update the softdevice, the original bootloader won&amp;#39;t be able to work with this new softdevice, so you need to update the SD+BL+APP.&lt;/p&gt;
&lt;p&gt;In your script to generate the .zip file, it seems that you would need to set&amp;nbsp;&lt;span&gt;--hw-version to 52 (by default it&amp;#39;s 52 if you use nRF52) and you would need to increase the bootloader version to 2 for example. The bootloader won&amp;#39;t update if the new version is not higher than the current version.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please try capture a &lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Sniffer"&gt;sniffer trace &lt;/a&gt;when you do DFU update. Also any log from the bootloader and DFU master would be useful.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>