<?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>Can I download new image in the place of application ?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85389/can-i-download-new-image-in-the-place-of-application</link><description>As per DFU concept t he image management command handlers makes it possible to upload , list , test and confirm the image(s), while the OS management command handlers makes it possible to reset the chip (and run the echo command ). Since the DFU support</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Mar 2022 12:41:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85389/can-i-download-new-image-in-the-place-of-application" /><item><title>RE: Can I download new image in the place of application ?</title><link>https://devzone.nordicsemi.com/thread/356297?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 12:41:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8488394-2043-4bf2-b270-37a5a55b6055</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Yes, that is correct.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I download new image in the place of application ?</title><link>https://devzone.nordicsemi.com/thread/356247?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 10:09:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf8744b8-e538-4062-ab21-46e6dcb7d6a0</guid><dc:creator>RAM_MS</dc:creator><description>&lt;p&gt;Hello Einar ,&lt;/p&gt;
&lt;p&gt;So summary of discussion is if I want &lt;strong&gt;overwrite application upgrade&amp;nbsp;&lt;/strong&gt;via &lt;strong&gt;OTA&lt;/strong&gt;,I should use &lt;strong&gt;nRF5 SDK bootloader.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;nRF Connect SDK bootloader via OTA is not support overwrite .&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Right ?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ram&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I download new image in the place of application ?</title><link>https://devzone.nordicsemi.com/thread/356242?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 09:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fd26ac2-b416-4b52-9f94-075d2d7e4e24</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Ram,&lt;/p&gt;
&lt;p&gt;Earlier you were describing MCUBoot and SMP server etc. All I have stated before applies to that bootloader, and this is what is used with the nRF Connect SDK.&lt;/p&gt;
&lt;p&gt;What you are describing now is the secure bootloader from the nRF5 SDK. This is a &lt;em&gt;completely&lt;/em&gt; different bootloader, that has nothing to do with MCUBoot, SMP server etc. This is a completely different bootloader where the transport is in the bootloader, so things are very different. In the nRF5 SDK bootloader, you can have only a single application bank, and updates via both serial and DFU can work without the need for flash space to store another application image. In fact, you do not need any additional space at all, as long as you can fit the Bootloader, MBR, application and bootloader settings page (and optionally MBR params). For Bluetooth, you also need the SoftDevice.&lt;/p&gt;
&lt;p&gt;To understand the nRF5 SDK bootloader is recommend &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;Getting started with Nordic&amp;#39;s Secure DFU bootloader, a step by step guide&lt;/a&gt;. You should also refer to the &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/examples_bootloader.html"&gt;bootloader examples&lt;/a&gt; and &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader_modules.html"&gt;bootloader modules documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Key question: Which SDK version are you using? If you are using the nRF5 SDK, then the nRF5 SDK bootloader is what you should use, and this supports what you have requested. But please discard all you have read about the MCUBootloader, both the documentation you linked to an all discussion here. That has absolutely no relevance for the nRF5 SDK bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I download new image in the place of application ?</title><link>https://devzone.nordicsemi.com/thread/356177?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 06:33:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3b38bf3-1db7-41cb-8a04-f59e8fb4de6a</guid><dc:creator>RAM_MS</dc:creator><description>&lt;p&gt;Hello Einar ,&lt;/p&gt;
&lt;p&gt;Another clarification I want to know .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My bootloader is&amp;nbsp;&lt;strong&gt;secure_bootloader_ble_s132.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;And by this I updated my application &lt;strong&gt;ble_app_blinky_s132&amp;nbsp;&lt;/strong&gt;via nrf_connect app from mobile.&lt;/p&gt;
&lt;p&gt;So bootloader is always there placed in starting address of flash .Again I put in it bootloader mode and want to update a new application lets&amp;nbsp;&lt;strong&gt;ble_app_beacon_s132.&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;And I want to new application should overwritten in the place of old application&amp;nbsp;&lt;strong&gt;ble_app_blinky_s132.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;It is not possible via Bluetooth bootloader?&lt;/p&gt;
&lt;p&gt;Thanks ,&lt;/p&gt;
&lt;p&gt;Ram&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I download new image in the place of application ?</title><link>https://devzone.nordicsemi.com/thread/356056?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 13:11:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ca83679-4475-49aa-b12e-b2cca55df16a</guid><dc:creator>RAM_MS</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;Thanks for your support .&lt;/p&gt;
&lt;p&gt;Ram&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I download new image in the place of application ?</title><link>https://devzone.nordicsemi.com/thread/356054?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 13:08:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84eeaf2c-21a9-4b68-8cfb-385354841fa0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;That is correct. Bluetooth transport must be done by the application, and the application cannot overwrite itself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I download new image in the place of application ?</title><link>https://devzone.nordicsemi.com/thread/356051?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 13:04:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:492dc09d-e4ee-4dab-bf3a-8c25b615cb4d</guid><dc:creator>RAM_MS</dc:creator><description>&lt;p&gt;Hello Einar ,&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/85389/can-i-download-new-image-in-the-place-of-application/356047#356047"]In that case, what you want is the serial recovery. That is the only supported option.[/quote]
&lt;p&gt;&lt;strong&gt;overwrite-based image upgrade,&amp;nbsp;&lt;/strong&gt;can be done only by&amp;nbsp;&lt;strong&gt;Serial recovery DFU&amp;nbsp;&lt;/strong&gt;?&lt;/p&gt;
&lt;p&gt;By using Bluetooth(OTA), It can not be done ?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Ram&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I download new image in the place of application ?</title><link>https://devzone.nordicsemi.com/thread/356047?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 12:58:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4774c51f-617b-43af-81af-b34f8d042171</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Ram,&lt;/p&gt;
&lt;p&gt;In that case, what you want is the serial recovery. That is the only supported option. The nRF Connect Desktop documentation has good documentation about it: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.0/nrf/applications/nrf_desktop/README.html#serial-recovery-dfu"&gt;Serial recovery DFU&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I download new image in the place of application ?</title><link>https://devzone.nordicsemi.com/thread/356027?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 12:23:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9731a3d-0bbb-4927-a43c-890954c4b90f</guid><dc:creator>RAM_MS</dc:creator><description>&lt;p&gt;Hello Einar ,&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/85389/can-i-download-new-image-in-the-place-of-application/356022#356022"]Which transport do you use for DFU?[/quote]
&lt;p&gt;I am using serial.&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/85389/can-i-download-new-image-in-the-place-of-application/356022#356022"]you need to do handle the transport in the application, and then you need to store the new image separately from the existing image.[/quote]
&lt;p&gt;I don&amp;#39;t want to store new image separately .&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Instead I want&amp;nbsp;&amp;nbsp;overwrite-based image upgrades,&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;please guide steps to do so.&lt;/p&gt;
&lt;p&gt;Thanks ,&lt;/p&gt;
&lt;p&gt;Ram&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I download new image in the place of application ?</title><link>https://devzone.nordicsemi.com/thread/356022?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 12:16:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbecedea-099b-4251-9e91-7ead4d9e6a71</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Ram,&lt;/p&gt;
&lt;p&gt;Which transport do you use for DFU?&lt;/p&gt;
&lt;p&gt;MCUboot does not have any other transport than serial, and that is for serial recovery. If you want another transport (like Bluetooth) or more features than you get with serial recovery, you need to do handle the transport in the application, and then you need to store the new image separately from the existing image. One alternative could be to use an external flash in addition to the nRF, and have the secondary slot there.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>