<?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>How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/119715/how-to-add-the-dfu-ota-with-smp-to-a-matter-sample-project-like-light_bulb</link><description>I would like to add smp ota firmware upgrade to the matter sample project, can you provide me with the specific steps to do so, and in which path is the ota file compiled and generated?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Mar 2025 10:56:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/119715/how-to-add-the-dfu-ota-with-smp-to-a-matter-sample-project-like-light_bulb" /><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/529752?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2025 10:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72660414-bd9b-4764-a251-3963e9167c41</guid><dc:creator>Denghongyan</dc:creator><description>&lt;p&gt;Thank you very much, I will try cmd to build tomorrow!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/529747?ContentTypeID=1</link><pubDate>Mon, 31 Mar 2025 10:33:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd6ee6d1-9219-4e21-8f13-68004d485cac</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Specifically, I used configurations found in &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/c7651e066f200e9a4152a64307b653f1ce152339/samples/matter/template/sample.yaml#L50"&gt;sample.yaml&lt;/a&gt; to build.&lt;/p&gt;
&lt;p&gt;Then I enabled logs in sysbuild/mcuboot/prj.conf.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/529443?ContentTypeID=1</link><pubDate>Fri, 28 Mar 2025 07:25:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a93ec381-4405-4cc5-be70-5073c82e4591</guid><dc:creator>Denghongyan</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;nice to see you here, I met the similar problem for adding SMP OTA, Did you only enable&amp;nbsp;&lt;span&gt;CONFIG_CHIP_DFU_OVER_BT_SMP, and everything is ok?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/529118?ContentTypeID=1</link><pubDate>Wed, 26 Mar 2025 15:29:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07186026-5351-4b75-b4fa-099e537cc5a0</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Dont know what did not work for me last time, but it worked now:&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/pastedimage1743002922419v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The MCUboot logs comes from me enabling logs and serial in sysbuild/mcuboot/prj.conf. I suggest that you do the same to see what your error could be from the logs&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/528262?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 15:02:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:816f5fd3-251c-4049-93e6-1cda4a7d51d4</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="paper555"]Can you use the sample of light_bulb to try ?&amp;nbsp;[/quote]
&lt;p&gt;Im also having some difficulty in doing FOTA for this sample.&lt;/p&gt;
&lt;p&gt;I will look more into this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/528098?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 00:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d4c30ae-325d-4024-8868-03fbdb6cfd9e</guid><dc:creator>paper555</dc:creator><description>&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/pastedimage1742430077407v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/528097?ContentTypeID=1</link><pubDate>Thu, 20 Mar 2025 00:20:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02af1a91-348e-4be0-b455-9f880d83c9e8</guid><dc:creator>paper555</dc:creator><description>&lt;p&gt;I only change the version of the firmware before generating the dfu_application.zip. Can you use the sample of light_bulb to try ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span id="pastedimage1742430055687v1" class="mceItem mceNonEditable mceInsertMediaItem mceInsertMediaItem mceInsertMediaItemImage" style="color:transparent;height:240px;width:320px;"&gt;...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/527952?ContentTypeID=1</link><pubDate>Wed, 19 Mar 2025 08:09:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:253bb3ce-4077-4183-8c5b-78ea1bb633c0</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;What did you change in the application for the DFU image?&lt;/p&gt;
&lt;p&gt;(After flashing first app, but before generating dfu_applicaiton.zip)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/527823?ContentTypeID=1</link><pubDate>Tue, 18 Mar 2025 12:03:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56a6f2df-0255-415d-9edc-96f65e000584</guid><dc:creator>paper555</dc:creator><description>&lt;p&gt;I used the light_bulb demo sample project, running on the nrf54l15-PDK development board, and &lt;span&gt;enable only CONFIG_CHIP_DFU_OVER_BT_SMP&lt;/span&gt;, and then used the nrf connect device manager software to update the device firmware, after updating the device that serial logs have been stuck here and firmware will not be automatically installed and restarted, what is the reason for the stuck ?&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/pastedimage1742299029242v1.png" alt=" " /&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/pastedimage1742299415791v2.jpeg" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/527528?ContentTypeID=1</link><pubDate>Mon, 17 Mar 2025 08:20:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69764140-c24b-4218-8187-62d4f7be27aa</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Despite mentioning the Thermostat sample before, i will now use the &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/samples/matter/template"&gt;Matter template&lt;/a&gt; code as an example.&lt;/p&gt;
&lt;p&gt;For general background knowledge on OTA over Bluetooth LE, see &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-8-bootloaders-and-dfu-fota/"&gt;this DFU course on Devacademy&lt;/a&gt;.&lt;/p&gt;
[quote user="paper555"]I would like to ask how to do the ota upgrade through smp, besides configuring DCONFIG_CHIP_DFU_OVER_BT_SMP=y, what other steps are required, such as whether LE broadcasting needs to be enabled, through which APP how to operate the upgrade, etc.[/quote]
&lt;p&gt;CONFIG_CHIP_DFU_OVER_BT_SMP sets a lot of needed configurations for you.&lt;br /&gt;In addition to this, you&amp;#39;ll need some &lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/samples/matter/template/sysbuild/mcuboot"&gt;MCUboot overlay files&lt;/a&gt; to enable external flash.&lt;/p&gt;
&lt;p&gt;Also, the Matter project should advertise on Bluetooth LE for the DFU, but since Bluetooth LE is set up by default as a provisioning protocol for Matter, this will be enabled automatically when you do CONFIG_CHIP_DFU_OVER_BT_SMP.&lt;/p&gt;
&lt;p&gt;I suggest that you use the Matter Template as a starting point for your project, and then try to enbale&amp;nbsp; only CONFIG_CHIP_DFU_OVER_BT_SMP. Then try to follow docs on either &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/matter/nrfconnect_examples_software_update.html#device_firmware_upgrade_over_bluetooth_le_using_a_smartphone"&gt;Device Firmware Upgrade over Bluetooth LE using a smartphone&lt;/a&gt; or &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/matter/nrfconnect_examples_software_update.html#device_firmware_upgrade_over_bluetooth_le_using_a_pc_command_line_tool"&gt;Device Firmware Upgrade over Bluetooth LE using a PC command line tool&lt;/a&gt;. If that does not work, let me know and we will figure it out.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/527133?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 11:27:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86264319-7fbb-46aa-a813-af0deee5a409</guid><dc:creator>paper555</dc:creator><description>&lt;p&gt;It is mentioned here that there are two ways of upgrading, one is the MATTER standard ota upgrade and the other is the smp protocol ota upgrade. I would like to ask how to do the ota upgrade through smp, besides configuring DCONFIG_CHIP_DFU_OVER_BT_SMP=y, what other steps are required, such as whether LE broadcasting needs to be enabled, through which APP how to operate the upgrade, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/527130?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 11:22:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08a8d0a8-7958-4afa-ab73-e3b17a7e3b47</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Some of our Matter samples has OTA support. See for example &lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/matter/thermostat/README.html#device_firmware_upgrade_support"&gt;Matter Thermostat: Device Firmware Upgrade support&lt;/a&gt;. Is this what you are looking for?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/527062?ContentTypeID=1</link><pubDate>Thu, 13 Mar 2025 00:27:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1203123b-26a4-4ab8-81f2-4fbb804c81bb</guid><dc:creator>paper555</dc:creator><description>&lt;p&gt;According to the description here, is it possible to support both matter OTA and smp OTA firmware upgrades on the device, and if I want to add smp OTA to the matter example project, how should I do it, and is there a detailed description of the steps?&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/pastedimage1741825355608v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add the DFU OTA with SMP to a matter sample project like light_bulb</title><link>https://devzone.nordicsemi.com/thread/526987?ContentTypeID=1</link><pubDate>Wed, 12 Mar 2025 14:19:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcad229c-4c86-4b68-9d74-c80561d35d76</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Which protocol do you want to do OTA over? Matter or Bluetooth LE?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>