<?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>Ncs1.2.0 cannot be upgraded to ncs1.6.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79149/ncs1-2-0-cannot-be-upgraded-to-ncs1-6-0</link><description>I need to upgrade NCS1.2.0 to NCS1.6.0, the application firmware is downloaded successfully, but after restarting the IC, it still runs the previous application. I think there should be an error in bootloader. 
 Here is boot&amp;#39;s log: 
 *** Booting Zephyr</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Sep 2021 09:20:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79149/ncs1-2-0-cannot-be-upgraded-to-ncs1-6-0" /><item><title>RE: Ncs1.2.0 cannot be upgraded to ncs1.6.0</title><link>https://devzone.nordicsemi.com/thread/328332?ContentTypeID=1</link><pubDate>Tue, 07 Sep 2021 09:20:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d327d62f-befa-4035-bf62-66e959ed67e4</guid><dc:creator>pengfeilaw</dc:creator><description>&lt;p&gt;It works,thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ncs1.2.0 cannot be upgraded to ncs1.6.0</title><link>https://devzone.nordicsemi.com/thread/328075?ContentTypeID=1</link><pubDate>Mon, 06 Sep 2021 03:18:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4dcb91d-5f4d-457b-b0d7-de294607b04b</guid><dc:creator>pengfeilaw</dc:creator><description>&lt;p&gt;I used the process&amp;nbsp;ncs1.2.0\nrf\samples\nrf9160\http_application_update without&amp;nbsp;&lt;span&gt;own modifications.Could you please do the test yourself?I don&amp;#39;t know why it failed.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ncs1.2.0 cannot be upgraded to ncs1.6.0</title><link>https://devzone.nordicsemi.com/thread/328001?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 14:23:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2de88836-1540-4020-8097-bdb66df94234</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;The two .yml files looks compatible, so it might not be the flash partitioning scheme that is the problem.&lt;/p&gt;
