<?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>Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89484/bootloader-update-with-new-size-over-ble-dfu-service</link><description>Hi 
 Is there a possibility to update the bootloader himself over the BLE DFU? 
 I have a new bootloader with a bigger size (MemoryMap changed) and I am wondering if I can upload old boards with the small bootloader over BLE DFU with the Nordic nrf Connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Aug 2022 06:15:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89484/bootloader-update-with-new-size-over-ble-dfu-service" /><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/382803?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 06:15:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d893f85-90bb-4213-8390-79cc3ad1c679</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which tool and combination did you use then? nrfutil should be able to combine all three in a single update. And then it is up to the tools to handle that properly (nRF Connect for mobile does that, but nRF Connect for desktop unfortunately does not support the combination of APP + BL + DFU, and this is a limitation in that specific tool).&lt;/p&gt;
&lt;p&gt;In any case, you would typically implement DFU in your own app, using our libraries, and there you can hide multiple zip archives from the user in several different ways. Typically the user never see any of it, as it is automatically downloaded in the background, and if the user is to provide a zip, that could be a single zip that just combines two other zips that your app extracts before (typically) using it with a DFU library provided by us (like for instance &lt;a href="https://github.com/NordicSemiconductor/Android-DFU-Library"&gt;Android-DFU-Library&lt;/a&gt;).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/382526?ContentTypeID=1</link><pubDate>Sat, 20 Aug 2022 14:21:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c49772ba-2669-4b21-8bdd-bc119936c745</guid><dc:creator>Dominik Eugster</dc:creator><description>&lt;p&gt;I got the reply:&lt;/p&gt;
&lt;p&gt;Invalid combination: use two .zip packages instead.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/382525?ContentTypeID=1</link><pubDate>Sat, 20 Aug 2022 14:10:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fb75d87-8871-47ed-b35c-5467777e3627</guid><dc:creator>Dominik Eugster</dc:creator><description>&lt;p&gt;But this split has to be done with a special App or the normal Nordic nRF Connect will do? If so, how to create the zip wit the BL+SD+APP? all with nrfutil pkg generate in a combined file? thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/382522?ContentTypeID=1</link><pubDate>Sat, 20 Aug 2022 11:08:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:511844e4-4a4c-431b-b458-e25544b7e36a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;In this case, the DFU master (like for instance nRF Connect for mobile) split&amp;nbsp;the update in two automatically. First BL + SD is updated, and then the app is updated as a separate operation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/382185?ContentTypeID=1</link><pubDate>Thu, 18 Aug 2022 08:54:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00104368-02ee-408f-a6b0-9f6c7d03cc77</guid><dc:creator>Dominik Eugster</dc:creator><description>&lt;p&gt;Ok thanks.&lt;/p&gt;
&lt;p&gt;But why is there written that the APP + SD + Bootloader is possible?&lt;/p&gt;
&lt;p&gt;In this post they say this is impossible, but maybe I understand something wrong?&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/89484/bootloader-update-with-new-size-over-ble-dfu-service/382105"] &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/63895/how-to-generate-a-bootloader-softdevice-application-zip-for-ota-updates-dfu/262965"&gt;this post&lt;/a&gt;[/quote]
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/bl_2B00_app.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/382105?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 18:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bb93fd4-58eb-4c10-a5bb-c9d4d6221630</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You are right, an update zip consisting of application and bootloader is not supported. Generally, all combinations except for that is supported (see &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;4. Update softdevice and bootloader&lt;/a&gt;). Other than that, I do not have anything to add part from what is already in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/63895/how-to-generate-a-bootloader-softdevice-application-zip-for-ota-updates-dfu/262965"&gt;this post&lt;/a&gt; in the thread you mentioned.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/382079?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 14:12:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7e017dd-371e-4bf8-8f34-374955d82efa</guid><dc:creator>Dominik Eugster</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/eith"&gt;Einar Thorsrud&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Coming back to this topic. I found the &amp;quot;Bug&amp;quot;. The generated zip package with the line:&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 52 ...&lt;/p&gt;
&lt;p&gt;only contained the hex file from the application. If I do the same for the bootloader, I can update only the bootloader over OTA:&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 52 --sd-req 0x0100 --bootloader-version 1 --bootloader boot_test.hex --key-file private.key G3_bootloader.zip&lt;/p&gt;
&lt;p&gt;and its working.&lt;/p&gt;
&lt;p&gt;Is there a possibility to create a zip package which includes the app and bootloader?&lt;/p&gt;
&lt;p&gt;Here they are discussing the same &amp;quot;Problem&amp;quot; and is the only solution 2 zip packages? is there no other solution?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/63895/how-to-generate-a-bootloader-softdevice-application-zip-for-ota-updates-dfu/261014"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/63895/how-to-generate-a-bootloader-softdevice-application-zip-for-ota-updates-dfu/261014&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/7215.nrfutil.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks for any inputs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/375106?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 12:59:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9f0bcf2-37f1-4216-aec5-2c74b2837ea5</guid><dc:creator>Dominik Eugster</dc:creator><description>&lt;p&gt;I will test again, yes t really sounds strange but I will check this again. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/375096?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 12:31:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b767d72a-cabb-4fbe-88fe-4eff935df762</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hm, that does not make sense to me. The timer is all handled in SW, so if the new bootloader with 30 s timeout is what is running, the timeout should be 30 s. Did you successfully update to the new bootloader with 30s timeout (via DFU) before you tested updating to an image with invalid key that should fail? Or is it still the old bootloader that is running on the device? If it is the old, this is as expected. As this seems really odd, I suggest you verify that the new bootloader is running when this happens. For instance by adding different log string in the two versions, or toggling different GPIO&amp;#39;s, or some other method you can use to easily see which bootloader version is actually running on the device.&lt;/p&gt;
[quote user="Dominik Eugster"]Or do I have to do a power on Reset after OTA manually (which is happening with the nrfjprog of course)[/quote]
&lt;p&gt;Power-on reset is not needed. (A bootloader-update involves a soft reset reset as the MBR is responsible for copying the bootloader and that runs first, but this is part of the update procedure, and as long as it is successful all is good).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/375053?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 10:55:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be3cc35d-436d-40e0-b921-10eea1c26a5f</guid><dc:creator>Dominik Eugster</dc:creator><description>&lt;p&gt;The time is ok. I had the default time of 120s on my old bootloader. This is working correctly. Then I flash with the nrf connect app the new zip file with the new bootloader merged with 30s. &lt;/p&gt;
&lt;p&gt;Now If I do a DFU OTA with a corrupted (wrong private key) zip file, the DFU is starting, dects the wrong key and disconnect BLE. all correct. Then the bootloder start the inactive delay and switch back to application after time x. But this time is still 120s instead of 30s. An Update to 30s is only happening if I flash the nRF over the cable with nrfjprog.&lt;/p&gt;
&lt;p&gt;Or do I have to do a power on Reset after OTA manually (which is happening with the nrfjprog of course)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/375043?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 10:14:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a8bc006-718a-4396-aeea-e4e5494cebb4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I don&amp;#39;t understand the use case precisely. Is the bootloader that is on the device built with a timeout enabled, and what is that timeout? Can you test with a debug bootloader with RTT logging and check the log?&lt;/p&gt;
&lt;p&gt;A last point: If your WH is using a LFRC instead of an LFXO &lt;em&gt;and&lt;/em&gt; WDT, then you may be seeing a bug in the bootloader where the LFCLK is not beng properly started after a soft reset, which prevents the inactivity timer from working. The fix for this is to modify this part of timer_init() in&amp;nbsp;components\libraries\bootloader\nrf_bootloader_dfu_timers.c:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;        if (!nrf_clock_lf_is_running())
        {
            nrf_clock_task_trigger(NRF_CLOCK_TASK_LFCLKSTART);
        }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and reduce it to this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;        nrf_clock_task_trigger(NRF_CLOCK_TASK_LFCLKSTART);&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/375034?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 09:16:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4197da59-8894-44ac-9b98-463f20346a1e</guid><dc:creator>Dominik Eugster</dc:creator><description>&lt;p&gt;checked again, not working with the new time if I choose this:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot_5F00_20220701_5F00_111337_5F00_no.nordicsemi.android.mcp.jpg" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/375025?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 08:54:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaccbe48-27f4-482b-bfb8-54c7e6e26c4e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;I did not get this. Can you elaborate?&lt;/p&gt;
