<?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>INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/23956/invalid_object-error-when-try-to-dfu-with-nrfconnect</link><description>Hi, 
 I generated by DFU package following the BLOG post: devzone.nordicsemi.com/.../ 
 However I had to make some changes as it seems to be out of date. I used the following script command: 
 nrfutil dfu genpkg --application-version 1 --application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 21 Feb 2018 14:09:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/23956/invalid_object-error-when-try-to-dfu-with-nrfconnect" /><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/121533?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 14:09:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9a6a1ee-96e8-4491-a900-2292174056fa</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;No, the bootloader will then have the public key derived from the Nordic private key and will only accept firmware images that are signed with the Nordic private key.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/121530?ContentTypeID=1</link><pubDate>Wed, 21 Feb 2018 14:00:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c016f0e1-7ecd-4987-b51e-ec241f8437dd</guid><dc:creator>giova</dc:creator><description>&lt;p&gt;Hi, is it possible to upload your own custom firmware using OTA only(no DK) to a device which is flashed with a bootloader and app signed using the Nordic private key?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/94313?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 12:59:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:939417c5-e129-4fe5-9be9-53f3bbd27a33</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, if you want to use other images than the test images provided in the SDK you need to generate your own private-public key pair, replace the public key in the bootloader example and generate a new .zip image that is signed with the corresponding private key.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/94312?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 12:06:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fc0bc11-a6a5-4a4d-bbf2-b7bf6359f0dd</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Good job on figuring that out. I learned something new today and it&amp;#39;s still early!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/94311?ContentTypeID=1</link><pubDate>Tue, 01 Aug 2017 00:04:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4715e230-7bc7-4a2d-bf50-22079b4e5f2c</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;So this issue was that I was using the debug version of the bootloader which I didn&amp;#39;t realize still required a private key when generating the package.  Since Nordic didn&amp;#39;t release this private key, there was no way for using the debug bootloader unless you update the public key from a private key I generated.   However this was very confusing as there was a command where I could generate a debug package.  This highly suggests that the nrfutil either internally uses the debug private key, or that keys are ignored somehow in debug mode.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/94310?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 23:53:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:072eb6d4-7413-41b4-82b2-89c8dd18027d</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;I&amp;#39;ve traced this to an NRF_ERROR_INVALID_ADDR error inside ecc_p256_verify() [ecc.c], which is called inside nrf_crypto_verify() [nrf_crypto.c], which is called inside dfu_handle_prevalidate() to verify the signature.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/94309?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 23:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0425f957-4db6-4909-b8c0-a1283dba5e47</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;Below is the nrfutil display of my zip file:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;DFU Package: &amp;lt;DFU_Package_Generation\DFU_Packages\Test-DEBUG.zip&amp;gt;:
|
|- Image count: 1
|
|- Image #0:
   |- Type: application
   |- Image file: nrf52832_xxaa.bin
   |- Init packet file: nrf52832_xxaa.dat
      |
      |- op_code: INIT
      |- signature_type: ECDSA_P256_SHA256
      |- signature (little-endian): 9f2794061d8d54040679c6df94a1cd94dd309792a544c036340be5d2e42be90a29e69c7e56086b59cc36b5fa80d116eb99a477177f575160cd02517b59d4839b
      |
      |- fw_version: 0xFFFFFFFF (4294967295)
      |- hw_version 0xFFFFFFFF (4294967295)
      |- sd_req: 0xFFFE
      |- type: APPLICATION
      |- sd_size: 0
      |- bl_size: 0
      |- app_size: 68084
      |
      |- hash_type: SHA256
      |- hash (little-endian): fbec689ff9011daa5f17a848e206f88836315dc47be5d8bd81ab2a3a1166a207
      |
      |- is_debug: True
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/94308?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 22:29:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01dd40a1-4290-46d6-9267-7d2e674f9fbf</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;I&amp;#39;ve noticed it fails with the above error code during the *.dat file transfer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/94306?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 21:15:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09664919-13f5-4562-92c0-b15a48743f85</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;I tried from the nrfutil installed via pip, which is 3.2.0.   I was able to use the &lt;strong&gt;nrfutil pkg generate&lt;/strong&gt; commands.  I generated the ZIP package, but got the same error stated in my original post.  The Package Info looks different than my previous zip package, but the resulting error is the same.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/94305?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 21:09:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32fe6a17-b53e-4bb9-afcd-66c0b9a13a40</guid><dc:creator>John</dc:creator><description>&lt;p&gt;Hi Dave, version 0.3.0 seems pretty old. I&amp;#39;m using version 2.1.0. Might be worth upgrading to a newer revision and trying again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/94304?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 21:03:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eab5e04-9e35-4e48-a946-0933c694a414</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;Hi John,  thanks for the reply.  I had tried a similar script but i get the following error  &amp;quot;Error: No such command &amp;quot;pkg&amp;quot;.&amp;quot;     I am using nrfutil version 0.3.0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: INVALID_OBJECT Error when try to DFU with nRFConnect</title><link>https://devzone.nordicsemi.com/thread/94307?ContentTypeID=1</link><pubDate>Mon, 31 Jul 2017 20:09:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:379cbf9a-871c-4e85-b5bd-a0cca3470772</guid><dc:creator>John</dc:creator><description>&lt;p&gt;I&amp;#39;m not expert enough with nrfutil to know if there is something wrong with the way you are using it. However, here is how I do it in my post build .bat script and it is working: &amp;quot;nrfutil pkg generate --application .\D-21228-release\exe\AppMX_WATER.hex --application-version 0xff --hw-version 52 --sd-req 0x8C --key-file ....\Source\vault\priv.pem D_21228_APP.zip&amp;quot;&lt;/p&gt;
&lt;p&gt;Note, that works with both nrfConnect and our mobile application bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>