&lt;p&gt;What file are you using when you try to upgrade the firmware?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ncs1.2.0 cannot be upgraded to ncs1.6.0</title><link>https://devzone.nordicsemi.com/thread/327747?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 10:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0adf0a4-92a4-49a6-8d80-7157031f311a</guid><dc:creator>pengfeilaw</dc:creator><description>&lt;p&gt;&lt;span&gt;I have done as you suggested.but it does not work.I provide two &amp;quot;partitions.yml&amp;quot; files from ncs1.2.0 and 1.6.0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you help me see how to do it?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;from 1.6.0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;app:&lt;br /&gt; address: 0x18200&lt;br /&gt; end_address: 0x7e000&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0x65e00&lt;br /&gt;mcuboot:&lt;br /&gt; address: 0x0&lt;br /&gt; end_address: 0xc000&lt;br /&gt; placement:&lt;br /&gt; before:&lt;br /&gt; - mcuboot_primary&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0xc000&lt;br /&gt;mcuboot_pad:&lt;br /&gt; address: 0xc000&lt;br /&gt; end_address: 0xc200&lt;br /&gt; placement:&lt;br /&gt; align:&lt;br /&gt; start: 0x1000&lt;br /&gt; before:&lt;br /&gt; - mcuboot_primary_app&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0x200&lt;br /&gt;mcuboot_primary:&lt;br /&gt; address: 0xc000&lt;br /&gt; end_address: 0x86000&lt;br /&gt; orig_span: &amp;amp;id001&lt;br /&gt; - spm&lt;br /&gt; - mcuboot_pad&lt;br /&gt; - app&lt;br /&gt; region: flash_primary&lt;br /&gt; sharers: 0x1&lt;br /&gt; size: 0x7a000&lt;br /&gt; span: *id001&lt;br /&gt;mcuboot_primary_app:&lt;br /&gt; address: 0xc200&lt;br /&gt; end_address: 0x86000&lt;br /&gt; orig_span: &amp;amp;id002&lt;br /&gt; - app&lt;br /&gt; - spm&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0x79e00&lt;br /&gt; span: *id002&lt;br /&gt;mcuboot_secondary:&lt;br /&gt; address: 0x86000&lt;br /&gt; end_address: 0x100000&lt;br /&gt; placement:&lt;br /&gt; after:&lt;br /&gt; - mcuboot_primary&lt;br /&gt; align:&lt;br /&gt; start: 0x1000&lt;br /&gt; region: flash_primary&lt;br /&gt; share_size:&lt;br /&gt; - mcuboot_primary&lt;br /&gt; size: 0x7a000&lt;br /&gt;nrf_modem_lib_ctrl:&lt;br /&gt; address: 0x20010000&lt;br /&gt; end_address: 0x200104e8&lt;br /&gt; inside:&lt;br /&gt; - sram_nonsecure&lt;br /&gt; placement:&lt;br /&gt; after:&lt;br /&gt; - spm_sram&lt;br /&gt; - start&lt;br /&gt; region: sram_primary&lt;br /&gt; size: 0x4e8&lt;br /&gt;nrf_modem_lib_rx:&lt;br /&gt; address: 0x200124e8&lt;br /&gt; end_address: 0x200144e8&lt;br /&gt; inside:&lt;br /&gt; - sram_nonsecure&lt;br /&gt; placement:&lt;br /&gt; after:&lt;br /&gt; - nrf_modem_lib_tx&lt;br /&gt; region: sram_primary&lt;br /&gt; size: 0x2000&lt;br /&gt;nrf_modem_lib_sram:&lt;br /&gt; address: 0x20010000&lt;br /&gt; end_address: 0x200144e8&lt;br /&gt; orig_span: &amp;amp;id003&lt;br /&gt; - nrf_modem_lib_ctrl&lt;br /&gt; - nrf_modem_lib_tx&lt;br /&gt; - nrf_modem_lib_rx&lt;br /&gt; region: sram_primary&lt;br /&gt; size: 0x44e8&lt;br /&gt; span: *id003&lt;br /&gt;nrf_modem_lib_tx:&lt;br /&gt; address: 0x200104e8&lt;br /&gt; end_address: 0x200124e8&lt;br /&gt; inside:&lt;br /&gt; - sram_nonsecure&lt;br /&gt; placement:&lt;br /&gt; after:&lt;br /&gt; - nrf_modem_lib_ctrl&lt;br /&gt; region: sram_primary&lt;br /&gt; size: 0x2000&lt;br /&gt;nvs_storage:&lt;br /&gt; address: 0x7e000&lt;br /&gt; end_address: 0x84000&lt;br /&gt; placement:&lt;br /&gt; before:&lt;br /&gt; - settings_storage&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0x6000&lt;br /&gt;otp:&lt;br /&gt; address: 0xff8108&lt;br /&gt; end_address: 0xff83fc&lt;br /&gt; region: otp&lt;br /&gt; size: 0x2f4&lt;br /&gt;settings_storage:&lt;br /&gt; address: 0x84000&lt;br /&gt; end_address: 0x86000&lt;br /&gt; placement:&lt;br /&gt; before:&lt;br /&gt; - end&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0x2000&lt;br /&gt;spm:&lt;br /&gt; address: 0xc200&lt;br /&gt; end_address: 0x18200&lt;br /&gt; inside:&lt;br /&gt; - mcuboot_primary_app&lt;br /&gt; placement:&lt;br /&gt; before:&lt;br /&gt; - app&lt;br /&gt; region: flash_primary&lt;br /&gt; size: 0xc000&lt;br /&gt;spm_sram:&lt;br /&gt; address: 0x20000000&lt;br /&gt; end_address: 0x20010000&lt;br /&gt; inside:&lt;br /&gt; - sram_secure&lt;br /&gt; placement:&lt;br /&gt; after:&lt;br /&gt; - start&lt;br /&gt; region: sram_primary&lt;br /&gt; size: 0x10000&lt;br /&gt;sram_nonsecure:&lt;br /&gt; address: 0x20010000&lt;br /&gt; end_address: 0x20040000&lt;br /&gt; orig_span: &amp;amp;id004&lt;br /&gt; - sram_primary&lt;br /&gt; - nrf_modem_lib_ctrl&lt;br /&gt; - nrf_modem_lib_tx&lt;br /&gt; - nrf_modem_lib_rx&lt;br /&gt; region: sram_primary&lt;br /&gt; size: 0x30000&lt;br /&gt; span: *id004&lt;br /&gt;sram_primary:&lt;br /&gt; address: 0x200144e8&lt;br /&gt; end_address: 0x20040000&lt;br /&gt; region: sram_primary&lt;br /&gt; size: 0x2bb18&lt;br /&gt;sram_secure:&lt;br /&gt; address: 0x20000000&lt;br /&gt; end_address: 0x20010000&lt;br /&gt; orig_span: &amp;amp;id005&lt;br /&gt; - spm_sram&lt;br /&gt; region: sram_primary&lt;br /&gt; size: 0x10000&lt;br /&gt; span: *id005&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;from 1.2.0&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;app:&lt;br /&gt; address: 0x18200&lt;br /&gt; size: 0x6de00&lt;br /&gt;mcuboot:&lt;br /&gt; address: 0x0&lt;br /&gt; placement:&lt;br /&gt; before:&lt;br /&gt; - mcuboot_primary&lt;br /&gt; size: 0xc000&lt;br /&gt;mcuboot_pad:&lt;br /&gt; address: 0xc000&lt;br /&gt; placement:&lt;br /&gt; align:&lt;br /&gt; start: 0x1000&lt;br /&gt; before:&lt;br /&gt; - mcuboot_primary_app&lt;br /&gt; size: 0x200&lt;br /&gt;mcuboot_primary:&lt;br /&gt; address: 0xc000&lt;br /&gt; orig_span: &amp;amp;id001&lt;br /&gt; - spm&lt;br /&gt; - app&lt;br /&gt; - mcuboot_pad&lt;br /&gt; sharers: 0x1&lt;br /&gt; size: 0x7a000&lt;br /&gt; span: *id001&lt;br /&gt;mcuboot_primary_app:&lt;br /&gt; address: 0xc200&lt;br /&gt; orig_span: &amp;amp;id002&lt;br /&gt; - app&lt;br /&gt; - spm&lt;br /&gt; size: 0x79e00&lt;br /&gt; span: *id002&lt;br /&gt;mcuboot_secondary:&lt;br /&gt; address: 0x86000&lt;br /&gt; placement:&lt;br /&gt; after:&lt;br /&gt; - mcuboot_primary&lt;br /&gt; align:&lt;br /&gt; start: 0x1000&lt;br /&gt; share_size:&lt;br /&gt; - mcuboot_primary&lt;br /&gt; size: 0x7a000&lt;br /&gt;spm:&lt;br /&gt; address: 0xc200&lt;br /&gt; inside:&lt;br /&gt; - mcuboot_primary_app&lt;br /&gt; placement:&lt;br /&gt; before:&lt;br /&gt; - app&lt;br /&gt; size: 0xc000&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: Ncs1.2.0 cannot be upgraded to ncs1.6.0</title><link>https://devzone.nordicsemi.com/thread/327726?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 08:23:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07768193-8962-459f-b054-9bf038cf5f3c</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;You should copy &amp;lt;your 1.2.0 build directory&amp;gt;/partitions.yml (sorry for writing the wrong name previously) to &amp;lt;your 1.6.0 project directory&amp;gt; (where you have your CMakeLists.txt and prj.conf files), and rename it to pm_static.yml.&lt;/p&gt;
&lt;p&gt;You do not need to add anything to your CMakeLists.txt file if you rename it to pm_static.yml.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ncs1.2.0 cannot be upgraded to ncs1.6.0</title><link>https://devzone.nordicsemi.com/thread/327690?ContentTypeID=1</link><pubDate>Thu, 02 Sep 2021 05:39:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85b3f826-38ca-47f3-9b12-3893aa88f8ac</guid><dc:creator>pengfeilaw</dc:creator><description>&lt;p&gt;&lt;span class="transSent"&gt;I have done the tests. I copied pm.yml from nCS1.2.0\ bootloader\ McUboot \boot\zephyr\ to nCS1.6.0\ bootloader\ McUboot \boot\zephyr\ and renamed it pm_static.yml,&lt;/span&gt;&lt;span class="transSent"&gt;In CmakeLists. TXT added&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="transSent"&gt;set(PM_STATIC_YML_FILE&lt;br /&gt; ${CMAKE_CURRENT_SOURCE_DIR}/configuration/${BOARD}/pm_static_${CMAKE_BUILD_TYPE}.yml&lt;br /&gt; )&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="transSent"&gt;&lt;span&gt;Unfortunately, it doesn&amp;#39;t work.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="transSent"&gt;&lt;span&gt;It still says: &amp;quot;Image in the secondary slot is not valid!&amp;quot; ,then &amp;quot;&amp;nbsp;Jumping to the first image slot &amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Did I do something wrong?&lt;/p&gt;
&lt;p&gt;&lt;span class="transSent"&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Ncs1.2.0 cannot be upgraded to ncs1.6.0</title><link>https://devzone.nordicsemi.com/thread/327594?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 11:55:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2ca108f0-a675-4744-bf3b-2ff978a8efb5</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This is probably because the new version has a different flash partitoning scheme than the old version.&lt;/p&gt;
&lt;p&gt;In, NCS, the partitioning scheme is decided dynamically for each build by the Partition Manager.&lt;/p&gt;
&lt;p&gt;in the build folder for your old version, there should be a pm.yml file.&lt;/p&gt;
&lt;p&gt;If you copy it to your new project folder, and rename it to pm_static.yml, it should apply the old flash partitioning scheme to your new project.&lt;/p&gt;
&lt;p&gt;You can read more in the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.0/nrf/scripts/partition_manager/partition_manager.html#static-configuration"&gt;Partition Manager documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>