<?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.6.0 ota problem b0 or (immutable MCUboot)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/78357/ncs1-6-0-ota-problem-b0-or-immutable-mcuboot</link><description>Hello 
 I want to test ncs ota function. b0 module following this link . 
 ncs1.6.0 
 borad:nrf52840dk_nrf52840 
 projece: ncs/zephyr/samples/hello_world 
 1. b0 + spm test. 
 prj.conf 
 
 copy ncs/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/src/bluetooth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 17 Aug 2021 12:51:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/78357/ncs1-6-0-ota-problem-b0-or-immutable-mcuboot" /><item><title>RE: ncs1.6.0 ota problem b0 or (immutable MCUboot)</title><link>https://devzone.nordicsemi.com/thread/325311?ContentTypeID=1</link><pubDate>Tue, 17 Aug 2021 12:51:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca29e91f-9ea7-415f-9672-4cce9238612c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;For OTA updates you would have to implement something yourself as the Immutable bootloader does not support SMP updates. If you need that, it makes sense to use MCUBoot as the second stage bootloader (or only bootloader if you do not need secure boot). See &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_bootloaders.html"&gt;Bootloaders and Device Firmware Updates&lt;/a&gt;&amp;nbsp;for an overview.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs1.6.0 ota problem b0 or (immutable MCUboot)</title><link>https://devzone.nordicsemi.com/thread/324447?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 11:16:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0805fbd3-88e3-4a3c-882d-d8a0f4d673c1</guid><dc:creator>Август</dc:creator><description>&lt;p&gt;Thank you&lt;/p&gt;
&lt;p&gt;I will try to do this.&amp;nbsp;How to enter dfu mode?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs1.6.0 ota problem b0 or (immutable MCUboot)</title><link>https://devzone.nordicsemi.com/thread/324409?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 09:24:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b544129-d780-4922-a9d9-146a2b82cfe8</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;If you want to do this, then you can refer to the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/nrf_desktop/doc/dfu.html"&gt;nRF Desktop&lt;/a&gt; projects that use B0 only to see how that is done. You need to adjust your prj.conf as well as your main.c. It is also covered briefly in &lt;a href="https://jimmywongiot.com/2020/06/08/step-by-step-to-compile-nordic-nrf5-hids-keyboard-mouse-example-on-nrf-connect-sdk/"&gt;this tutorial&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Specifically, for B0 you need the following configuration (adapt key path):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SECURE_BOOT=y
CONFIG_BUILD_S1_VARIANT=y
CONFIG_FW_INFO=y
CONFIG_FW_INFO_FIRMWARE_VERSION=1
CONFIG_SB_SIGNING_KEY_FILE=&amp;quot;path/to/key.pem&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, you would also need to remove the&amp;nbsp;mcumgr related code and add something similar to what is in&amp;nbsp;nrf\applications\nrf_desktop\src\modules\dfu.c (which is added to the nRF Desktop projects by the Kconfig CONFIG_DESKTOP_CONFIG_CHANNEL_DFU_ENABLE configuration to handle the DFU process.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs1.6.0 ota problem b0 or (immutable MCUboot)</title><link>https://devzone.nordicsemi.com/thread/324342?ContentTypeID=1</link><pubDate>Wed, 11 Aug 2021 03:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1b7e039-ed7e-49fa-9616-ec099801b7c8</guid><dc:creator>Август</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I want test b0 + app and update app.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1628652262895v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;mcuboot + app I have solved this problem.&lt;/p&gt;
&lt;p&gt;I have used&amp;nbsp;&lt;span&gt;smp_bt_register&lt;/span&gt;&lt;span&gt;(); twice.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs1.6.0 ota problem b0 or (immutable MCUboot)</title><link>https://devzone.nordicsemi.com/thread/324096?ContentTypeID=1</link><pubDate>Tue, 10 Aug 2021 00:57:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1933697-8910-40af-83d0-f19c172f7ff8</guid><dc:creator>Август</dc:creator><description>&lt;p&gt;Hello，&lt;/p&gt;
&lt;p&gt;Thank you. I have solved problem 2. I will upload my project 1.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3107.hello_5F00_world.zip"&gt;devzone.nordicsemi.com/.../3107.hello_5F00_world.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ncs1.6.0 ota problem b0 or (immutable MCUboot)</title><link>https://devzone.nordicsemi.com/thread/324013?ContentTypeID=1</link><pubDate>Mon, 09 Aug 2021 12:48:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2dd75966-69f0-48db-a2cf-ac52fa984ed2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I do not immediately spot the problem. Can you share the log from the nRF side? Also, can yo upload your project (so not just description of changes, but all .c files, prj.conf, CMakeLists.txt and any other files within your application folder?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>