<?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>Serial DFU update softdevice fail</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/44394/serial-dfu-update-softdevice-fail</link><description>Just test SDK14.20 serial DFU demo project on Nordic PCA10040 board by USB serial. 
 Got below exception. Any clue for it please? 
 Thanks. 
 
 C:\gxf\nrfutil\nordic&amp;gt;..\nrfutil pkg generate --hw-version 52 --sd-req 0x91 --softdevice ..\s132_nrf52_3.1</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Mar 2019 10:28:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/44394/serial-dfu-update-softdevice-fail" /><item><title>RE: Serial DFU update softdevice fail</title><link>https://devzone.nordicsemi.com/thread/174498?ContentTypeID=1</link><pubDate>Wed, 06 Mar 2019 10:28:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c4935fb-660b-41cd-a093-e51f3c8c0f9c</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;When doing only a SoftDevice update, the&amp;nbsp;&lt;span&gt;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;Combination table at &lt;a href="https://github.com/NordicSemiconductor/pc-nrfutil#pkg"&gt;this page.&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial DFU update softdevice fail</title><link>https://devzone.nordicsemi.com/thread/174391?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 22:56:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f651a1e9-d76e-4785-84c0-3df295ba45d0</guid><dc:creator>gxf</dc:creator><description>&lt;p&gt;Hi Siguard&lt;/p&gt;
&lt;p&gt;I found the problem. DFU doesn&amp;#39;t allow&amp;nbsp; changing to different major softdevice only.&lt;/p&gt;
&lt;p&gt;I combined same bootloader and 3.1 softdevice then upgraded successfully.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This serial DFU bootloader built with SDK 14.20. It looks like no problem to work with low version softdevice.&lt;/p&gt;
&lt;p&gt;Just want to confirm, does serial DFU bootloader rely on same SDK version&amp;#39;s softdevice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial DFU update softdevice fail</title><link>https://devzone.nordicsemi.com/thread/174336?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 15:31:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b620603-280b-4500-9f7b-3a9238173d93</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="34851" url="~/f/nordic-q-a/44394/serial-dfu-update-softdevice-fail/174313"]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;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial DFU update softdevice fail</title><link>https://devzone.nordicsemi.com/thread/174313?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 14:35:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a81644fc-1149-461a-8040-93da5684e452</guid><dc:creator>gxf</dc:creator><description>&lt;div&gt;&lt;span style="background-color:#ffffff;"&gt;Hi Sigurd&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="background-color:#ffffff;"&gt;Thank you for your help. I add --sd-req 0x9D,0x91 this time. The softdevice 5.0 is programmed version.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;It is better this time, but still get some error.&lt;/div&gt;
&lt;div&gt;Please help.&lt;/div&gt;
&lt;div&gt;Thanks.&lt;/div&gt;
&lt;div&gt;&lt;span style="background-color:#ffffff;"&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="background-color:#ffffff;"&gt;C:\gxf\nrfutil\nordic&amp;gt;..\nrfutil pkg generate --hw-version 52 --sd-req 0x9D,0x91 --softdevice ..\s132_nrf52_3.1.0_softdevice.hex --key-file private-key.pem softDevice31.zip&lt;br /&gt;Zip created at softDevice31.zip&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="background-color:#ffffff;"&gt;C:\gxf\nrfutil\nordic&amp;gt;..\nrfutil dfu serial --package softDevice31.zip --port COM4&lt;br /&gt;&amp;nbsp; [###################################-]&amp;nbsp;&amp;nbsp; 97%&amp;nbsp; 00:00:00&lt;br /&gt;Traceback (most recent call last):&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 1314, in &amp;lt;module&amp;gt;&lt;br /&gt;&amp;nbsp; File &amp;quot;click\core.py&amp;quot;, line 764, in __call__&lt;br /&gt;&amp;nbsp; File &amp;quot;click\core.py&amp;quot;, line 717, in main&lt;br /&gt;&amp;nbsp; File &amp;quot;click\core.py&amp;quot;, line 1137, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;click\core.py&amp;quot;, line 1137, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;click\core.py&amp;quot;, line 956, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;click\core.py&amp;quot;, line 555, in invoke&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 1006, in serial&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi\__main__.py&amp;quot;, line 941, in do_serial&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi\dfu\dfu.py&amp;quot;, line 121, in dfu_send_images&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi\dfu\dfu.py&amp;quot;, line 102, in _dfu_send_image&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 299, in send_firmware&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 370, in __execute&lt;br /&gt;&amp;nbsp; File &amp;quot;nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 454, in __get_response&lt;br /&gt;pc_ble_driver_py.exceptions.NordicSemiException: Response Code InvalidObject&lt;br /&gt;[11960] Failed to execute script __main__&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Serial DFU update softdevice fail</title><link>https://devzone.nordicsemi.com/thread/174265?ContentTypeID=1</link><pubDate>Tue, 05 Mar 2019 13:21:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c007ba4b-e020-406f-aa0c-13dbb06a2afb</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What version of the SoftDevice is already flashed on the chip? Could you try to add that to the&amp;nbsp;&lt;span&gt;--sd-req&amp;nbsp;list also? E.g if&amp;nbsp;s132_nrf52_3.0.0 is flashed now, and you are upgrading to&amp;nbsp;s132_nrf52_3.1.0, then use&amp;nbsp;&amp;nbsp;--sd-req 0x8C,0x91&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>