<?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>Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107860/change-softdevice-version-on-dfu-sd-version-failure</link><description>Hello. We have an application that uses the softdevice s112 , and we have never had a problem doing DFUs. Now, we made a new version of the application that uses the softdevice s113 and the DFU fails. When i do a DFU with the android app (nrfConnect ou</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 04 Mar 2024 20:49:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107860/change-softdevice-version-on-dfu-sd-version-failure" /><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/472141?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 20:49:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5ca2579-8ac1-4b94-bcb7-9fdeab4a7e30</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="Andre N"]If I understand it correctly, it says I cant change the bootloader start address over DFU.&lt;br /&gt;But you (and some other employee in another ticket) said otherwise.[/quote]
&lt;p&gt;Sorry, I misunderstood your question.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I mean you can modify the bootloader address at the first/original bootloader on the device, and then use the same address for the later to update. The address of the bootloader cannot be updated over DFU as that note stated.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/472139?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 20:15:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7f55ea9-dad1-4917-902b-780532133f9c</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;Thanks!&lt;br /&gt;&lt;br /&gt;you see in the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Flib_bootloader.html&amp;amp;cp=9_1_3_5_0_7&amp;amp;anchor=lib_bootloader_memory"&gt;link&lt;/a&gt; you sent me there is this in the bottom of the page.&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1709583007559v1.png" alt=" " /&gt;&lt;br /&gt;If I understand it correctly, it says I cant change the bootloader start address over DFU.&lt;br /&gt;But you (and some other employee in another ticket) said otherwise.&lt;br /&gt;&lt;br /&gt;regarding the overlaps, i checked with nrfConnect Programmer and the allocated memory is way bigger than the actual used memory so i should be fine.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/472138?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 19:58:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a25fcd2-e324-4780-accb-ac7107bf1c27</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user="Andre N"]Is it possible to move the addresses of mbr_params_page,&amp;nbsp; bootloader_settings_page, and bootloader?[/quote]
&lt;p&gt;&lt;span&gt;If you use SES, y&lt;/span&gt;ou can modify&amp;nbsp;&lt;span&gt;the addresses of mbr_params_page and&amp;nbsp; bootloader_settings_page in flash_placement.xml.&lt;/span&gt;&lt;/p&gt;
[quote user="Andre N"]i think i saw somewhere in this forum that we cant change bootloader address on DFU is that true?[/quote]
&lt;p&gt;&lt;span&gt;No, you can modify the&amp;nbsp;Bootloader address&amp;nbsp;&lt;/span&gt;&lt;span&gt;by the&amp;nbsp;FLASH_START in the SES bootloader project option.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1709582000980v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Modifying those addresses might cause memory overlap errors. You have to handle it by yourself. &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader.html?cp=9_1_3_5_0_7#lib_bootloader_memory"&gt;Here&lt;/a&gt; is the&amp;nbsp;&lt;a title="Memory layout" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader.html?cp=9_1_3_5_0_7#lib_bootloader_memory"&gt;Memory layout&lt;/a&gt;&amp;nbsp;of the different chips with current SoftDevices.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/471767?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 11:45:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90ebc3a5-b7b8-401a-9f0a-885141fcaf70</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;Hi again&lt;br /&gt;&lt;br /&gt;Is it possible to move the addresses of mbr_params_page,&amp;nbsp; bootloader_settings_page, and bootloader?&lt;br /&gt;because i noticed that mbr_params_page and bootloader_settings_page have 1000 bytes reserved each but only use 300 each.&lt;br /&gt;&lt;br /&gt;i noticed that if i reseve only the necessary space and move them up a bit, i should have enough space for my dfu.&lt;br /&gt;i have already managed to move bootloader_settings_page but not mbr_settings_page&amp;nbsp;&lt;br /&gt;also i think i saw somewhere in this forum that we cant change bootloader address on DFU is that true?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1709293019866v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;regarding the crypto solution, security is not really a problem for this device. it is just a small sensor&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/470485?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 13:59:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20bd7c65-8b1d-4890-b318-4c1781d349dc</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will not suggest you disable&amp;nbsp;&lt;span&gt;NRF_CRYPTO due to the security.&amp;nbsp;To protect the target device against malicious attackers who try to impersonate the rightful sender of the firmware update, the init packet of the firmware package must be signed.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You could use the&amp;nbsp;secure_bootloader without debug version to get the smaller size. If this still cannot help, I would suggest considering another nRF52 chip with large memory space.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/470439?ContentTypeID=1</link><pubDate>Fri, 23 Feb 2024 11:42:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:686040f1-209f-4efa-a6e2-cbce518c6d5b</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;Hello&lt;br /&gt;thx again for you help&lt;br /&gt;&lt;br /&gt;I realised that i am only 4kB short in memory and so i tried to make a smaller bootloader.&lt;br /&gt;&lt;br /&gt;I am wondering if i can disable NRF_CRYPTO because the bootloader would be 11KB instead of 22KB.&lt;br /&gt;&lt;br /&gt;I tried disabling NRF_CRYPTO but i get this error between the two parts of the DFU:&lt;br /&gt;&lt;br /&gt;&lt;span style="color:#ff9900;"&gt;Remote DFU error: INVALID OBJECT. SD busy? Retrying...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I assume the 1st part of the DFU is when we change the BL+SD and the 2nd part is when we change the APP.&lt;br /&gt;I get the error after BL+SD are transfered.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468903?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 20:05:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abf8b288-cf46-4a17-a667-ac546813c047</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Andre N"]Is it possible to do a single bank OTA BLE DFU for the BL + SD?[/quote]
&lt;p&gt;The figure in&amp;nbsp;&lt;span&gt;the&amp;nbsp;&lt;/span&gt;&lt;a title="Single-bank updates" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader_dfu_banks.html?cp=9_1_3_5_1_2_1#lib_bootloader_dfu_single_bank"&gt;Single-bank updates&lt;/a&gt;&amp;nbsp;documentation illustrates the &lt;span&gt;single-bank OTA BLE DFU for the BL + SD when there is an application. You need&amp;nbsp;NRF_DFU_SINGLE_BANK_APP_UPDATES set to 1 in your bootloader&amp;#39;s sdk_config.h.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You also can check the code&amp;nbsp;nRF5_SDK_17.1.0_ddde560\components\libraries\bootloader\dfu\nrf_dfu_validation.c&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1707940738987v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
[quote user="Andre N"]In the meantime im looking into dualbank DFU via external flash. that should work right?[/quote]
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/57118/dual-bank-dfu-with-external-flash/231572"&gt;this post&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468721?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 23:33:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e87005db-e17b-4e89-878e-606feb048370</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;Hello&lt;br /&gt;No problem.&lt;br /&gt;&lt;br /&gt;I am already doing single bank updates (for the app)&lt;br /&gt;Is it possible to do a single bank OTA BLE DFU for the BL + SD?&lt;/p&gt;
&lt;p&gt;In theory it sounds impossible to me since i need the BL and SD to do it&lt;br /&gt;&lt;br /&gt;In the meantime im looking into dualbank DFU via external flash. that should work right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468704?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 18:20:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4990acb8-ee68-4f2d-b8c2-d55044590e54</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the delay.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You could try the&amp;nbsp;&lt;a title="Single-bank updates" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader_dfu_banks.html?cp=9_1_3_5_1_2_1#lib_bootloader_dfu_single_bank"&gt;Single-bank updates&lt;/a&gt;. See &lt;a title="Dual-bank and single-bank updates" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader_dfu_banks.html?cp=9_1_3_5_1_2"&gt;Dual-bank and single-bank updates&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468194?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2024 10:56:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d8add44-c515-462f-8c52-ca8e73609fc5</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1707475704126v1.png" alt=" " /&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;Looking at the actual layout after flashing, (with app data and all those things)&lt;br /&gt;The only space i have available for DFU is from 0x19000 to 0x35000&lt;br /&gt;So i have 114688 bytes available and my new BL+SD is 130504&lt;br /&gt;I assume i must flash both at the same time because i had to adjust BL parameters for this SD&lt;br /&gt;&lt;br /&gt;Is it possible to optimise the current memory layout?&lt;br /&gt;because the application data only takes a few bytes but is is allocating thousands of bytes&lt;br /&gt;the same goes for mbr params and bootloader settings, they only need 800 bytes each but they are allocating 4096 each&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1707475979813v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468192?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2024 10:40:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecb05554-360f-4c23-90a8-43bb9d2e46f0</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;&lt;strong&gt;If i update SD only:&lt;/strong&gt;&lt;br /&gt;The sd is actually trasnfered but i get an error after transfer&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1707473897257v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1707474003835v7.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If i update Bootloader + SD :&lt;/strong&gt;&lt;br /&gt;I get insufficient resources error&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;here is my memory layout&lt;strong&gt;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1707474310922v10.jpeg" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;strong&gt;If i update Bootloader + SD + APP: i get SD version error&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468158?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2024 06:33:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ade4e919-02f2-4999-8397-943294970e7f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to test just only update SD / SD+BL / SD+BL+APP?&lt;br /&gt;nrfutil pkg generate --hw-version 52 --sd-req 0x0103 --sd-id 0x0102 --softdevice s113_nrf52_7.2.0_softdevice.hex --key-file private.pem output_file.zip&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 52 --sd-req 0x0103 --sd-id 0x0102 --softdevice s113_nrf52_7.2.0_softdevice.hex --bootloader bootloader.hex --bootloader-version 3 --key-file private.pem output_file_1.zip&lt;/p&gt;
&lt;p&gt;nrfutil pkg generate --hw-version 52 --sd-req 0x0103 --sd-id 0x0102 --softdevice s113_nrf52_7.2.0_softdevice.hex --bootloader bootloader.hex --bootloader-version 3 --application app.hex --application-version 18 --key-file private.pem output_file_2.zip&lt;/p&gt;
&lt;p&gt;Are those packages uploaded successfully?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468139?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 19:44:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b99478b2-1414-448b-9707-1db2a824010d</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;On a phone app all i get is this: &lt;strong&gt;SD version failure (code = 7)&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;with &lt;span&gt;&lt;/span&gt;pc-ble-driver-py and a dongle, i get this:&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt; File &amp;quot;/home/andre/projects/debug-dfu_sd/main.py&amp;quot;, line 56, in &amp;lt;module&amp;gt;&lt;br /&gt; dfu.dfu_send_images()&lt;br /&gt; File &amp;quot;/home/andre/projects/debug-dfu_sd/nordicsemi/dfu/dfu.py&amp;quot;, line 124, in dfu_send_images&lt;br /&gt; self._dfu_send_image(self.manifest.application)&lt;br /&gt; File &amp;quot;/home/andre/projects/debug-dfu_sd/nordicsemi/dfu/dfu.py&amp;quot;, line 95, in _dfu_send_image&lt;br /&gt; self.dfu_transport.send_init_packet(data)&lt;br /&gt; File &amp;quot;/home/andre/projects/debug-dfu_sd/nordicsemi/dfu/dfu_transport_ble.py&amp;quot;, line 526, in send_init_packet&lt;br /&gt; self.__execute()&lt;br /&gt; File &amp;quot;/home/andre/projects/debug-dfu_sd/nordicsemi/dfu/dfu_transport_ble.py&amp;quot;, line 607, in __execute&lt;br /&gt; self.__get_response(DfuTransportBle.OP_CODE['Execute'])&lt;br /&gt; File &amp;quot;/home/andre/projects/debug-dfu_sd/nordicsemi/dfu/dfu_transport_ble.py&amp;quot;, line 682, in __get_response&lt;br /&gt; raise NordicSemiException(&amp;#39;Extended Error 0x{:02X}: {}&amp;#39;.format(resp[3], data))&lt;br /&gt;pc_ble_driver_py.exceptions.NordicSemiException: &lt;strong&gt;Extended Error 0x07: The array of supported SoftDevices for the update does not contain the FWID of the current SoftDevice.&lt;br /&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;and i get this error when the old SD id is not included on --sd-id list.&lt;br /&gt;i know it makes no sense. --sd-id is not even supposed to be a list of ids.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468138?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 19:40:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3492747a-9fa6-45b5-9d23-80595eccdf5d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Could you post the error log and command again?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468135?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 19:32:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf6afaec-4062-48ca-85de-7e33bc27bd83</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;yes thats the version&lt;br /&gt;&lt;br /&gt;i just retried that and i still get the error&lt;br /&gt;&lt;br /&gt;also could it be linked to the bootloader settings file?&lt;br /&gt;i never touched it but now we are changing the bootloader so maybe we should ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468133?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 19:26:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a7c1a6f-c734-45cc-b765-a22ba3ba8679</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;What is the SD version on the device now? Is it&amp;nbsp;s112_nrf52_7.2.0? If so, try to set&amp;nbsp;&lt;span&gt;--sd-req 0x0103 and --sd-id 0x0102.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468131?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 19:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c28b092-c1df-4656-ba7f-7314d9af1953</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;exactly but i get the error when i do that too&lt;br /&gt;&lt;br /&gt;if i put several id on --sd-req it is because the doc of nrfutil says i can do it (and im antecipating further updates)&lt;br /&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/pastedimage1707419703294v1.png" /&gt;&lt;br /&gt;&lt;br /&gt;here is a breakdown of how i create a package&lt;br /&gt;nrfutil pkg generate&lt;br /&gt;--hw-version 52&lt;br /&gt;--sd-req 0x0103,0x0102&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (id of current softdevice)&lt;br /&gt;--sd-id 0x0102&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (id of new softdevice)&lt;br /&gt;--softdevice s113_nrf52_7.2.0_softdevice.hex&lt;br /&gt;--bootloader bootloader.hex&lt;br /&gt;--bootloader-version 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (bumped bootloader version)&lt;br /&gt;--application myapplication.hex&lt;br /&gt;--application-version 18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (bumped application version)&lt;br /&gt;--key-file private.pem&lt;br /&gt;output_file.zip&lt;br /&gt;&lt;br /&gt;also it is weird that the error disapears if i include the ID of current softdevice on --sd-id and not on --sd-req&lt;br /&gt;(again, the error disappears but the device doesnt work after the dfu)&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468130?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 19:09:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91e12fec-364f-4c89-903f-be1458bbece2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;It&amp;nbsp;requires&amp;nbsp;&lt;/span&gt;&lt;code&gt;--sd-req&lt;/code&gt;&lt;span&gt;&amp;nbsp;to be set to the ID of the old SD. The APP update requires the ID of the new SD. The new ID must be set using&amp;nbsp;&lt;/span&gt;&lt;code&gt;--sd-id&lt;/code&gt;&lt;span&gt;&amp;nbsp;parameter.&amp;nbsp;&lt;/span&gt;&lt;span&gt;See&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader#h30sjziadf6hpjsiv7m17imj1jfgvi"&gt;this blog post&lt;/a&gt;&lt;span&gt;&amp;nbsp;for more details.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/468126?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 18:36:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b510d12-e906-4f00-b85a-4bff54aa2809</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;Hi again.&lt;br /&gt;I checked my bootloader and there was indeed a problem. i forgot to update the RAM on the linker file like i did on the application linker file.&lt;br /&gt;And i couldnt see the RAM error beacause the logs ware deactivated on the bootloader&lt;br /&gt;So now i dont have the insufficient resources problem anymore. Thanks for that&lt;br /&gt;&lt;br /&gt;However, i still have the SD version error.&lt;br /&gt;I have the same error everywhere (DFU app, nrfConnect app, pc-ble-driver + dongle)&lt;br /&gt;&lt;br /&gt;this is the error i get:&lt;br /&gt;&lt;strong&gt;Extended Error 0x07:&lt;/strong&gt;&lt;br /&gt;&lt;strong&gt;The array of supported SoftDevices for the update does not contain the FWID of the current SoftDevice.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;it says the array of supported SD doesnt containt the current SD but as you can see, i did put both SD on my array:&lt;br /&gt;--sd-req 0x0103,0x0102 as i said on my ticket&lt;br /&gt;&lt;br /&gt;is this the right syntax?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/466822?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2024 16:49:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0a45c58-877e-4675-beeb-dd08d350d40d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Maybe you could try to move BL&amp;#39;s start address a little back to get more free space for the updated package.&amp;nbsp;Here is the&amp;nbsp;&lt;a title="Memory layout" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader.html?cp=9_1_3_5_0_7#lib_bootloader_memory"&gt;Memory layout&lt;/a&gt;&amp;nbsp;for SD+BL+APP. Although there is no one for nRF52820 s112/s113, it could give some inspiration.&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/466817?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2024 16:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a24b7ec0-9eb8-4feb-81eb-46829406c009</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;Hi&lt;br /&gt;we are changing to s113 because we need to transfer data as fast as possible.&lt;br /&gt;s113 is very close to our current SD but it supports Data packet length extension.&lt;br /&gt;with s112 we are limited to 200kbps but with s113 we can reach 1000kbps.&lt;br /&gt;&lt;br /&gt;We should have enough flash space though:&lt;br /&gt;our old application&amp;nbsp; APP 89044 + SD 98284 + BL 64000&amp;nbsp; (total 251328)&lt;br /&gt;our new application APP 75556 + SD 107692 + BL 64000 (total 247248)&lt;br /&gt;&lt;br /&gt;could it be related to RAM? because i had to change that too with the new SD&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/466806?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2024 15:38:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:419dbe3f-e952-4976-9da4-78bbb5d4b2bf</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The error indicates that one or more of the new FW images are too big to fit in flash. Any special reason to update to s113? s112 is smaller than s113. You can check the release notes under&amp;nbsp;nRF5_SDK\components\softdevice\s113\doc.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Maybe you could try the BL without debugging information to get a smaller size.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/466712?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2024 10:25:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:806a4b98-a5b8-48c5-85d9-b3469d76be54</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;I&amp;nbsp; tested some other things and i am getting weird results.&lt;br /&gt;&lt;br /&gt;- i tried to do a DFU with nrfConnect Desktop and i get a different error: &amp;quot;INSUFFICENT RESOURCES&amp;quot;&lt;br /&gt;&lt;br /&gt;- i flashed my device with the example s113 secure bootloader and it seemed to work.&lt;br /&gt;then i made a DFU package and the dfu fails with &amp;#39;INSUFFICIENT RESOURCES&amp;#39; too&lt;br /&gt;(it was just BL + SD, no APP)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/466631?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2024 21:55:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b2272d0-43c4-42ee-b776-184c5a0d928f</guid><dc:creator>Andre N</dc:creator><description>&lt;p&gt;Thanks&lt;br /&gt;&lt;br /&gt;I just tested this and indeed the device doesnt advertise. it kinda looks like it keeps rebooting&lt;br /&gt;I just changed the softdevice on my bootloader&amp;#39;s makefile and got this.&lt;br /&gt;&lt;br /&gt;Does this mean that i just forgot to change some things? like the linker script?&lt;br /&gt;&lt;br /&gt;Does this mean that my this SD is not compatible with the BL and i will never be able to change it ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Change softdevice version on DFU (sd version failure)</title><link>https://devzone.nordicsemi.com/thread/466625?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2024 21:04:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f491ee66-3288-4ea4-952d-26d62f515f5a</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;You could program the&amp;nbsp;&lt;span&gt;SD and&amp;nbsp;BL on the board to see if they can work together as expected or not.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>