<?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>DFU BLE bootloader doesn&amp;#39;t seem to work</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102825/dfu-ble-bootloader-doesn-t-seem-to-work</link><description>I am trying to implement the smp_svr example as described here: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/subsys/mgmt/mcumgr/smp_svr/README.html . 
 I have successfully built and flashed the MCU bootloader. (to a nRF52840dk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 16 Aug 2023 17:45:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102825/dfu-ble-bootloader-doesn-t-seem-to-work" /><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441703?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 17:45:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c027e90d-c4f7-4f63-95b0-b7550cc8cfbf</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Thank you ever so much for helping me with this problem; I would never have gotten through it without your kind help,&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441681?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 14:49:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a738b878-754c-4edf-8847-824b7e2739d3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jerry,&amp;nbsp;&lt;br /&gt;Yes SMP_SVR is integrated into your application automatically when you enable those configuration you find in the smp_svr (both prj.conf and the overlay_bt.conf)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441655?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 13:53:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6acf05eb-d60d-4a3f-9c99-47c66d2b6a15</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I apologize, it is working: I must have had too much coffee and not enough sleep.&lt;/p&gt;
&lt;p&gt;I have just one other question if I may abuse you further:&lt;/p&gt;
&lt;p&gt;My understanding of how this works is as follows:&lt;/p&gt;
&lt;p&gt;Any application that I want to update from time to time over BLE will necessarily have to include the equivalent of the smp_svr code; is that correct?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441635?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 13:12:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e1345c4-051d-45d3-a5b2-80d46cd68746</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi again,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Have you built the blinky with MCUBoot added ? The image should be configured so that it can run on slot 0&lt;/p&gt;
&lt;p&gt;My suggestion is to do an update with the same smp_svr image, just change something like advertising name, or blink another LED but still the same smp_svr application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441620?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 12:56:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:017bec25-da63-4c65-878b-26fcc26e8cb8</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Ok this is what I did:&lt;/p&gt;
&lt;p&gt;(.venv) jerry@Ubuntu:~/zephyrproject$ sudo ~/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name=&amp;#39;Zephyr&amp;#39; image upload ~/MyApps/blinky/build_dk/zephyr/app_update.bin&lt;br /&gt;&amp;nbsp;23.03 KiB / 23.03 KiB [====================================================================================================================] 100.00% 10.43 KiB/s 2s&lt;br /&gt;Done&lt;br /&gt;(.venv) jerry@Ubuntu:~/zephyrproject$ sudo ~/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name=&amp;#39;Zephyr&amp;#39; image list&lt;br /&gt;Images:&lt;br /&gt;&amp;nbsp;image=0 slot=0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; version: 0.0.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bootable: true&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags: active confirmed&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hash: ea9c889031e33c8c9c500e00e8ed94454f536368c499c186688f323a48f973b4&lt;br /&gt;&amp;nbsp;image=0 slot=1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; version: 0.0.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bootable: true&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags: &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hash: 582ef2530f15968c39513443f312418a0179dac2050b1146bd727467df042564&lt;br /&gt;Split status: N/A (0)&lt;br /&gt;(.venv) jerry@Ubuntu:~/zephyrproject$ sudo ~/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name=&amp;#39;Zephyr&amp;#39; image test 582ef2530f15968c39513443f312418a0179dac2050b1146bd727467df042564&amp;nbsp; + a reset&lt;br /&gt;Images:&lt;br /&gt;&amp;nbsp;image=0 slot=0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; version: 0.0.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bootable: true&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags: active confirmed&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hash: ea9c889031e33c8c9c500e00e8ed94454f536368c499c186688f323a48f973b4&lt;br /&gt;&amp;nbsp;image=0 slot=1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; version: 0.0.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bootable: true&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags: pending&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hash: 582ef2530f15968c39513443f312418a0179dac2050b1146bd727467df042564&lt;br /&gt;Split status: N/A (0)&lt;br /&gt;(.venv) jerry@Ubuntu:~/zephyrproject$ sudo ~/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name=&amp;#39;Zephyr&amp;#39; image confirm 582ef2530f15968c39513443f312418a0179dac2050b1146bd727467df042564&amp;nbsp; + a reset&lt;br /&gt;Images:&lt;br /&gt;&amp;nbsp;image=0 slot=0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; version: 0.0.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bootable: true&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags: active confirmed&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hash: ea9c889031e33c8c9c500e00e8ed94454f536368c499c186688f323a48f973b4&lt;br /&gt;&amp;nbsp;image=0 slot=1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; version: 0.0.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bootable: true&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags: pending&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hash: 582ef2530f15968c39513443f312418a0179dac2050b1146bd727467df042564&lt;br /&gt;Split status: N/A (0)&lt;/p&gt;
&lt;p&gt;My blinky application does not run.&lt;/p&gt;
&lt;p&gt;I have reset the device with vscode: it doesn&amp;#39;t run.&lt;/p&gt;
&lt;p&gt;I have reset the device with the reset button: it does not run.&lt;/p&gt;
&lt;p&gt;I have removed power and applied power: it does not run.&lt;/p&gt;
&lt;p&gt;I am sure I have switched images because my smp_svr is no longer manifest.&lt;/p&gt;
&lt;p&gt;Maybe I have not properly prepared my blinky application?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441595?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 12:10:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7067e78-ea4d-4a26-929b-b38c5b98a2d5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jerry,&lt;/p&gt;
&lt;p&gt;When in doubt , just try both ;)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Just kidding, you should use the one at slot 1 :&amp;nbsp;&lt;span&gt;582ef2530f15968c39513443f312418a0179dac2050b1146bd727467df042564&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The original image will always at slot 0. It&amp;#39;s the image that will run at boot (after MCUBoot). When you do test, image at slot 1 will be temporarily copied to slot 0 and revert back after rest.&lt;/p&gt;
&lt;p&gt;When you do confirm the image at slot 1 will overwrite the one at slot 0 and run at next boot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441582?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 11:34:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32c8a990-96c1-45c9-8a38-e6983338fb58</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;You will have to forgive me; I have read the documentation a 1000 times; I don&amp;#39;t understand it; it if full of buzz words which are not defined and I can&amp;#39;t figure out what it is talking about.&lt;/p&gt;
&lt;p&gt;This is what I see:&lt;/p&gt;
&lt;p&gt;Images:&lt;br /&gt;&amp;nbsp;image=0 slot=0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; version: 0.0.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bootable: true&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags: active confirmed&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hash: ea9c889031e33c8c9c500e00e8ed94454f536368c499c186688f323a48f973b4&lt;br /&gt;&amp;nbsp;image=0 slot=1&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; version: 0.0.0&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; bootable: true&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; flags: pending&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; hash: 582ef2530f15968c39513443f312418a0179dac2050b1146bd727467df042564&lt;br /&gt;Split status: N/A (0)&lt;/p&gt;
&lt;p&gt;As you can see I have two images. I presume one is my smp_svr application and one is my binky application; I don&amp;#39;t know which is which.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know how this works; I have uploaded my blinky image, apparently, successfully.&amp;nbsp; From your comments above I need to do two additional steps in order to get my blinky application running.&amp;nbsp; In order to do that I need to specify the &amp;lt;hash&amp;gt;, of which I have two; which should I use?&lt;/p&gt;
&lt;p&gt;Let us suppose that I have my blinky application up and running and I want to update it; how do I do that if the smp_svr is no longer active?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441572?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 11:05:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d996e70-098a-4d4b-81d8-a2f601d7cda5</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jerry,&amp;nbsp;&lt;br /&gt;Please read the documentation. &lt;br /&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://docs.zephyrproject.org/latest/services/device_mgmt/mcumgr.html"&gt;https://docs.zephyrproject.org/latest/services/device_mgmt/mcumgr.html&lt;/a&gt;&lt;br /&gt;You will see the hash when you call&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;mcumgr&lt;/span&gt; &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;connection&lt;/span&gt;&lt;span&gt;-&lt;/span&gt;&lt;span&gt;options&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt; &lt;span&gt;image&lt;/span&gt; &lt;span&gt;list&lt;/span&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441571?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 11:03:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92d2ac5e-fa0f-44c1-8760-d9c05aa2c718</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;What is the &amp;lt;hash&amp;gt; item and how do I obtain it?&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441525?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 08:08:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69700140-fb35-48bf-8ffe-3723926df6f2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jerry,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please try to do FOTA update with your tablet before you try with the mcumgr. You can use nRF Connect or nRF Device Manager to do update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For a FOTA process to complete you would need to either test or confirm the new image (confirm is done automatically in the app on the tablet)&lt;/p&gt;
&lt;p&gt;Please take a look at the documentation here:&amp;nbsp;&lt;a href="https://docs.zephyrproject.org/latest/services/device_mgmt/mcumgr.html"&gt;https://docs.zephyrproject.org/latest/services/device_mgmt/mcumgr.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;For test (only run new image once then revert back to original application) you need to do:&amp;nbsp;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;mcumgr&lt;/span&gt; &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;connection&lt;/span&gt;&lt;span&gt;-&lt;/span&gt;&lt;span&gt;options&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt; &lt;span&gt;image&lt;/span&gt; &lt;span&gt;test&lt;/span&gt; &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;hash&lt;/span&gt;&lt;span&gt;&amp;gt; &lt;br /&gt;&lt;/span&gt;&lt;br /&gt;+ a reset&lt;/pre&gt;
&lt;p&gt;&lt;span&gt;For confirm (permanently switch the imag) you need to call:&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;mcumgr&lt;/span&gt; &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;connection&lt;/span&gt;&lt;span&gt;-&lt;/span&gt;&lt;span&gt;options&lt;/span&gt;&lt;span&gt;&amp;gt;&lt;/span&gt; &lt;span&gt;image&lt;/span&gt; &lt;span&gt;confirm&lt;/span&gt; &lt;span&gt;&amp;lt;&lt;/span&gt;&lt;span&gt;hash&lt;/span&gt;&lt;span&gt;&amp;gt; &lt;br /&gt;&lt;br /&gt;&lt;/span&gt;+ a reset. &lt;/pre&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441492?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 04:13:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:361abe56-89d8-4291-b2dd-01c70d6c5851</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;Just a side note:&lt;/p&gt;
&lt;p&gt;I tried to build smp_svr with a board, nreff52840dongle_nrf52840, I get a build error:&lt;/p&gt;
&lt;p&gt;[74/140] Building C object modules/nrf/subsys/bluetooth/controller/CMakeFiles/..__nrf__subsys__bluetooth__controller.dir/hci_driver.c.obj&lt;br /&gt;ninja: build stopped: subcommand failed.&lt;br /&gt;FATAL ERROR: command exited with status 1: /home/jerry/ncs/toolchains/1f9b40e71a/usr/local/bin/cmake --build /home/jerry/MyApps/smp_svr/build_dongle&lt;/p&gt;
&lt;p&gt;There seems to be some kind of issue with dongles and bootloaders: do you know anything about it?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441489?ContentTypeID=1</link><pubDate>Wed, 16 Aug 2023 03:19:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cf45456-898e-4765-8cc2-7841f25e7939</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I have (I think) gotten the smp_svr sample working correctly. I have established a serial connection under vscode and it will interact with me.&amp;nbsp; However, I have modified both the blinky and hello_world sample applications to upload to the smp_svr via ble.&amp;nbsp; I get the following message: &amp;quot;[00:02:31.535,949] &amp;lt;inf&amp;gt; smp_bt_sample: Disconnected (reason 0x13)&amp;quot; from the smp_svr.&amp;nbsp; I suspect that I have not correctly configured the apps I am trying to upload.&lt;/p&gt;
&lt;p&gt;This is my prj.conf for blinky:&lt;/p&gt;
&lt;div style="background-color:#000000;color:#ffffff;font-family:&amp;#39;Droid Sans Mono&amp;#39;, &amp;#39;monospace&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_GPIO&lt;/span&gt;&lt;span style="color:#ffffff;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_BOOTLOADER_MCUBOOT&lt;/span&gt;&lt;span style="color:#ffffff;"&gt;=y &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_MCUBOOT_SIGNATURE_KEY_FILE&lt;/span&gt;&lt;span style="color:#ffffff;"&gt;=&lt;/span&gt;&lt;span style="color:#ce9178;"&gt;&amp;quot;&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This is the serial log file at reset&lt;/p&gt;
&lt;p&gt;uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***&lt;br /&gt;[00:00:00.006,927] &amp;lt;inf&amp;gt; bt_hci_core: Identity: C7:28:33:33:F4:D5 (random)&lt;br /&gt;[00:00:00.006,958] &amp;lt;inf&amp;gt; bt_hci_core: HCI: version 5.4 (0x0d) revision 0x1077, manufacturer 0x0059&lt;br /&gt;[00:00:00.006,988] &amp;lt;inf&amp;gt; bt_hci_core: LMP: version 5.4 (0x0d) subver 0x1077&lt;br /&gt;[00:00:00.007,904] &amp;lt;inf&amp;gt; smp_bt_sample: Advertising successfully started&lt;/p&gt;
&lt;p&gt;In a terminal, I entered my upload command:&lt;/p&gt;
&lt;p&gt;(.venv) jerry@Ubuntu:~/zephyrproject$ sudo ~/go/bin/mcumgr --conntype ble --connstring ctlr_name=hci0,peer_name=&amp;#39;Zephyr&amp;#39; image upload ~/MyApps/blinky/build_dk/zephyr/app_update.bin&lt;br /&gt;&amp;nbsp;23.03 KiB / 23.03 KiB [=====================================================================================================================] 100.00% 9.22 KiB/s 2s&lt;br /&gt;Done&lt;/p&gt;
&lt;p&gt;The serial log responded with:&lt;/p&gt;
&lt;p&gt;[00:00:00.007,965] &amp;lt;inf&amp;gt; smp_sample: build time: Aug 15 2023 05:04:51&lt;br /&gt;[00:01:52.927,215] &amp;lt;inf&amp;gt; smp_bt_sample: Connected&lt;br /&gt;[00:01:53.752,197] &amp;lt;inf&amp;gt; mcumgr_img_grp: Erased 0x6000 bytes of image slot&lt;br /&gt;[00:01:53.849,670] &amp;lt;inf&amp;gt; mcumgr_img_grp: Erased 0x1000 bytes of image slot trailer&lt;br /&gt;[00:01:55.670,562] &amp;lt;inf&amp;gt; smp_bt_sample: Disconnected (reason 0x13)&lt;br /&gt;[00:01:55.672,058] &amp;lt;inf&amp;gt; smp_bt_sample: Advertising successfully started&lt;/p&gt;
&lt;p&gt;The blinky application, apparently, was not started; (led0 not blinking).&lt;/p&gt;
&lt;p&gt;Do you have any ideas?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441358?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 11:32:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:947b0ba9-8d05-43a1-8688-e68cef3d4154</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jerry,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You should&amp;nbsp;use &lt;span&gt;app_update.bin. It&amp;#39;s the signed binary that you can use to do FOTA.&amp;nbsp;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can read more about different hex/bin files here:&amp;nbsp;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/config_and_build/multi_image.html"&gt;developer.nordicsemi.com/.../multi_image.html&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441349?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 11:04:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d03a69a-c896-40b4-80e3-2828abfdeb49</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;I am trying to upload my blinky sample to the smp_svr; I&amp;#39;m getting errors because the zephyr.bin file is unsigned,&amp;nbsp; Is there a way to sign it under vscode?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441333?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 10:11:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9a9d986-cddd-4fdd-a216-8d9817894a2f</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;I followed your excellent instructions and voila, I can see the advertisement on iPad!&lt;/p&gt;
&lt;p&gt;Thank you so much!&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441328?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 09:38:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeb217ed-a311-4f38-bb09-ecbdf1a98611</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jerry,&amp;nbsp;&lt;br /&gt;I attached here how i built the project with VS Code:&lt;br /&gt;First you create&amp;nbsp;new application based on smp_svr:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1692091992861v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;After that you create the configuration, and select the overlay_bt.conf as the Kconfig fragments, make sure you click OK after you select the file:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1692092026076v2.png" alt=" " /&gt;&lt;br /&gt;After the build, you should be able to find overlay_bt.conf in the project configuration:&amp;nbsp;&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1692092248616v3.png" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;I attached here the hex file that worked for me:&amp;nbsp;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4544.merged.hex"&gt;devzone.nordicsemi.com/.../4544.merged.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441314?ContentTypeID=1</link><pubDate>Tue, 15 Aug 2023 08:42:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77740ea0-8db6-442f-a808-622180e75644</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;I do not see the device at all on the mobile app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441181?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 13:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f035d1d-d1de-4f88-9f90-a51c8b4c0b9c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jerry,&amp;nbsp;&lt;br /&gt;Just want to double check, now do you see the smp_svr advertising ?&amp;nbsp;&lt;br /&gt;Can you do DFU update via tablet or PC ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441178?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 13:27:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86c6b6be-2997-4159-86e2-287ca917f504</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;A little update:&lt;/p&gt;
&lt;p&gt;I corrected the length parameter of:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:rgba(124, 166, 104, 1);"&gt;BT_DATA(BT_DATA_NAME_COMPLETE, &amp;quot;Zephyr_DFU&amp;quot;, 8),&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:rgba(124, 166, 104, 1);"&gt;it now reads&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:rgba(124, 166, 104, 1);"&gt;BT_DATA(BT_DATA_NAME_COMPLETE, &amp;quot;Zephyr_DFU&amp;quot;, 11),&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:rgba(124, 166, 104, 1);"&gt;I added a little code to blink led0; I am now sure the smp_svr application is up and running.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:rgba(124, 166, 104, 1);"&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:rgba(124, 166, 104, 1);"&gt;Jerry&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441146?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 12:19:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab3d2ea5-1a6f-47ed-88de-293447a26230</guid><dc:creator>Jerry Easley</dc:creator><description>&lt;p&gt;Hi Hung,&lt;/p&gt;
&lt;p&gt;My SDK is 2.4.1; toolchain is 2.4.0.&lt;/p&gt;
&lt;p&gt;This is the command I used to build thee smp_svr.&lt;/p&gt;
&lt;p&gt;(.venv) jerry@Ubuntu:~/zephyrproject$ west build \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -b nrf52840dk_nrf52840 \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; zephyr/samples/subsys/mgmt/mcumgr/smp_svr \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -- \&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -DEXTRA_CONF_FILE=overlay-bt.conf&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;:It sounds like you are assuming I&amp;#39;m building smp_svr under VSCODE; I am following the instructions, which use west command line tools to build mcuboot, and smp_svr in discrete steps.&amp;nbsp; I don&amp;#39;t understand how to do this under VSCODE; the documentation is enigmatic and confusing.&amp;nbsp; In addition, including the necessary prj.conf statements for mcuboot causes build errors.&amp;nbsp; If you know how to do it under VSCODE I would prefer to do it that way.&lt;/p&gt;
&lt;p&gt;I did use my iPad to check for the advertisement; The scanner did not display the device.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jerry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU BLE bootloader doesn't seem to work</title><link>https://devzone.nordicsemi.com/thread/441105?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 09:24:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0c97cac5-7483-4e25-a26a-a178602fd4b3</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jerry,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you please let me know which NCS SDK version you are using ? The implementation of smp_svr has been changed lately especially in NCS v2.3.0 and NCS v2.4.0&lt;/p&gt;
&lt;p&gt;When you build smp_svr, did you use the overlay-bt.conf in addition to the prj.conf ?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Please be aware that when you build smp_svr it will automatically build MCUBoot as the child image so you don&amp;#39;t have to flash anything else in addition.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;My suggestion is to use a phone to check if the device advertise or not after you flash. You then can use nRF Connect app on the phone to do an DFU update.&amp;nbsp;&lt;br /&gt;After you can verify that it works with a phone, then you can continue the test with mcumgr on PC.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>