<?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>Updating bootloader + SD from SDK13 to SDK14</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27187/updating-bootloader-sd-from-sdk13-to-sdk14</link><description>I have SD 4.0.2 + 13.0.0 secure debug bootloader, and I am trying to update it to SD 5.0.0 + 14.0.0 secure debug bootloader. It transfers the data, goes to 100%, but after that it fails and is not bootable (bricked) until I flash it with segger. The bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Nov 2017 11:49:23 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27187/updating-bootloader-sd-from-sdk13-to-sdk14" /><item><title>RE: Updating bootloader + SD from SDK13 to SDK14</title><link>https://devzone.nordicsemi.com/thread/107130?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2017 11:49:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9b5db9c-a326-4b53-9e11-6f1a78baac4e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;You should get an &lt;code&gt;Insufficient resources&lt;/code&gt; error if you try to update to a bootloader that will not fit in the old bootloader region, see &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v13.1.0/lib_dfu_transport_ble.html?cp=4_0_3_3_4_2_2_1#lib_dfu_transport_ble_control_point"&gt;this&lt;/a&gt; infocenter page.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating bootloader + SD from SDK13 to SDK14</title><link>https://devzone.nordicsemi.com/thread/107129?ContentTypeID=1</link><pubDate>Thu, 16 Nov 2017 18:03:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f791ef45-e0b2-4a4a-9fe6-5c5b81b56309</guid><dc:creator>Aaron</dc:creator><description>&lt;p&gt;Also, it would be nice if the bootloader would refuse to flash a bootloader that is too large to fit in flash.  As it is now you can brick the device by sending it a bootloader that is too large to fit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating bootloader + SD from SDK13 to SDK14</title><link>https://devzone.nordicsemi.com/thread/107128?ContentTypeID=1</link><pubDate>Thu, 16 Nov 2017 17:58:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d076e0c5-6c59-46d3-90d4-723058e6d51f</guid><dc:creator>Aaron</dc:creator><description>&lt;p&gt;If you look at secure_dfu_gcc_pca10040_debug.ld in examples/dfu/bootloader_secure_ble, the ORIGIN changed from 0x75000 to 0x73000 between SDK13 and SDK14.  If I try to compile our SDK14 bootloader_secure_ble with ORIGIN 0x75000, I get linker error:
_build/nrf52832_xxaa_s132.out section &lt;code&gt;.text&amp;#39; will not fit in region&lt;/code&gt;FLASH&amp;#39;
region `FLASH&amp;#39; overflowed by 2620 bytes&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating bootloader + SD from SDK13 to SDK14</title><link>https://devzone.nordicsemi.com/thread/107127?ContentTypeID=1</link><pubDate>Thu, 16 Nov 2017 08:58:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31a01a9d-2e3e-4bd5-9f1b-7242ef370144</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, it is correct that the old and the new bootloader must have the same start address, i.e. the new bootlaoder must be able to fit within the region occupied by the old bootloader.
However, the SDK v13.0.0 and the SDK v14.0.0 bootloaders should be the same size, given that its non-debug to non-debug or debug to debug.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating bootloader + SD from SDK13 to SDK14</title><link>https://devzone.nordicsemi.com/thread/107126?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2017 17:15:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9e7f94c-cab2-47da-b2a7-1aa3a36cc7c0</guid><dc:creator>Aaron</dc:creator><description>&lt;p&gt;The problem was definitely the UICR, it seems that it is not possible to update from an old bootloader to a new bootloader if the new bootloader is larger.  In general it seems like updating from one SDK to a newer SDK is something that&amp;#39;s not well supported or tested.  But if you think you might do it, be sure to pad out the space taken by the bootloader in case the next bootloader is larger.  In my case we got it working by going from the SDK13 debug bootloader to the SDK14 non-debug bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating bootloader + SD from SDK13 to SDK14</title><link>https://devzone.nordicsemi.com/thread/107125?ContentTypeID=1</link><pubDate>Fri, 27 Oct 2017 13:11:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea1102cb-1eae-4da5-8a20-5b38573ea1fe</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;No, the workaround must only be implemented in the new bootloader as the issue is that its trying to verify that the copy operation was successful by comparing the swap area with the bootloader region, but due to the increased SD size it performs the compare operation with a 0x4000 offset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating bootloader + SD from SDK13 to SDK14</title><link>https://devzone.nordicsemi.com/thread/107124?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2017 01:04:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cdbda79b-d072-4308-9ec5-4f2c48302f87</guid><dc:creator>Aaron</dc:creator><description>&lt;p&gt;So, I updated the new bootloader to SDK 14.1.0, and set NRF_DFU_WORKAROUND_PRE_SDK_14_1_0_SD_BL_UPDATE which supposedly fixes this problem but I&amp;#39;m seeing the same result.  I&amp;#39;m a bit confused.  Is this code getting executed in the existing SDK13 bootloader, or in the one that&amp;#39;s being uploaded?  Do I need to upload an SDK13/SD4 bootloader with this workaround code first, and then upload an SDK14/SD5 bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating bootloader + SD from SDK13 to SDK14</title><link>https://devzone.nordicsemi.com/thread/107123?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 20:49:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1519c919-d164-44b7-a833-80ca80a36968</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;There&amp;#39;s a known issue for SDK14 that might be the reason
&lt;a href="https://devzone.nordicsemi.com/question/166790/what-are-sdk-14x0-known-issues/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/169172/update-sdblapp-from-sdk-v13-to-v14-via-dfu-fails/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>