[quote user="Dominik Eugster"]The bootloader will be updated with the zip packet aswell, but the SDK config settings not?[/quote]
&lt;p&gt;The sdk_config.h file for the bootloader is used when building the bootloader. That is then part of the resulting binary file. So regardless of how you update the bootloader, as long as it is successfully updated, all and any changes will be included (as you get the exact same binary bootloader file programmed in the end regardless of method being used).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/375023?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 08:15:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31bcceff-a976-4f5f-b2b7-79317dc634a8</guid><dc:creator>Dominik Eugster</dc:creator><description>[quote userid="7377" url="~/f/nordic-q-a/89484/bootloader-update-with-new-size-over-ble-dfu-service/375014"]The bootloader implements an inactivity timeout that applies in this and other cases. This is controlled by adjusting the&amp;nbsp;NRF_BL_DFU_INACTIVITY_TIMEOUT_MS parameter in the bootloader&amp;#39;s sdk_config.h. The default value in our examples are&amp;nbsp;120000 ms, so 2 minutes.[/quote]
&lt;p&gt;This is working, but only after flashing the RF over SWD with the programmer.&lt;/p&gt;
&lt;p&gt;If I update the file with nrf connect app and send the zip packet, this changing was not active. Why? The bootloader will be updated with the zip packet aswell, but the SDK config settings not?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/375018?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 07:51:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4531e9e-e0a8-4fba-a4b7-4fd01d59271a</guid><dc:creator>Dominik Eugster</dc:creator><description>&lt;p&gt;great, thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/375014?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 07:42:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:829a3a75-5c11-4e6e-9550-ae8b3dc2ffea</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Dominik Eugster"]I just checked the download of a faked (wrong keys) firmware over OTA. The bootloader check the downloaded files and detect the wrong key and close the connection. The old application is still in the flash (single image bootloader setup). This is really important that nobody can &amp;quot;kill&amp;quot; the application.[/quote]
&lt;p&gt;Yes, that is correct. The first step in the DFU process is to transfer the init packet and validate the signature. If the signature is not valid, the DFU procedure will be aborted before any persistent changes are made.&lt;/p&gt;
[quote user="Dominik Eugster"]The only problem at the moment is, that in this case the bootloader remains in the bootloader after detection a new firmware with a wrong private key. Where can I change the bootloader to do a reset and load the application (exit the bootloader). Can you tell me the function in the bootloader which is detecting the wrong key to add a nrfreset function to change to application without power reset?[/quote]
&lt;p&gt;The bootloader implements an inactivity timeout that applies in this and other cases. This is controlled by adjusting the&amp;nbsp;NRF_BL_DFU_INACTIVITY_TIMEOUT_MS parameter in the bootloader&amp;#39;s sdk_config.h. The default value in our examples are&amp;nbsp;120000 ms, so 2 minutes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/375008?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 07:17:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99f24cfd-594e-4c25-876b-75ddebcc5074</guid><dc:creator>Dominik Eugster</dc:creator><description>&lt;p&gt;I just checked the download of a faked (wrong keys) firmware over OTA. The bootloader check the downloaded files and detect the wrong key and close the connection. The old application is still in the flash (single image bootloader setup). This is really important that nobody can &amp;quot;kill&amp;quot; the application.&lt;/p&gt;
&lt;p&gt;The only problem at the moment is, that in this case the bootloader remains in the bootloader after detection a new firmware with a wrong private key. Where can I change the bootloader to do a reset and load the application (exit the bootloader). Can you tell me the function in the bootloader which is detecting the wrong key to add a nrfreset function to change to application without power reset?&lt;/p&gt;
&lt;p&gt;At the moment I have to do a power reset in this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/375001?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 06:42:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:135b37aa-a3a5-4831-bf84-0134afe9e0bf</guid><dc:creator>Dominik Eugster</dc:creator><description>&lt;p&gt;ok, got it, but the bootloader himself will check the binary on Startup and if the keys are not correct, don&amp;#39;t allow the update. I will check this with my hardware. This will work to avoid the installation of corrupted (or fake) binary files, Thanks for your inputs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/374998?ContentTypeID=1</link><pubDate>Fri, 01 Jul 2022 06:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34db3588-a742-468a-bf5a-c69c58187a24</guid><dc:creator>Einar Thorsrud</dc:creator><description>[quote user="Dominik Eugster"]OTA is not possible if the start address is different, which is my case, right?[/quote]
&lt;p&gt;Yes, that is correct. Update of the bootloader in general is supported and no problem, but the bootloader size cannot be changed via OTA (the exception for that is if you originally reserve more size than needed by placing the bootloader start address lower, as what really must remain the same is the bootloader start address).&lt;/p&gt;
[quote user="Dominik Eugster"]The other question is, why the new build is possible to download with new start&amp;nbsp; adress, I gues because of the same keys in the building? (bootloader is still the old one after OTA (zip file), the application is new if I do a OTA on a old bootloader device with a higher start address)[/quote]
&lt;p&gt;The DFU procedure does not do any checking of the start address, it will always assume that the new image is to be located at the same address as that is the only thing that is supported. Generally, the DFU implementation attempts to handle any issues that could happen accidentally, particularly for the end customers. But&amp;nbsp;an (for any reason) non-working binary would generally not be detected by the DFU procedure, but needs to be checked by properly testing the binary beforehand.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/374931?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 13:39:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:70391d12-e0c1-4909-bf69-e6904ea3f4ed</guid><dc:creator>Dominik Eugster</dc:creator><description>[quote userid="7377" url="~/f/nordic-q-a/89484/bootloader-update-with-new-size-over-ble-dfu-service/374895"]Yes[/quote]
&lt;p&gt;But in this case only over the SWD SWD upater with the nrfjprog? &lt;/p&gt;
&lt;p&gt;OTA is not possible if the start address is different, which is my case, right?&lt;/p&gt;
&lt;p&gt;The other question is, why the new build is possible to download with new start&amp;nbsp; adress, I gues because of the same keys in the building? (bootloader is still the old one after OTA (zip file), the application is new if I do a OTA on a old bootloader device with a higher start address)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update with new size over BLE DFU service</title><link>https://devzone.nordicsemi.com/thread/374895?ContentTypeID=1</link><pubDate>Thu, 30 Jun 2022 11:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aceaa66-69d5-4f52-8011-f1b3a945c247</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Dominik,&lt;/p&gt;
[quote user=""]Is there a possibility to update the bootloader himself over the BLE DFU?[/quote]
&lt;p&gt;Yes.&lt;/p&gt;
[quote user=""]I have a new bootloader with a bigger size (MemoryMap changed) and I am wondering if I can upload old boards with the small bootloader over BLE DFU with the Nordic nrf Connect App, because there is under SelectFileType (Bootloader). Is this possible only if the size and memory map is equal or even if the size is bigger?[/quote]
&lt;p&gt;The size of the bootloader cannot increase across the page boundary when doing DFU. Meaning: the start address must remain the same, and it cannot grow into the last two pages (MBR params and bootloader settings pages). The reason for this is that the bootloader start address is at the end of the MBR page, and that cannot be changed via DFU (it has to be done via an attached debugger as you would have to erase the MBR page and write it again).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>