<?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>Migrate bootloader from SDK 11 to SDK 13</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26812/migrate-bootloader-from-sdk-11-to-sdk-13</link><description>Hello, 
 I have an application based on SDK 11 and Softdevice v2.0.0. Also there is a legacy bootloader from SDK 11 for performing DFU. 
 I am wondering whether it is possible to perform DFU of my devices in the field with old DFU and update all components</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Nov 2017 12:38:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26812/migrate-bootloader-from-sdk-11-to-sdk-13" /><item><title>RE: Migrate bootloader from SDK 11 to SDK 13</title><link>https://devzone.nordicsemi.com/thread/105382?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 12:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20cf7906-646f-4329-b6c1-289916eda112</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Alex, I was mistaken,  the custom bootloader should still have 0x7A000 as the start address. The start address will be changed by the custom bootloader when you update your device with the SD v 4.0.2 + APP + secure BL package.&lt;/p&gt;
&lt;p&gt;So the order should be:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;build custom bootloader with page alignment fix and legacy to secure workaround by using provided files [here] (&lt;a href="https://devzone.nordicsemi.com/questi...)"&gt;devzone.nordicsemi.com/questi...)&lt;/a&gt; with 0x7A000 as start address&lt;/li&gt;
&lt;li&gt;apply that custom bootloader to my devices&lt;/li&gt;
&lt;li&gt;prepare zip package with new SD v 4.0.2 + APP + secure BL&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate bootloader from SDK 11 to SDK 13</title><link>https://devzone.nordicsemi.com/thread/105385?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 10:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f437ed61-ed9d-45d9-a3a5-274193ce5378</guid><dc:creator>Alex Takiev</dc:creator><description>&lt;p&gt;Yes, sure:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;$ nrfjprog --family NRF52 --memrd 0x10001014
0x10001014: 0007A000                              |....|
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;It seems that bootloader address has not been applied to the UICR.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate bootloader from SDK 11 to SDK 13</title><link>https://devzone.nordicsemi.com/thread/105379?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 10:09:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6db8c33-a7e7-4c5b-9752-af13dec560b9</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Can you use nrfjprog to read the register holding the bootloader start address ( 0x10001014)?&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;nrfjprog -f nrf52 --memrd 0x10001014
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate bootloader from SDK 11 to SDK 13</title><link>https://devzone.nordicsemi.com/thread/105384?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 10:06:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ace585cd-b6f8-4c72-b99f-5ff12be7cc36</guid><dc:creator>Alex Takiev</dc:creator><description>&lt;p&gt;Bjørn,&lt;/p&gt;
&lt;p&gt;As you may expect, I&amp;#39;ve also changed custom bootloader start address in Keil project from 0x7A000 to 0x78000.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate bootloader from SDK 11 to SDK 13</title><link>https://devzone.nordicsemi.com/thread/105383?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 10:04:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79185105-6e4d-4798-81cf-b2de0be32f52</guid><dc:creator>Alex Takiev</dc:creator><description>&lt;p&gt;Hello Bjørn,&lt;/p&gt;
&lt;p&gt;Thank you for your response!
I built custom bootloader from the topic you&amp;#39;ve noticed and create zip package with the bootloader only with &lt;code&gt;nrfutil 0.5.3&lt;/code&gt;:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;nrfutil dfu genpkg --bootloader custom_bl.hex custom_bl.zip&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;After I applied it via nRF Connect my device cannot start at all.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate bootloader from SDK 11 to SDK 13</title><link>https://devzone.nordicsemi.com/thread/105381?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 07:52:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48902f85-a496-47a2-b05f-b2c57028316c</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Alex, you can combine the fix for the &lt;a href="https://devzone.nordicsemi.com/question/97019/updating-from-s132-v20x-to-s132-v300-with-dual-bank-bootloader-from-sdk-v1100-does-not-work/"&gt;page alignment issue&lt;/a&gt; with the legacy to secure bootloader workaround, i.e.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;build custom bootloader with page alignment fix and legacy to secure workaround  by using provided files [here] (&lt;a href="https://devzone.nordicsemi.com/question/105922/dfu-updating-from-legacysdk-v1100-bootloader-to-securesdk-v12x0-bootloader/)"&gt;devzone.nordicsemi.com/.../)&lt;/a&gt;, change its address from 0x7A000 to 0x78000 in order to be able to upload the new secure bootloader&lt;/li&gt;
&lt;li&gt;apply that custom bootloader to my devices&lt;/li&gt;
&lt;li&gt;prepare zip package with new SD v 4.0.2 + APP + secure BL&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate bootloader from SDK 11 to SDK 13</title><link>https://devzone.nordicsemi.com/thread/105380?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2017 09:34:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bbf8918-bfa5-41ca-96cc-b84a9fa60cf0</guid><dc:creator>Alex Takiev</dc:creator><description>&lt;p&gt;Hello Bjørn,
Thank you for your response. Am I right that I should do following steps:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;apply dfu_dual_bank_with_fix.c from &lt;a href="https://devzone.nordicsemi.com/question/97019/updating-from-s132-v20x-to-s132-v300-with-dual-bank-bootloader-from-sdk-v1100-does-not-work/"&gt;this answer&lt;/a&gt; to the legacy bootloader which is based on SDK 11&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;apply that fix by performing DFU of bootloader only&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;build custom bootloader by using provided files [here]
(&lt;a href="https://devzone.nordicsemi.com/question/105922/dfu-updating-from-legacysdk-v1100-bootloader-to-securesdk-v12x0-bootloader/)"&gt;devzone.nordicsemi.com/.../)&lt;/a&gt;, change its address from 0x7A000 to 0x78000 in order to be able to upload the new secure bootloader&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;apply that custom bootloader to my devices&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;prepare zip package with new SD v 4.0.2 + APP + secure BL&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Is it correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrate bootloader from SDK 11 to SDK 13</title><link>https://devzone.nordicsemi.com/thread/105378?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2017 23:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e32c394b-2987-4f02-9c67-172e23a5fa13</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Alex,&lt;/p&gt;
&lt;p&gt;Yes, it is possible, but it is not failsafe, see &lt;a href="https://devzone.nordicsemi.com/question/105922/dfu-updating-from-legacysdk-v1100-bootloader-to-securesdk-v12x0-bootloader/"&gt;this&lt;/a&gt; answer.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>