<?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>Secure BLE DFU Upgrade failure.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78477/secure-ble-dfu-upgrade-failure</link><description>Aim: To upgrade the existing Bootloader + Softdeivce + Application package build using nrf_sdk_15 to nrf_sdk_17 on the NRF52840_DK. 
 Problem: I successfully flashed the secure bootloader with softdevice and application as specified in the documentation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 13 Aug 2021 12:41:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78477/secure-ble-dfu-upgrade-failure" /><item><title>RE: Secure BLE DFU Upgrade failure.</title><link>https://devzone.nordicsemi.com/thread/324852?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 12:41:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb02a474-8b10-4164-9b14-94681de0ca06</guid><dc:creator>Ganesh S K</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;,&amp;nbsp;&lt;br /&gt;Thank you very much for your answer. The mistake I was doing is in two parts:&lt;br /&gt;&lt;br /&gt;1) I generated the update package (SD+BL+APP with SDK_17) bundled under a single ZIP file.&amp;nbsp; Rather, we should do it separately, i.e., first, we have to generate SD+BL as per the link you mentioned in your previous answer. We should then generate the application separately with the new SD version specified in the --sd-id argument.&lt;/p&gt;
&lt;p&gt;2) In the update package, we should not merge the bootloader with bl_settings because it requires additional memory, which will result in a DFU_INSUFFICIENT_RESOURCE error.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sincere regards,&lt;/p&gt;
&lt;p&gt;Ganesh S Koparde.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure BLE DFU Upgrade failure.</title><link>https://devzone.nordicsemi.com/thread/324777?ContentTypeID=1</link><pubDate>Fri, 13 Aug 2021 08:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3258dc4a-78ef-4b3b-a23b-afd9cf182d8f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Sorry, what I meant by log was a screenshot or upload of the nrfutil command you&amp;#39;re using to upload the new package to your device. Do you use --sd-id? The first update requires --sd-req to be set to the ID of the old SD- The app update then requires the ID of the new SD, and the new ID must be set using the --sd-id parameter. Please see the &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/dfu_package_combinations.html"&gt;DFU package combinations page here.&amp;nbsp;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure BLE DFU Upgrade failure.</title><link>https://devzone.nordicsemi.com/thread/324685?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 13:36:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f904d6a-3635-437f-8513-89fe1df5e701</guid><dc:creator>Ganesh S K</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/simonr"&gt;Simonr&lt;/a&gt;, thank you for your reply. The SD Versions are correct as I have taken them from the release notes of the respective SDK&amp;#39;s. Also, when I flash the package individually, the application works perfectly fine.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now my requirement is as below:&lt;/p&gt;
&lt;p&gt;-&amp;gt; The board is already having SD+BL+APP built using SDK_15.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-&amp;gt; I have generated a new package&amp;nbsp;( a ZIP of SD+BL+APP using SDK_17 )&amp;nbsp; using the instructions provided in&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_bootloader_dfu_validation.html#lib_dfu_image"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_bootloader_dfu_validation.html#lib_dfu_image&lt;/a&gt;,&amp;nbsp;and when I try to upload the package, I get the SD VERSION failure.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am completely a beginner to this embedded world. Could you please let me know how to enable the logs?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried to enable it via the SDK_CONFIG file, and I get memory overflow errors.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Ganesh S Koparde.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Secure BLE DFU Upgrade failure.</title><link>https://devzone.nordicsemi.com/thread/324660?ContentTypeID=1</link><pubDate>Thu, 12 Aug 2021 11:50:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:25370325-7a88-421c-9e30-cada0c4087ae</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Ganesh&lt;/p&gt;
&lt;p&gt;Can you please upload a log of your nrfutil command and the log following that causes this SD VERSION failure error. The SD VERSION failure should only occur due to an invalid --sd-req version.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>