<?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>[McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104511/mcumgr-error-not_supported-during-dfu-by-ble-with-mcuboot</link><description>Hi 
 I am currently to add DFU function on my custom device. 
 So I had McuBoot, and i would like to make the DFU by BLE. 
 I follow this link in order to do that https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Oct 2023 07:52:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104511/mcumgr-error-not_supported-during-dfu-by-ble-with-mcuboot" /><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/452929?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2023 07:52:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e176d53-7d1d-42ae-b3d9-15ae36577800</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi AHaug,&lt;/p&gt;
&lt;p&gt;Yes, i achieve my goal, thanks again for the supports,&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Julien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/452161?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 07:53:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dca1718-a839-42dc-bb99-f24fd62e4b31</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Julien&lt;/p&gt;
&lt;p&gt;Apologies for the long response time&lt;/p&gt;
&lt;p&gt;Just checking in here regarding the status on your project and this case. Did you achieve your goal with the new pm design you mentioned? Is there anything else I can do for you (in this case)? The PM you posted&amp;nbsp;&lt;em&gt;looks&lt;/em&gt; fine to me, but I haven&amp;#39;t ran any tests to verify&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/450299?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 12:32:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d1d2cbe-c907-4920-bdf1-335570351e51</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;All right seem logical&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;app:
  address: 0xa200
  end_address: 0x45000
  region: flash_primary
  size: 0x3ae00
mcuboot:
  address: 0x0
  end_address: 0xa000
  placement:
    before:
    - mcuboot_primary
  region: flash_primary
  size: 0xa000
mcuboot_pad:
  address: 0xa000
  end_address: 0xa200
  placement:
    align:
      start: 0x1000
    before:
    - mcuboot_primary_app
  region: flash_primary
  size: 0x200
mcuboot_primary:
  address: 0xa000
  end_address: 0x45000
  orig_span: &amp;amp;id001
  - mcuboot_pad
  - app
  region: flash_primary
  sharers: 0x1
  size: 0x3b000
  span: *id001
mcuboot_primary_app:
  address: 0xa200
  end_address: 0x45000
  orig_span: &amp;amp;id002
  - app
  region: flash_primary
  size: 0x3ae00
  span: *id002
mcuboot_secondary:
  address: 0x45000
  end_address: 0x80000
  placement:
    after:
    - mcuboot_primary
    align:
      start: 0x1000
    align_next: 0x1000
  region: flash_primary
  share_size:
  - mcuboot_primary
  size: 0x3b000
sram_primary:
  address: 0x20000000
  end_address: 0x20020000
  region: sram_primary
  size: 0x20000
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;See my pm_static, it was just for tested actually, i will work on design it smartly in a next step.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Julien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/450290?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 12:14:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ec0e41c-5c03-492f-95b7-87d26434ca60</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Thats great!&lt;/p&gt;
[quote user="Julien F"]Last thing, i don&amp;#39;t understand it&amp;#39;s why only&amp;nbsp;&lt;span&gt;231kB in the secondary application slots, if i refer from&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;Basically it is due to how the partition manager has defined the partitions and paddings. You&amp;#39;re using all of the 512kB you have available, but the report only showcases that you&amp;#39;re using 511,5kB (even though it should use the full space), i.e 48k&lt;span&gt;B&lt;/span&gt; + 232k&lt;span&gt;B&lt;/span&gt; + 512B + 231k&lt;span&gt;B&lt;/span&gt; instead of&amp;nbsp;&lt;span&gt;48kB + 232kB + 512B + 231,5kB&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Could you also post your pm_static for the successfull build? I will have a closer look at this after the weekend&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/450249?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 09:31:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d4e9393-b8ea-4649-80f0-1c657268a7fc</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;YEEES ! it is working with my pm_static.yml.&lt;/p&gt;
&lt;p&gt;Last thing, i don&amp;#39;t understand it&amp;#39;s why only&amp;nbsp;&lt;span&gt;231kB in the secondary application slots, if i refer from&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;  flash_primary (0x80000 - 512kB):
+-------------------------------------------------+
| 0x0: mcuboot (0xc000 - 48kB)                    |
+---0xc000: mcuboot_primary (0x3a000 - 232kB)-----+
| 0xc000: mcuboot_pad (0x200 - 512B)              |
+---0xc200: mcuboot_primary_app (0x39e00 - 231kB)-+
| 0xc200: app (0x39e00 - 231kB)                   |
+-------------------------------------------------+
| 0x46000: mcuboot_secondary (0x3a000 - 232kB)    |
+-------------------------------------------------+

  sram_primary (0x20000 - 128kB):
+--------------------------------------------+
| 0x20000000: sram_primary (0x20000 - 128kB) |
+--------------------------------------------+&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;We read 232kb on mcuboot secondary. I assume that it come from&amp;nbsp;&lt;code class="docutils literal notranslate"&gt;&lt;span class="pre"&gt;scratch_partition&lt;/span&gt;&lt;/code&gt;&amp;nbsp; but not mentionned on partition_manager_report&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regard,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Julien&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/450212?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 07:46:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a403110-0add-482c-8531-c245d0eb132f</guid><dc:creator>AHaug</dc:creator><description>[quote user="Julien F"]In fact, my firmware is&amp;nbsp;231196 B if i believe in VSC.[/quote]
&lt;p&gt;Yep, I read the wrong column. 237056B is what you have available on that region, 231196 is your firmware.&lt;/p&gt;
[quote user="Julien F"]My issue seems to come from a different size between primary and secondary slot and then a bad managing of mcuboot who block any other dfu&amp;nbsp;[/quote]
&lt;p&gt;Are you able to resolve that issue by using a static partitioning map, setting both the primary and secondary application to be larger than your application? Remember to leave some room for necessary for headers, MCUboot and such. You can have a look at the machine learning algorithm for a couple of tips to optimize MCUboot&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/machine_learning/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/machine_learning/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;General ROM and RAM optimization tips can be seen here&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/test_and_optimize/optimizing/index.html"&gt;developer.nordicsemi.com/.../index.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/450191?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 06:34:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4dd40c56-bb63-443d-886f-606e9fb9df19</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi Ahaug,&lt;/p&gt;
&lt;p&gt;In fact, my firmware is&amp;nbsp;231196 B if i believe in VSC.&lt;/p&gt;
&lt;p&gt;As you say &amp;quot;&lt;span&gt;you have 232kB available in the primary application slot and 231kB in the secondary application slots&amp;quot;, so it&amp;#39;s normal that i&amp;#39;m able to perform a flash on a primary slot.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But when you want to make a DFU there is no enough size on secondary slot.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And after that, mcuboot seem to be broke, because i cannot realize any other dfu.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My issue seems to come from a different size between primary and secondary slot and then a bad managing of mcuboot who block any other dfu&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Julien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449997?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 09:22:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f62c228-df4d-4ffb-82f6-e22abffc7379</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I was completely locked in on that this was a &amp;quot;custom board issue&amp;quot; and had the 5340 from your previous case fresh in my mind so a ROM issue was not on my mind at all!..&amp;nbsp; The nRF52833 has half the available flash than the nRF5340 has, so as you describe this is a ROM issue due to a too large application, which makes perfect sense regarding why you&amp;#39;re not able to perform the update&lt;/p&gt;
&lt;p&gt;Your firmware is 237KB and from the partition manager report you have 232kB available in the primary application slot and 231kB in the secondary application slots.&amp;nbsp; It&amp;#39;s just a bit weird that you were able to flash the firmware and run it since it&amp;#39;s larger than what the partition manager reports without any warnings or errors&lt;/p&gt;
&lt;p&gt;The primary and secondary application slot needs to be of the same size of the original image as this is where the update image will be stored before you perform the swap upgrade. In this case if you create a 232kB app, you will not be able to fit the upgrade image to the secondary slot in case you create a 232kB update.&lt;/p&gt;
&lt;p&gt;&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/3666.pastedimage1697101843326v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;I will also add this resource regarding the partition manager and how to add a static partition (which may be very useful to have if you intend to have multiple update cycles):&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#static-configuration"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/scripts/partition_manager/partition_manager.html#static-configuration&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Optimizing your firmware w.r.t. ROM, adding an external flash and moving the secondary application slot to the external flash or reducing the size of MCUboot by optimizing it will most likely solve the issue with the Custom board + your custom firmware&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449985?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 08:41:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b967f09a-6e8c-4a94-96e6-046c54d69bfc</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;I test with the SMP sample, after i tried with this zip file&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6012.dfu_5F00_application.zip"&gt;devzone.nordicsemi.com/.../6012.dfu_5F00_application.zip&lt;/a&gt;, no other DFU works&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Julien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449982?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 08:31:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f19fa176-6405-413b-bac5-5abe16775a5c</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;I place the&amp;nbsp;app_moved_test_update.hex&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/app_5F00_moved_5F00_test_5F00_update.hex"&gt;devzone.nordicsemi.com/.../app_5F00_moved_5F00_test_5F00_update.hex&lt;/a&gt;&amp;nbsp;on nrf connect, it&amp;nbsp;show me that my&amp;nbsp;memory is overflowed.&lt;/p&gt;
&lt;p&gt;---EDIT----&lt;/p&gt;
&lt;p&gt;I notice that all &lt;span&gt;app_moved_test_update.hex reach address 0x7FFFF on nrf connect&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;--------------&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1697099466833v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Julien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449978?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 08:08:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:852f7886-3307-4d53-87f4-be91478a6bd0</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi Ahaug&lt;/p&gt;
&lt;p&gt;Los of twists on my side.&lt;/p&gt;
&lt;p&gt;I start to prepare a minimal version of my project and when i want to send it to you i observe that DFU over SMP service worked, and if you test with the whole project, it still does not work.&lt;/p&gt;
&lt;p&gt;My guess is issue come from size of my firmware.&lt;/p&gt;
&lt;p&gt;Size are at the limit&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;Memory region         Used Size  Region Size  %age Used
           FLASH:      231196 B     237056 B     97.53%
             RAM:       63068 B       128 KB     48.12%
        IDT_LIST:          0 GB         2 KB      0.00%&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and should provoke an issue with mcuboot.&lt;/p&gt;
&lt;p&gt;Once i tried a DFU with the .zip where the dfu not working, every other zip file will not work,&amp;nbsp;even those that worked before.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Julien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449725?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 08:15:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dac15ce3-3857-40c0-9882-da246ee8a80f</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Yep, I agree they do.&lt;/p&gt;
&lt;p&gt;Can you share a minimal version of your project (zip and upload it) that has this issue? Remember that this is a public ticket so don&amp;#39;t upload any sensitive information/code that is confidential&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449723?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 08:11:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b66c1c2b-2a57-406a-a4fa-22b48a9eaf29</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;partition manager on my custom project&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;  flash_primary (0x80000 - 512kB):
+-------------------------------------------------+
| 0x0: mcuboot (0xc000 - 48kB)                    |
+---0xc000: mcuboot_primary (0x3a000 - 232kB)-----+
| 0xc000: mcuboot_pad (0x200 - 512B)              |
+---0xc200: mcuboot_primary_app (0x39e00 - 231kB)-+
| 0xc200: app (0x39e00 - 231kB)                   |
+-------------------------------------------------+
| 0x46000: mcuboot_secondary (0x3a000 - 232kB)    |
+-------------------------------------------------+

  sram_primary (0x20000 - 128kB):
+--------------------------------------------+
| 0x20000000: sram_primary (0x20000 - 128kB) |
+--------------------------------------------+&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and&amp;nbsp;&lt;span&gt;successfull smp_ble sample&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;  flash_primary (0x80000 - 512kB):
+-------------------------------------------------+
| 0x0: mcuboot (0xc000 - 48kB)                    |
+---0xc000: mcuboot_primary (0x3a000 - 232kB)-----+
| 0xc000: mcuboot_pad (0x200 - 512B)              |
+---0xc200: mcuboot_primary_app (0x39e00 - 231kB)-+
| 0xc200: app (0x39e00 - 231kB)                   |
+-------------------------------------------------+
| 0x46000: mcuboot_secondary (0x3a000 - 232kB)    |
+-------------------------------------------------+

  sram_primary (0x20000 - 128kB):
+--------------------------------------------+
| 0x20000000: sram_primary (0x20000 - 128kB) |
+--------------------------------------------+&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;looks like identical.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Julien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449718?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 08:02:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3138b9fc-63b3-4230-b3cb-32e642a074c3</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Thank you for sharing the progress.&lt;/p&gt;
[quote user="Julien F"]&lt;p&gt;I test the&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/smp/mcuboot_smp_ble"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/smp/mcuboot_smp_ble&lt;/a&gt;&amp;nbsp;sample on nrf52833dk and my custom board, both worked.&lt;/p&gt;
&lt;p&gt;Seems to me that i missing something in my custom project, but i do not know what...&lt;/p&gt;[/quote]
&lt;p&gt;That narrows it down to firmware related, which (hopefully) makes it easier to investigate!&lt;br /&gt;&lt;br /&gt; Could you provide a partition manager report for both the successfull smp_ble sample and your custom project either by using the built in tool in the VS Code extension or by navigating to the build folder in cmd and enter &amp;#39;ninja partition_manager_report&amp;#39; and upload them here as a code snippet?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449716?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 07:37:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e29dbdec-c8e5-4c58-bb35-75566a8a22ef</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I test the&amp;nbsp;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/smp/mcuboot_smp_ble"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/smp/mcuboot_smp_ble&lt;/a&gt;&amp;nbsp;sample on nrf52833dk and my custom board, both worked.&lt;/p&gt;
&lt;p&gt;Seems to me that i missing something in my custom project, but i do not know what...&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Julien&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449702?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2023 06:31:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33d057f0-89c6-451e-bffd-4e6967eb8fd6</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To test the DFU worked, i change my BT name but even when i have the&amp;nbsp;&lt;span&gt;popup &amp;quot;Application has been successful&amp;quot; when i select &amp;quot;Test&amp;quot; on nrfConnect, nothing change.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Julien&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449604?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 14:26:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7eceebaa-5caf-420b-89e6-2bead13cc4e5</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;If i select only test i have the popup &amp;quot;Application has been successful&amp;quot; but seems like nothing happen, and if i select confirm i got the error&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449602?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 14:22:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dd5f6a3-68de-4813-99e7-1cc0204e425f</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Trying to add&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_MCUMGR_GRP_OS=y&lt;/span&gt;&lt;br /&gt;&lt;span&gt;CONFIG_MCUMGR_GRP_STAT=y (need to add&amp;nbsp;&lt;/span&gt;&lt;span&gt;CONFIG_STATS&lt;/span&gt;&lt;span&gt;=y because of depencies)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But still got the same issue.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/error_5F00_mcumgr_5F00_2.txt"&gt;devzone.nordicsemi.com/.../error_5F00_mcumgr_5F00_2.txt&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Julien&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449585?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 13:45:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:894d47c0-4be9-4536-b488-6afd1101eeb6</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Noted, thank you for clarifying!&lt;/p&gt;
[quote user="Julien F"]What meaning the error code 8 on McuMgr?[/quote]
&lt;p&gt;Based on what I see it is related to something that you receive that is not supported, my best current guess is that it&amp;#39;s regarding reading the notification that you receive prior to the error message.&lt;/p&gt;
&lt;p&gt;After examining the project configuration from&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/mgmt/mcumgr/smp_svr/prj.conf"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/mgmt/mcumgr/smp_svr/prj.conf&lt;/a&gt;&amp;nbsp;and it&amp;#39;s BLE overlay file&amp;nbsp;&lt;a href="https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/mgmt/mcumgr/smp_svr/overlay-bt.conf"&gt;https://github.com/zephyrproject-rtos/zephyr/blob/main/samples/subsys/mgmt/mcumgr/smp_svr/overlay-bt.conf&lt;/a&gt;&amp;nbsp;with your configuration it looks like you&amp;#39;ve not included the following two configurations from the Zephyr smp_server sample. Does enabling these two change anything on your end?&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;CONFIG_MCUMGR_GRP_OS=y&lt;br /&gt;CONFIG_MCUMGR_GRP_STAT=y&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449569?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 12:49:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89667307-9ce9-4fa0-b0ba-486dc30731af</guid><dc:creator>Julien</dc:creator><description>&lt;p&gt;Hi AHaug,&lt;/p&gt;
&lt;p&gt;1. Currently my only board are nrf5340, i could test on other board tomorrow&lt;/p&gt;
&lt;p&gt;2. Apologize, it is&amp;nbsp;&lt;span&gt;nRF Connect SDK v2.4.1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3. I have not try, but i&amp;#39;m able to communicate with i2c, enable bluetooth and connect to it or connect to other device&lt;/p&gt;
&lt;p&gt;4. No warning&lt;/p&gt;
&lt;p&gt;5. I have no uart available on my custom board&lt;/p&gt;
&lt;p&gt;What meaning the error code 8 on McuMgr?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [McuMgr] Error : NOT_SUPPORTED during DFU by BLE with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/449567?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2023 12:44:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80154ac5-a3ec-4e40-9e71-fd829ff6aa97</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Julien,&lt;/p&gt;
&lt;p&gt;A couple of questions here to start with as an attempt to narrow down what could be wrong&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In your&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/104404/mcumgr-error-in_value-3-during-dfu-update-by-smp-service"&gt;previous case&lt;/a&gt;&amp;nbsp;you mention that you&amp;#39;re testing with a nRF5340DK. Have you at any point tested and verified that you&amp;#39;re able to add DFU support to a non-custom nRF52 based board such as the nRF52840DK?&lt;/li&gt;
&lt;li&gt;You&amp;#39;re mentioning &amp;#39;Zephyr v2.4.1&amp;#39;. Could you clarify if you&amp;#39;re referring to &amp;#39;nRF Connect SDK v2.4.1&amp;#39; or if you&amp;#39;re actually using a pure Zephyr environment?&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Are you able to compile, flash and run any other non-DFU based samples from the SDK to your custom board?&lt;/li&gt;
&lt;li&gt;Do you get any warnings when compiling?&lt;/li&gt;
&lt;li&gt;Are you able to add DFU to your custom board using other transports than BLE? For instance using the UART sample instead?&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/smp/mcuboot_smp_uart"&gt;github.com/.../mcuboot_smp_uart&lt;/a&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>