<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Using BLE OTA DFU to update the Bootloader itself</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/88931/using-ble-ota-dfu-to-update-the-bootloader-itself</link><description>Hi, 
 
 We develop in an OpenSuse VM so that we all have the benefit of only having to setup the tools once. Segger Embedded Studio was building our variant of the DFU Bootloader example. We use the debug version of the project since we have security</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Wed, 15 Jun 2022 04:35:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/88931/using-ble-ota-dfu-to-update-the-bootloader-itself" /><item><title>RE: Using BLE OTA DFU to update the Bootloader itself</title><link>https://test-devzone.nordicsemi.com/thread/372465?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 04:35:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8fd0cd0-f63a-4a10-83b0-54dad195d2af</guid><dc:creator>user46136</dc:creator><description>&lt;p&gt;We also have the same version for our custom bootloader.&amp;nbsp; Do I need to roll the version number somewhere to get past a no-downgrade test?&amp;nbsp; I don&amp;#39;t think we have downgrade prevention turned on, but I don&amp;#39;t know where to look to find out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE OTA DFU to update the Bootloader itself</title><link>https://test-devzone.nordicsemi.com/thread/372464?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 04:33:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e637c76-398f-46a7-8806-8ae76f1402d1</guid><dc:creator>user46136</dc:creator><description>&lt;p&gt;I don&amp;#39;t think we can use buttonless Secure DFU without updating the bootloader.&amp;nbsp; I assume that if we just detect the button is down as we boot into our HDT app and jump to the bootloader on that condition, the bootloader will just jump right back into our HDT app because it knows there is a valid app at the prescribed address.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE OTA DFU to update the Bootloader itself</title><link>https://test-devzone.nordicsemi.com/thread/372462?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 04:29:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae055029-fb53-4e37-8f88-a01ecf52f5aa</guid><dc:creator>user46136</dc:creator><description>&lt;p&gt;The app works as expected when the bootloader is present and when the bootloader is not present.&amp;nbsp; Our issues are just with getting the bootloader to update the bootloader itself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE OTA DFU to update the Bootloader itself</title><link>https://test-devzone.nordicsemi.com/thread/372461?ContentTypeID=1</link><pubDate>Wed, 15 Jun 2022 04:23:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d356675-13df-4d76-ad6a-640c40ff3033</guid><dc:creator>user46136</dc:creator><description>&lt;p&gt;We actually have the larger bootloader expanded and using uECC in the units in the field.&amp;nbsp; That bootloader works.&amp;nbsp; Well it will work once and then forever jump to the installed app.&amp;nbsp; So we are not trying to change the size of the bootloader from what is already in the target hardware.&amp;nbsp; I would assume we could leave the MBR and Softdevice in there, and just update the bootloader itself.&amp;nbsp; Is that not possible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE OTA DFU to update the Bootloader itself</title><link>https://test-devzone.nordicsemi.com/thread/372327?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 09:07:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e9e0043-1e95-4cd2-8334-c170ac31ef23</guid><dc:creator>user15146</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]the update appears to work, but the new advertising name does not show up,[/quote]
&lt;p&gt;Does the app work as expected when the bootloader is not present?&lt;/p&gt;
[quote user=""]Our issue is that we have a thousand units in the field with just the bootloader and no app in them.&amp;nbsp; We can add the app once, but then we can never update it again because the DFU will always jump to the app after that.&amp;nbsp; So we want to update the custom bootloader we put in there to our new custom bootloader that will jump to DFU if a button is held down at boot.&amp;nbsp; We can make this work when programmed with a J-link, but we can&amp;#39;t do it over the air which means we would need to open the cases of the 1000 units in the field that contain just the bootloader and use a Jlink and a cable to update the bootloader.&lt;br /&gt;[/quote]
&lt;p&gt;We have support for buttonless DFU as well. You can use the&amp;nbsp;Buttonless Secure DFU Service to jump from the app to the bootloader. See this example:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_buttonless_dfu.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/ble_sdk_app_buttonless_dfu.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using BLE OTA DFU to update the Bootloader itself</title><link>https://test-devzone.nordicsemi.com/thread/372296?ContentTypeID=1</link><pubDate>Tue, 14 Jun 2022 07:53:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58b09d70-8254-488f-9edc-0f6211976a00</guid><dc:creator>user14028</dc:creator><description>&lt;p&gt;You don&amp;#39;t need to include the bootloader settings page to the DFU package. The settings page is only needed if you flash the binary to the target with a programmer.&lt;/p&gt;
&lt;p&gt;The other issue is the bootloader start address. The one thing you can&amp;#39;t do using DFU is to change the size of the bootloader. I&amp;#39;m not sure if there are workarounds to this, but I believe it is not supported.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>