<?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>Is there any feasibility for use bluetooth dfu with SINGLE_APPLICATION_SLOT?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74661/is-there-any-feasibility-for-use-bluetooth-dfu-with-single_application_slot</link><description>Hi everyone. 
 I&amp;#39;m developing a product with nRF5340 and zephyr os. But I found some problems about bluetooth dfu. 
 Because my application very big. So I can&amp;#39;t use defualt double slot bluetooth dfu. 
 Who you know how to config SINGLE_APPLICATION_SLOT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 09 May 2021 10:24:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74661/is-there-any-feasibility-for-use-bluetooth-dfu-with-single_application_slot" /><item><title>RE: Is there any feasibility for use bluetooth dfu with SINGLE_APPLICATION_SLOT?</title><link>https://devzone.nordicsemi.com/thread/308841?ContentTypeID=1</link><pubDate>Sun, 09 May 2021 10:24:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a91c293-3d51-44bc-9c5c-22c454ba493f</guid><dc:creator>wasan</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Thank you for you help. After trying for a long time I was successful in put the second slot(s1) on an external flash.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How to run my example&lt;/p&gt;
&lt;p&gt;step 1. I edit file pm.yml at $SDK_PATH/ncs/bootloader/mcuboot/boot/zephyr/pm.yml&lt;/p&gt;
&lt;p&gt;from&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;mcuboot_secondary:
  share_size: [mcuboot_primary]
  placement:
    align: {start: CONFIG_FPROTECT_BLOCK_SIZE}
    after: mcuboot_primary

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;to&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;mcuboot_secondary:
  region: external_flash
  size: CONFIG_PM_EXTERNAL_FLASH_SIZE
  address: 0x0
  device: MX25R64
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;step 2. unzip my example to $SDK_PATH/ncs/zephyr/sample/&lt;/p&gt;
&lt;p&gt;step 3. using cd command to $SDK_PATH/ncs/zephyr/sample/smp_svr_qspi_flash&lt;/p&gt;
&lt;p&gt;step 4. compile source code with&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf5340dk_nrf5340_cpuapp .
west flash&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;step 5. Edit some source code and build it again.&lt;/p&gt;
&lt;p&gt;step 6. Copy file app_update.bin to your mobile phone. Which the file is located at $$SDK_PATH/ncs/zephyr/sample/smp_svr_qspi_flash/build/zephyr/app_update.bin&lt;/p&gt;
&lt;p&gt;step 7. Update firmware with &amp;quot;nRF Connect Device Manager&amp;quot; mobile app.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/smp_5F00_svr_5F00_qspi_5F00_flash.zip"&gt;devzone.nordicsemi.com/.../smp_5F00_svr_5F00_qspi_5F00_flash.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is there any feasibility for use bluetooth dfu with SINGLE_APPLICATION_SLOT?</title><link>https://devzone.nordicsemi.com/thread/307891?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 11:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bef5888b-04bb-440f-92d0-2db307ddc34c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The MCUBoot does not have Bluetooth LE transport, so the way to do this is to do the transport in the application. And for that reason you need the second slot. An alternative then is to put the second slot (S1) on an external flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>