<?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>Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18117/migrating-from-sdk9-to-sdk12</link><description>Hi, 
 We want to upgrade our product from SDK9 to SDK12.
I already check the below questions. 
 devzone.nordicsemi.com/.../ 
 devzone.nordicsemi.com/.../ 
 devzone.nordicsemi.com/.../ 
 I think maybe we can upgrade the SDK9 bootloader allocated</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Dec 2016 10:40:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18117/migrating-from-sdk9-to-sdk12" /><item><title>RE: Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/thread/69887?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 10:40:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f68574de-d068-45bd-bcbe-07881524d019</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I just tested this and the Secure bootloader starts after the DFU has finished. Have set the BOOTLOADER_START_ADDR of the secure bootloader to 0x39000 like you did in the legacy bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/thread/69886?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 10:10:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f124fd83-a4ee-4ad7-a981-d403bb53f73b</guid><dc:creator>johnny</dc:creator><description>&lt;p&gt;Yes. If I use the nRFgo Studio to update the bootloader(24K) and SD, the bootloader(24K) can boot up success.
But When I use the bootloader(16K) upgrade to bootloader(24K) by DFU, after the DFU the bootloader(24K) can&amp;#39;t boot up success.
Can you try this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/thread/69885?ContentTypeID=1</link><pubDate>Tue, 06 Dec 2016 09:21:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99073643-0094-452a-84d8-1f78b582ee5f</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Johnny, I set the memory settings in the dfu_gcc_nrf51.ld to&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;FLASH (rx) : ORIGIN = 0x39000, LENGTH = 0x6C00
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and set  BOOTLOADER_REGION_START to  0x39000. I flashed the generated hex file to a nRF51 DK along with the S130 v2.0.1 SoftDevice and execution is passed to the bootloader without any issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/thread/69890?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 07:06:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a647912-86bb-4afd-a43b-c5e22227115a</guid><dc:creator>johnny</dc:creator><description>&lt;p&gt;Hi, I modify the dfu_gcc_nrf51.ld:
from FLASH (rx) : ORIGIN = 0x3C000, LENGTH = 0x3C00
to FLASH (rx) : ORIGIN = 0x39000, LENGTH = 0x6C00
No, I can&amp;#39;t able to debug the bootloader.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/thread/69889?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 06:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c2e5490-0b73-4373-b1ac-7ec4716929cb</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Johnny, have you to edited the linker settings to reflect the changes made to BOOTLOADER_REGION_START, i.e. FLASH (rx) : ORIGIN = 0x39000, LENGTH = 0x6C00? Are you able to debug the bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/thread/69888?ContentTypeID=1</link><pubDate>Mon, 05 Dec 2016 01:20:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b946d22f-103a-4bf6-ae91-4cb25fb5bf88</guid><dc:creator>johnny</dc:creator><description>&lt;p&gt;hi Bjørn, in my question 2, I changed the BOOTLOADER_REGION_START from 0x3C00 to 0x3900 to make the  enough space to keep SDK12 bootloader. But if I do that, the bootloader can&amp;#39;t boot up success. Can you help to check it? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/thread/69884?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2016 15:14:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:482417dc-dbe9-4999-9a11-76397aea92c4</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, you are correct. As long as the BOOTLOADER_REGION_START is set to 0x3AC00 and you adjust the size of the application accordingly you should be able to update the SDK v9.0.0 bootloader to the SDK v12.0.0 bootloader. You do not have to alter the BOOTLOADER_SETTINGS_ADDRESS, just leave it at 0x3FC00. The disadvantage is that you have (24-15kB) 9kB that are unused until you update to SDK v12.0.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/thread/69883?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2016 15:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:473d8f16-bbab-4401-a510-19d368ef0279</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Am I correct that in order to make SDK 9 bootloader future compatible with SDK 12 bootloader I will only need to recompile it with new BOOTLOADER_SETTINGS_ADDRESS and BOOTLOADER_REGION_START and restrict application ROM to BOOTLOADER_REGION_START? We are using SDK 9 and not planning to move to SDK 12 but may do at some point.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/thread/69882?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2016 14:45:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e51ce38-6b7a-4668-971a-990139c7f7c0</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Sorry, that was for the nRF52. I have corrected the addresses to be valid for the nRF51 in my answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/thread/69881?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2016 14:25:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d395d52-2bdf-40ad-850d-ec9f8e9ab6cb</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Is 0x0007A000/0x78000 for nRF51 or nRF52?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migrating from SDK9 to SDK12</title><link>https://devzone.nordicsemi.com/thread/69880?ContentTypeID=1</link><pubDate>Fri, 02 Dec 2016 13:52:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4b91134-608d-47df-9062-d2e9af55cfdc</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;In order to update the bootloader from SDK v11.0.0 or older (now referred to as Legacy) to the bootloader in SDK v12.x.0 ( referred to as Secure) you have to ensure that the start address of the legacy bootloader that is flashed to your devices is identical to that of the new Secure Bootloader as this cannot be changed at runtime on the nRF51x22 without erasing the entire chip and reflashing it.&lt;/p&gt;
&lt;p&gt;The default start address of the legacy bootloader is 0x0003C000, while the default start address of the Secure bootloader is 0x3AC00, i.e. the legacy bootloader start address must be set to 0x3AC00 so that there is room for the new Secure bootloader.&lt;/p&gt;
&lt;p&gt;Thus, if the start address of the legacy bootloader that is flashed to the devices that you want to update set to 0x3C000, then it is not possible to update from the legacy bootloader to the secure bootloader beacuse there is not enough room for the new bootloader.&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>