<?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>MCUBOOT configuration and usage</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79301/mcuboot-configuration-and-usage</link><description>Dear Nordic, 
 Could you please suggest the hands-on guide to implement MCUboot functionality in our project for 52840? We&amp;#39;ve spent around two complete days without any positive outcome. 
 In few words, the task is really simple: 
 1. Add bootloader functionality</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 10 Sep 2021 14:19:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79301/mcuboot-configuration-and-usage" /><item><title>RE: MCUBOOT configuration and usage</title><link>https://devzone.nordicsemi.com/thread/329065?ContentTypeID=1</link><pubDate>Fri, 10 Sep 2021 14:19:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:588ecc3a-7cf6-4aed-9b0e-981d489a064f</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]1. If there any complete guide how to setup MCUboot properly?[/quote]
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/software/posts/device-firmware-update-dfu-with-mcuboot-bootloader"&gt;This blog post&lt;/a&gt; is the closest thing I could find. You can also look at &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf52.html#fota-upgrades"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf52.html#fota-upgrades&lt;/a&gt; or try running &lt;a href="https://github.com/nrfconnect/sdk-zephyr/tree/master/samples/subsys/mgmt/mcumgr/smp_svr"&gt;this sample&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]2. Why there are at least two places to define flash regions (config files and board *.dts)? Which one we should consider?[/quote]
&lt;p&gt;You shouldn&amp;#39;t go with either of them. This is handled by the &lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.6.1/nrf/scripts/partition_manager/partition_manager.html"&gt;partition manager&lt;/a&gt;, and is not something you need to worry about.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]3. If we enable RTT console output in MCUboot, the any RTT output doesn&amp;#39;t work when running to main application, why?&amp;nbsp;[/quote]
&lt;p&gt;&amp;nbsp;What configs did you set when enabling RTT, and what else did you change?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]4. We&amp;#39;re going to implement one application slot because of app size. What is the recommended approach: to implement BLE DFU in MCUboot or use external flash (where main app downloads the image at QSPI NOR flash, and then calls MCUboot API to update it)?[/quote]
&lt;p&gt;&amp;nbsp;You should go with external flash and have the secondary slot on the external flash. BLE DFU will not work in that case.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]5. When trying to start a USB DFU config we just see an unknown device &amp;#39;MCUBOOT&amp;#39; in Win10 Device Manager and nothing more. Hence, nRF Programmer tool doesn&amp;#39;t see the device and can&amp;#39;t access it. What we&amp;#39;re doing wrong here? BTW, nRF Dongle doesn&amp;#39;t create DFU port, just USB CDC ACM - it seems Programmer accesses it.[/quote]
&lt;p&gt;&amp;nbsp;Is the issue reproducible on other platforms/OSes as well? Win10 should have CDC drivers preinstalled, so this would normally be a Win7 issue.&lt;/p&gt;
&lt;p&gt;Also, I would recommend you create a separate ticket for this question.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]6. Should CONFIG_IS_BOOTLOADER option be checked for MCUboot configuration?[/quote]
&lt;p&gt;&amp;nbsp;Not as far as I know.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]7. How to enable BLE DFU service (in bootloader or main app)?[/quote]
&lt;p&gt;&amp;nbsp;You should refer to &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf52.html#fota-upgrades"&gt;this part of the documenation&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>