<?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>Problem with OTA DFU using nrfutil</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80937/problem-with-ota-dfu-using-nrfutil</link><description>I would like to perform a OTA DFU in a nRF52840 DK using nrfutil. For that, I&amp;#39;m using the example that is in SDK/examples/dfu/secure_bootloader/pca10056_s140_ble in the target. Here are the commands I use to build the.zip and to perform the DFU: 
 
 However</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Oct 2021 14:26:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80937/problem-with-ota-dfu-using-nrfutil" /><item><title>RE: Problem with OTA DFU using nrfutil</title><link>https://devzone.nordicsemi.com/thread/336022?ContentTypeID=1</link><pubDate>Tue, 26 Oct 2021 14:26:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:339ba512-29ab-4434-a38a-c4b4dc9965fb</guid><dc:creator>jPolo777</dc:creator><description>&lt;p&gt;I followed some of the ble_peripheral examples (that use the SoftDevice) and put the same start IROM1 address and size that are 0x27000 and 0xD9000 respectively in the application project that I want to update OTA and it worked! Thanks for the advice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with OTA DFU using nrfutil</title><link>https://devzone.nordicsemi.com/thread/335773?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2021 13:33:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a52cbad-4a33-40fc-af34-e5ca49855570</guid><dc:creator>Einar Thorsrud</dc:creator><description>[quote user="jPolo777"]2. Yes, I test my application without flashing the bootloader (nor the SoftDevice) and it works.[/quote]
&lt;p&gt;I see. Please note that the blinky_freertos example if you have not modified it starts at address 0, so you need to modify this to use it with a SoftDevice (even if the example does not use the SoftDevice it must be located immediately after the SoftDevice as you need that for the BLE bootloader. The fact that this works without having a SoftDevice means that you have not done this, and thus it cannot work in the setup you want (SoftDevice + BLE Bootloader).&lt;/p&gt;
&lt;p&gt;So you need to relocated it the application. I suggest you look at an example that use the same SoftDevice version as you and see the linker configuration there. Then I suggest you test it with a SoftDevice (even though not using it) to see that it works. Once that is in place you can move forward to test DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with OTA DFU using nrfutil</title><link>https://devzone.nordicsemi.com/thread/335766?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2021 13:24:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca508d86-7928-4246-9f69-671795c4907a</guid><dc:creator>jPolo777</dc:creator><description>&lt;p&gt;1. If I&amp;#39;m not wrong, the firmware I&amp;#39;m using (the blinky_freertos example) doesn&amp;#39;t use the SoftDevice.&lt;br /&gt;2. Yes, I test my application without flashing the bootloader (nor the SoftDevice) and it works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with OTA DFU using nrfutil</title><link>https://devzone.nordicsemi.com/thread/335636?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2021 07:15:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dfdff4e-a65f-4464-9062-a23c93d6ba0c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did&amp;nbsp;you build your firmware and bootloader to use the same SoftDevice version? Did you test that the application you built works&amp;nbsp;without flashing the bootloader (so if the device only has the SoftDevice + application)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with OTA DFU using nrfutil</title><link>https://devzone.nordicsemi.com/thread/335536?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 15:42:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7542ff1b-e4b5-43c7-9fcc-a70840ac66cc</guid><dc:creator>jPolo777</dc:creator><description>&lt;p&gt;Hi Einar. Thanks for replying. I changed the softdevice and now I&amp;#39;m using the s140_nrf52_7.0.1 which corresponds to the ID 0xCA and it seems to work! I get the message&amp;nbsp;&lt;em&gt;Device programmed&amp;nbsp;&lt;/em&gt;in the command window. However, the firmware that I used to do the DFU (FreeRTOS blinky led) doesn&amp;#39;t work in the target (the leds doesn&amp;#39;t blink). What did I do wrong? Though, I followed this&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;guide&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with OTA DFU using nrfutil</title><link>https://devzone.nordicsemi.com/thread/335447?ContentTypeID=1</link><pubDate>Fri, 22 Oct 2021 10:24:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3ff98ab-6ed2-4153-8b20-f85746a61432</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;The error indicates that the SoftDevice you have listed as required (ID&amp;nbsp;0xCA) is not found on the device. Do you know which SoftDevice you built your application for, and which SoftDevice is already on the device you try to update? If it is the same, then you just need to use the correct SoftDevice ID with the --sd-req option. If the SoftDevice is not the same, then you should include also the SoftDevice in the package you generate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>