<?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>Application update fails after flashing SoftDevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/68958/application-update-fails-after-flashing-softdevice</link><description>We are using nrfutil v4.0.0 to update the nRF52 module. So far we&amp;#39;ve been using SDK_15.3.0 with SoftDevice s140_nrf52_6.1.1 and the updates work fine for zip files containing APP + SD, where the APP is new but the SD is the same. Now, I want to upgrade</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Dec 2020 09:54:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/68958/application-update-fails-after-flashing-softdevice" /><item><title>RE: Application update fails after flashing SoftDevice</title><link>https://devzone.nordicsemi.com/thread/283274?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2020 09:54:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:371b4675-5ec0-4772-84fe-e1120590b36d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I did not modify nrfutil, the delay was that I manually started the APP update after having completed the SD+BL update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application update fails after flashing SoftDevice</title><link>https://devzone.nordicsemi.com/thread/283259?ContentTypeID=1</link><pubDate>Fri, 04 Dec 2020 08:50:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3adbbff6-e9c8-4072-976b-89130186708f</guid><dc:creator>Crudo</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;That is correct I&amp;#39;m using serial. Where exactly you added the delay? I&amp;#39;m assuming in the nrfutil code somewhere since SD+BL+APP fails and SD+BL in one package and APP in other works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application update fails after flashing SoftDevice</title><link>https://devzone.nordicsemi.com/thread/283075?ContentTypeID=1</link><pubDate>Thu, 03 Dec 2020 12:46:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2eab078-c222-41e9-a05f-01956e4dd454</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I saw &amp;#39;pc_ble_driver_py&amp;#39; referenced in the log you posted, and assumed you were doing OTA DFU over BLE at first, not serial DFU. So I was testing BLE DFU. Now with serial DFU am able to replicate the the same, and the reason is that nrfutil sends the ping request before the new SD+BL have had time to get activated. Having a delay between SD+BL and the APP update fixes the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application update fails after flashing SoftDevice</title><link>https://devzone.nordicsemi.com/thread/282938?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 18:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c921a934-4a50-4009-a039-1365f4a40640</guid><dc:creator>Crudo</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;br /&gt;&lt;br /&gt;Thanks for testing it out and sending the files.&lt;br /&gt;&lt;br /&gt;Just to confirm, the application on full_image.hex is evoking the bootloader, correct?&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried to update from the SDKv15.3.0 using my hex file to the SDK v17.0.2 using your zip files. They all fail with the error &amp;quot;Response Code InvalidObject&amp;quot; (same log as above).&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried to update from full_image.hex (flashed with JTAG) to your SDK v17.0.2 zip files. In those cases, they fail with the error &amp;quot;No ping response after opening COM port&amp;quot; (same log as above).&lt;/p&gt;
&lt;p&gt;Finally, I also tried to update from full_image.hex (flashed with JTAG) to my SDK v17.0.2 BL+SD (the only file that works on my test setup), and unfortunately, this test also fails with the error &amp;quot;No ping response after opening COM port&amp;quot; (same log as above).&lt;br /&gt;&lt;br /&gt;Could this be related to the nrfutil tool version?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Application update fails after flashing SoftDevice</title><link>https://devzone.nordicsemi.com/thread/282920?ContentTypeID=1</link><pubDate>Wed, 02 Dec 2020 14:50:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ce4d44e-2b25-4438-8c36-d40f63c8b9cc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;A major Softdevice update requires a new bootloader to be included in the update as well. This makes it so that the Softdevice and bootloader are updated in one go (&lt;span&gt;&lt;a title="SoftDevice and bootloader" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/lib_bootloader_dfu_banks.html?cp=7_1_3_5_1_2_0_0#lib_bootloader_dfu_dual_banks_sd"&gt;SoftDevice and bootloader&lt;/a&gt;&lt;/span&gt;), and thus guaranteeing that the activated bootloader always stays API compatible with the current Softdevice. Please see the &amp;quot;&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&amp;quot; &lt;/a&gt;&lt;/span&gt;chapter of the nrfutil documentation for more details on this.&lt;/p&gt;
&lt;p&gt;That said, I&amp;#39;m not sure why the BL+SD+APP update failed in your case considering that the same &amp;quot;BL+SD only&amp;quot; update got accepted. I did not manage to replicate this here. Attached below is the packages I used to test with. Maybe you could you go over those an see if there may be any relevant differences in how we create the packages (version numbers, etc)?&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;OTA DFU test from SDK v15.3.0 to v17.0.2&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1004.dfu_5F00_from_5F00_15.3.0_5F00_to_5F00_17_5F00_0_5F00_2.zip"&gt;devzone.nordicsemi.com/.../1004.dfu_5F00_from_5F00_15.3.0_5F00_to_5F00_17_5F00_0_5F00_2.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>