<?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>nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87021/nrf53-bt-and-mcuboot-single_application_slot-cannot-be-combined</link><description>Combining BT in the main application, and SINGLE_APPLICATION_SLOT on an nRF53 build will cause the ` hci_rpmsg` build to fail with error: 
 
 
 Reproduced easily like this: 
 * Configure any main application (e.g. hello_world) and set CONFIG_BOOTLOADER_MCUBOOT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Mar 2023 10:07:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87021/nrf53-bt-and-mcuboot-single_application_slot-cannot-be-combined" /><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/415645?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 10:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5dc26fc-8059-4a96-91fe-fc643158ae44</guid><dc:creator>Hung Bui</dc:creator><description>[quote user="who9vy"]So, to use the DFU of the netcore, it would be advisable to have a second partition which is at least the size required for the netcore?[/quote]
&lt;p&gt;Yes correct. If you have further question, please create a new ticket.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/415615?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 08:20:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57992bf2-d21a-4310-b7d3-cd5cd54325ed</guid><dc:creator>who9vy</dc:creator><description>&lt;p&gt;Oh yes, that may be a problem.&lt;/p&gt;
&lt;p&gt;It should be somehow possible to change that behaviour dependent&amp;nbsp; on a available secondary partition.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In our case, we do not want to update the netcore, just have the hci_rpmsg example flashed and use it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So, to use the DFU of the netcore, it would be advisable to have a second partition which is at least the size required for the netcore?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/415115?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2023 10:12:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b413535-488d-4c70-bc49-3fd3c7f5ff2d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for your information.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="who9vy"]The net core image was larger than the secondary partition, but what has the net core to do with the flash of the app core?[/quote]
&lt;p&gt;As far as I know the way we do DFU update for the netcore is that unless you have external flash, we will receive the image of the netcore to the secondary partition of the app core. After that we will copy the image to RAM chunk by chunk then&amp;nbsp;copy the chunk from RAM to the netcore.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/415006?ContentTypeID=1</link><pubDate>Mon, 13 Mar 2023 18:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf893b72-02d7-411a-84d2-7ea68094f6af</guid><dc:creator>who9vy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;First of all, we found a solution! (Edit: At least to our problem, netcore is not required to be updatable!)&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We faced the exact same problem. And I think that it is a bug in the partition manager in the partition_manager.cmake file.&lt;/p&gt;
&lt;p&gt;We had the same problem as we reduced the size of the secondary mcuboot partition (2nd slot). We tried to reduce it to a minimum of 0x4000 and then then we got a size problem. The net core image was larger than the secondary partition, but what has the net core to do with the flash of the app core? Nothing!&lt;/p&gt;
&lt;p&gt;The problem is, that the slot-size of the net core is determined by PM_MCUBOOT_SECONDARY_..._SIZE. For the hci_rpmsg there is a &lt;span&gt;pm_CPUNET.config file in the build folder. There, the partition was defined as&amp;nbsp;PM_APP_SIZE.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Here is a patch to fix this.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;diff --git a/cmake/partition_manager.cmake b/cmake/partition_manager.cmake
index cb64b739c..01684d3d5 100644
--- a/cmake/partition_manager.cmake
+++ b/cmake/partition_manager.cmake
@@ -555,7 +555,7 @@ to the external flash&amp;quot;)
       set_property(
         TARGET partition_manager
         PROPERTY net_app_slot_size
-        ${PM_MCUBOOT_SECONDARY${sec_slot_idx}_SIZE}
+        ${PM_APP_SIZE} 
         )
     endif()
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is the fix for version 1.8.0. Our project is currently on this state but I think a similar patch can be applied to newer versions of NCS.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/400971?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2022 03:36:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfda0f85-0447-4983-8e6e-c003d596cddc</guid><dc:creator>Victor Lee</dc:creator><description>&lt;p&gt;Hi wangrj,&lt;/p&gt;
&lt;p&gt;do you know how to use mcuboot and single slot upgrade appcore?&lt;/p&gt;
&lt;p&gt;recently, I need solve this problem, could you give me some notice?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/377304?ContentTypeID=1</link><pubDate>Mon, 18 Jul 2022 02:52:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23f53860-b227-4cec-896e-c306408405c2</guid><dc:creator>wangrj</dc:creator><description>&lt;p&gt;hi&amp;nbsp;&amp;nbsp;maximevince&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;did you solved this problem by&amp;nbsp; use&amp;nbsp;CONFIG_SINGLE_APPLICATION_SLOT=y&amp;nbsp; rather than modify&amp;nbsp;pm_static&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i understand your mean,&amp;nbsp; you want to use mcuboot and single slot upgrade appcore&amp;nbsp; and&amp;nbsp; also want to use netcore to run some bluetooth code , right?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;what you ncs SDK version ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/364014?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 15:16:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6620489-f279-4490-9fb8-f794920e00b1</guid><dc:creator>maximevince</dc:creator><description>&lt;p&gt;Thanks, I&amp;#39;ll try&amp;nbsp;the pm_static way.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My board doesn&amp;#39;t have external flash, so that&amp;#39;s not an option.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/364005?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 14:55:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abb2fc69-f7bd-4e81-ae8a-dba60a3061ba</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It&amp;#39;s possible to change the partitions layout. You can simply&amp;nbsp;edit the auto generated&amp;nbsp;partitions.yml to make&amp;nbsp;mcuboot_primary bigger and mcuboot_secondary smaller. After that you save the file as pm_static.yml and place it in the root folder where the prj.conf is.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But in your case I would suggest to use external flash as secondary slot. This way you can still do BLE DFU.&amp;nbsp;I have made an example for that &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/84025/changes-in-bootloader--saving-image-in-external-flash-and-transferring-in-internal-via-bootloader/352191#352191"&gt;here.&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/364002?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 14:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0aa67b6b-1b26-4d71-8183-9f56dd0e87c4</guid><dc:creator>maximevince</dc:creator><description>&lt;p&gt;So, is there a way to achieve this, without specifying&amp;nbsp;&lt;strong&gt;CONFIG_SINGLE_APPLICATION_SLOT&lt;/strong&gt;&lt;strong&gt; ?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;AFAIK, once I enable&amp;nbsp;&lt;strong&gt;CONFIG_BOOTLOADER_MCUBOOT&lt;/strong&gt;&lt;strong&gt;,&amp;nbsp;&lt;/strong&gt;the Nordic Partition Manager will configure dual slots, right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/364001?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 14:44:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46efdc6f-a14e-4d45-ae47-4ea653a01310</guid><dc:creator>maximevince</dc:creator><description>&lt;p&gt;Okay,&lt;/p&gt;
&lt;p&gt;I actually &lt;strong&gt;want&lt;/strong&gt; to have&amp;nbsp;&lt;strong&gt;CONFIG_SINGLE_APPLICATION_SLOT,&lt;/strong&gt;&amp;nbsp;so that I have the bigger single partition, for maximum application size, because my application is really big. (I&amp;#39;d like to use the roughly twice bigger slot size, versus what a dual-slot setup would give me)&lt;/p&gt;
&lt;p&gt;* I understand and accept that I cannot do BLE FOTA anymore. But I still want to be able to use normal BLE operations in my application (thus the CONFIG_BT=y).&lt;/p&gt;
&lt;p&gt;* I want to do DFU only through MCUboot, using USB-DFU/serial recovery (never through the application!)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/363996?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 14:39:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b959e296-3fda-4857-8271-0c35b779373e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Maxime,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I still don&amp;#39;t really get you, why you need to add&amp;nbsp;&lt;strong&gt;CONFIG_SINGLE_APPLICATION_SLOT ?&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;Even though it&amp;#39;s available in MCUBoot it&amp;#39;s not supported in&amp;nbsp;our current nRF Connect SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;You &lt;strong&gt;don&amp;#39;t&lt;/strong&gt; need to add&amp;nbsp;&lt;strong&gt;CONFIG_SINGLE_APPLICATION_SLOT, &lt;/strong&gt;if you are planning to do recovery mode (which is single bank DFU).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/363995?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 14:36:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35ef11b6-dbcb-4eee-852f-b875304e942e</guid><dc:creator>maximevince</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply. Yes I tested this, can you please re-read my original post?&lt;/p&gt;
&lt;p&gt;Have you tried?&amp;nbsp; Here is&amp;nbsp;exactly how to reproduce the issue:&lt;/p&gt;
&lt;p&gt;*&amp;nbsp;Configure&amp;nbsp;any main application (e.g. hello_world)&amp;nbsp;and set&amp;nbsp;&lt;strong&gt;CONFIG_BOOTLOADER_MCUBOOT=y&lt;/strong&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;and&amp;nbsp;&lt;strong&gt;CONFIG_BT=y&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;* Configure the mcuboot bootloader (through child_image/mcuboot.conf) with:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;CONFIG_SINGLE_APPLICATION_SLOT=y &lt;/strong&gt;(+ any other options you want, like&amp;nbsp;CONFIG_BOOT_SERIAL_UART=y or &lt;span&gt;CONFIG_BOOT_SERIAL_DETECT_PIN etc...&lt;/span&gt;)&lt;/p&gt;
&lt;p&gt;Compile using:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;west build --board=nrf5340dk_nrf5340_cpuappns -p always&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;Can I ask you please to run these commands on the the latest nRF SDK, and you will run into the issue I first reported. &lt;/span&gt;(i.e. &lt;strong&gt;hci_rpmsg&lt;/strong&gt; build fails)&lt;/p&gt;
&lt;p&gt;I do not *expect* an issue, but there still is one...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/363974?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 13:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:05154507-08a2-425a-ba0f-a5fe3f377a6a</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Maxime,&amp;nbsp;&lt;br /&gt;Could you please explain why &amp;quot;this is not supported on nRF53&amp;quot; ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I don&amp;#39;t see any reason this wouldn&amp;#39;t work on nRF53.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you added:&lt;/p&gt;
&lt;p&gt;CONFIG_MCUBOOT_SERIAL=y&lt;br /&gt;CONFIG_BOOT_SERIAL_UART=y&lt;br /&gt;CONFIG_UART_CONSOLE=n&lt;/p&gt;
&lt;p&gt;Into MCUBoot configuration ?&amp;nbsp; (and the configuration inside child_image\mcuboot.conf )&lt;/p&gt;
&lt;p&gt;Single slot is used automatically when doing recovery mode, you don&amp;#39;t need to add&amp;nbsp;&lt;span&gt;SINGLE_APPLICATION_SLOT into the application.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/363965?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 13:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce048130-f155-4090-a5d4-9fc96edaaebb</guid><dc:creator>maximevince</dc:creator><description>&lt;p&gt;Thanks, I know how MCUboot works.&lt;/p&gt;
&lt;p&gt;I *want* to use the serial recovery mode (actually USB DFU, completely embedded inside of MCUboot),&lt;br /&gt;NOT the firmware upgrade using the application.&lt;/p&gt;
&lt;p&gt;In my example there is NO firmware upgrade related code in the application! (No mcumgr, no dual slots needed)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;gt; This feature will do DFU update with single bank mode&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This is exactly what I want, and the issue I am trying to raise here, is that this is not supported on nRF53, whenever your main application is using BLE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Just try to compile your own example for nRF53.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Please re-read my original post, and try to understand what I am reporting here.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/363846?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 10:21:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7686f0e4-85b8-4755-8f13-5572dc610d4f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Maxime,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s regardless if you are planning to do FOTA or Serial DFU, as long as it&amp;#39;s the application handle the DFU process, then it has to be dual bank update.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;The bootloader in NCS SDK is a little bit different from the bootloader in nRF5 SDK. That the receiving of new image is done via the application, not via the bootloader (MCUBoot). The MCUBoot main job is only to verify, test and swap images.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;However, there is a &amp;quot;recovery&amp;quot; mode in MCUBoot that you can add the code of receiving new image into MCUBoot. This feature will do DFU update with single bank mode. This mean the original application will be replaced directly with the new image received by the MCUBoot. Please have a look at the&amp;nbsp;serial_recovery.conf in&amp;nbsp;\bootloader\mcuboot\boot\zephyr.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To enter recovery mode a button need to be pressed when booting up, you need to define&amp;nbsp;CONFIG_BOOT_SERIAL_DETECT_PIN . I would suggest to have a look at&amp;nbsp;nrf52840dongle_nrf52840.conf file . We have&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/zephyr/boards/arm/nrf52840_pca10059/doc/index.html#option-2-using-mcuboot-in-serial-recovery-mode"&gt; recovery mode supported&lt;/a&gt;&amp;nbsp;with the dongle.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/363814?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 09:04:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af300565-24a4-4d77-be6a-b7daf7d61866</guid><dc:creator>maximevince</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://devzone.nordicsemi.com/members/hungbui"&gt;Hung Bui&lt;/a&gt;,&lt;br /&gt;&lt;br /&gt;Thanks for the reply, however that ticket is not really relevant.&lt;br /&gt;I am not looking for Bluetooth FOTA&amp;nbsp;using MCUboot, I get that it&amp;#39;s not possible to do FOTA from the application, without a second slot to store the new application.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;My use case is a SINGLE_SLOT, with MCUboot allowing to upgrade the application in that single slot, e.g. using USB-DFU or serial recovery.&lt;/p&gt;
&lt;p&gt;The application itself should still be able to use Bluetooth, right? It has nothing to do with the bootloader being used...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;As a counter-example, please consider the following:&lt;/p&gt;
&lt;p&gt;* Configure&amp;nbsp;any main application (e.g. hello_world)&amp;nbsp;and set&amp;nbsp;&lt;strong&gt;CONFIG_BOOTLOADER_MCUBOOT=y&lt;/strong&gt;&lt;span&gt;&amp;nbsp;(but&amp;nbsp;&lt;/span&gt;&lt;strong&gt;CONFIG_BT=n&lt;/strong&gt;)&lt;/p&gt;
&lt;p&gt;* Configure the mcuboot bootloader (through child_image/mcuboot.conf) with:&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;strong&gt;CONFIG_SINGLE_APPLICATION_SLOT=y&lt;/strong&gt; and &lt;strong&gt;CONFIG_BOOT_USB_DFU_WAIT=y &lt;/strong&gt;and&lt;strong&gt;&amp;nbsp;CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10000)&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This will compile and work fine! You can now upgrade the single slot application over USB-DFU.&lt;/p&gt;
&lt;p&gt;This is exactly what I want, but it fails to compile as soon as I add `&lt;strong&gt;CONFIG_BT=y&lt;/strong&gt;` to the main application; which should be unrelated!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF53: BT and MCUboot SINGLE_APPLICATION_SLOT cannot be combined</title><link>https://devzone.nordicsemi.com/thread/363621?ContentTypeID=1</link><pubDate>Tue, 19 Apr 2022 13:32:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:601cd051-3d54-4628-a2a3-109d125c3e7e</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Maxime,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not supported. Please have a look at this case:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/74661/is-there-any-feasibility-for-use-bluetooth-dfu-with-single_application_slot"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/74661/is-there-any-feasibility-for-use-bluetooth-dfu-with-single_application_slot&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>