<?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 DFU from sdk 12.1 to 15.2 (SD 3.1.0 to 6.1.0) fail with INVALID_OBJECT.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/52585/secure-dfu-from-sdk-12-1-to-15-2-sd-3-1-0-to-6-1-0-fail-with-invalid_object</link><description>Hi We&amp;#39;ve been using SDK12.1 with softdevice 3.1.0 on a NRF52832 for some time now. Now we want to upgrade our SDK to 15.2 with softdevice 6.1.0. We&amp;#39;ve converted the application and created a new bootloader using the secure_bootloader pca10040_ble example</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Sep 2019 13:10:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/52585/secure-dfu-from-sdk-12-1-to-15-2-sd-3-1-0-to-6-1-0-fail-with-invalid_object" /><item><title>RE: secure DFU from sdk 12.1 to 15.2 (SD 3.1.0 to 6.1.0) fail with INVALID_OBJECT.</title><link>https://devzone.nordicsemi.com/thread/212293?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 13:10:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78a55a05-3f55-41c5-909d-783b1a714786</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure what could be wrong,&amp;nbsp;could you add a breakpoint inside&amp;nbsp;sd_req_check() and check why it fails ?&amp;nbsp;&lt;br /&gt;As far as I can see&amp;nbsp;in the code, we simply go though all of the sd_req and check if it match the current version.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: secure DFU from sdk 12.1 to 15.2 (SD 3.1.0 to 6.1.0) fail with INVALID_OBJECT.</title><link>https://devzone.nordicsemi.com/thread/212199?ContentTypeID=1</link><pubDate>Fri, 27 Sep 2019 07:44:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b82841f3-4f3f-4e4e-ac59-48a49878fa9a</guid><dc:creator>Eddie</dc:creator><description>&lt;p&gt;The hardware version is correct, that is something we adjusted for our own needs.&lt;/p&gt;
&lt;p&gt;I think I found the problem though. When I limit the --sd-req parameter to 0x8C,0x91,0xAF, then the upgrade from 12 to 15 seems to work! Is there an issue in nrfutil ? Is there limited storage for these parameters in the created zip? Can you confirm that this might be an issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: secure DFU from sdk 12.1 to 15.2 (SD 3.1.0 to 6.1.0) fail with INVALID_OBJECT.</title><link>https://devzone.nordicsemi.com/thread/212071?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2019 13:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04e1d099-4bdb-43fe-869c-29ad7d682be4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Wouter,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I haven&amp;#39;t&amp;nbsp;tried to test the issue yet, but could you clarify&amp;nbsp;&lt;span&gt;--hw-version 2&amp;nbsp; is correct ? It should match with&amp;nbsp;NRF_DFU_HW_VERSION define in the code (which by default is 52)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If it actually correct, I would suggest to test with debug version of the bootloader and add the breakpoint (or print log) at where we return&amp;nbsp;NRF_DFU_RES_CODE_INVALID_OBJECT in the bootloader code to see what exactly causing the issue. We have about 5-6 places that we return that error.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>