<?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>USB Serial DFU update softdevice fail</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68838/usb-serial-dfu-update-softdevice-fail</link><description>Just test SDK17.0.2 serial DFU demo project on Nordic PCA10100 board by USB serial.and use s140_nrf52_7.2.0_softdevice.hex 
 Got below exception. Any clue for it please? 
 Thanks. E:\nrf52833\vota&amp;gt;nrfutil pkg generate --application app_new.hex --application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 27 Nov 2020 14:06:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68838/usb-serial-dfu-update-softdevice-fail" /><item><title>RE: USB Serial DFU update softdevice fail</title><link>https://devzone.nordicsemi.com/thread/282279?ContentTypeID=1</link><pubDate>Fri, 27 Nov 2020 14:06:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:485d592c-e91e-492a-a0d0-2e0cabb8efa3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]Just test SDK17.0.2 serial DFU demo project on Nordic PCA10100 board by USB serial.and use&amp;nbsp;s140_nrf52_7.2.0_softdevice.hex[/quote]
&lt;p&gt;&lt;span&gt;I think you use pca10100e_usb or pca10100e_usb_debug.&amp;nbsp; &lt;/span&gt;&lt;/p&gt;
[quote user=""]pc_ble_driver_py.exceptions.NordicSemiException: Response Code InvalidObject[/quote]
&lt;p&gt;This means that the private key used to sign the image with is not the same private key used to generate the&amp;nbsp;&lt;span&gt;public key found in the bootloader code(dfu_public_key.c)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When you build a zip file with your own private key, you must also build the bootloader with the public key corresponding to that private key. Otherwise, the checking of the signature of the update will fail.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When doing only a SoftDevice update, the&amp;nbsp;SoftDevice must be of the same Major Version as the old bootloader may not be compatible with the new SoftDevice. So if you are doing a SD major version update, you should combine it with a bootloader update. See the&amp;nbsp;&lt;/span&gt;&lt;a title="DFU package combinations" href="https://infocenter.nordicsemi.com/topic/ug_nrfutil/UG/nrfutil/dfu_package_combinations.html?cp=9_5_3_0"&gt;DFU package combinations&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>