<?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>Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123498/matter-light-bulb-sample-project-modify-for-matter-over-thread-keeping-wifi-for-aws</link><description>I would like to modify the Matter: Light Bulb sample project, which comes as a dual Matter + AWS integration all running on WiFi. I would like to modify this project so that the Matter is running over Thread, and the WiFi continues to be used for the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Aug 2025 19:57:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123498/matter-light-bulb-sample-project-modify-for-matter-over-thread-keeping-wifi-for-aws" /><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/545437?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 19:57:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10d050c7-0d75-4fa1-aaa1-dcf006c144a6</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;We have online courses for getting started with the nRF Connect SDK here:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/"&gt;Nordic Developer Academy&lt;/a&gt;.&lt;br /&gt;DFU is covered in Lesson 9 of the nRF Connect SDK Intermediate course.&lt;/p&gt;
&lt;p&gt;This is also a good starting point:&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/app_dev/bootloaders_dfu/index.html"&gt;Bootloaders and DFU&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/545436?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 19:55:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbc9053d-0f96-4d43-8027-5629f254680a</guid><dc:creator>nabeela</dc:creator><description>&lt;p&gt;awesome thank you for that explanation, I&amp;#39;ll dig into that and see if it&amp;#39;s a viable solution to explore.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you do have some links handy for the MCUboot two-slot DFU, please share.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks again.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/545435?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 19:52:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5726b4ff-edd5-49a1-b0c6-a539e1d708c3</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Yes, it is possible, but maintaining that might be tricky.&lt;/p&gt;
&lt;p&gt;The idea is that you use two-slot DFU with MCUboot with swapping, and&amp;nbsp;keep the &amp;quot;alternate&amp;quot; application in the secondary slot.&lt;br /&gt;The &amp;quot;main&amp;quot; application in the primary slot can trigger a &lt;em&gt;test swap&lt;/em&gt;. At the next reset, the &amp;quot;alternate&amp;quot; application will be swapped to the primary slot and boot.&lt;br /&gt;If the &amp;quot;alternate&amp;quot; application needs to survive power cycles and/or reset, it can mark itself &lt;em&gt;confirmed&lt;/em&gt;.&amp;nbsp;Then, it becomes the &amp;quot;main&amp;quot; application, and the previous &amp;quot;main&amp;quot; app becomes &amp;quot;alternate.&amp;quot;&lt;br /&gt;If the &amp;quot;alternate&amp;quot; application doesn&amp;#39;t mark itself &lt;em&gt;confirmed&lt;/em&gt;, at the next reset, it will be swapped back.&lt;/p&gt;
&lt;p&gt;Note that DFU will still download the&amp;nbsp;updated&amp;nbsp;application onto the secondary slot, overwriting any &amp;quot;alternate&amp;quot; application staying there at the time. You will need to devise a plan around that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/545434?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 19:36:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dc30a4b-feb5-4427-8bb7-f6875ef69d64</guid><dc:creator>nabeela</dc:creator><description>&lt;p&gt;got it thank you -- one last question that is related but a different strategy:&lt;br /&gt;&lt;br /&gt;Would I be able to store 2 firmware images - one for a Matter only firmware (either wifi or thread, not switchable), and a separate image that is wifi only (for AWS integration - such as AWS IoT example).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;if default image (matter firmware) is in the internal flash, and the secondary image (AWS IoT Wifi) is in the external flash, and a user can switch the working image. Maybe external flash can keep both image, but only one is loaded to nRF5340 at any one time - like a DFU operation, but 2 images are pre-loaded to external flash and user can switch between them.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is a product in the market that does this (I don&amp;#39;t think it&amp;#39;s using Nordic chipset, but it&amp;#39;s an example)&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://www.kwikset.com/products/detail/halo-select-touchscreen-wi-fi-and-matter-enabled-smart-lock"&gt;https://www.kwikset.com/products/detail/halo-select-touchscreen-wi-fi-and-matter-enabled-smart-lock&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;If that&amp;#39;s not at all possible, no problem.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/545432?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 19:04:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55657328-ab44-4ca2-8a0a-509e0c246dba</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi nabeela,&lt;/p&gt;
&lt;p&gt;The reason the Thread-Wi-Fi switching feature is brought up is because the&amp;nbsp;memory requirement for it is going to reflect Matter over Thread + Wi-Fi.&lt;/p&gt;
&lt;p&gt;As mentioned, that alone consumes almost all of the nRF5340&amp;#39;s flash memory. You will then have to add AWS on top of that,.&lt;/p&gt;
[quote user="nabeela"]Is that doable? Is it possible to do this with just modifying the necessary Kconfig, project config, and board config / overlay (using either the nRF7002DK which also has a 5340 on it, or the 5340DK with 7002EK).&amp;nbsp;[/quote]
&lt;p&gt;Without external flash, and without DFU: It is difficult and recommended against, because&amp;nbsp;no DFU support doesn&amp;#39;t make for a good product.&lt;/p&gt;
&lt;p&gt;With external flash, with DFU: It is even more difficult, because the bootloader takes ~32kB or more. Furthermore, the memory required is so large that&amp;nbsp;even if you can fit AWS in today,&amp;nbsp;debug builds for development purposes will most likely be not possible,&amp;nbsp;and future updates will be challenging.&amp;nbsp;While not recommended against, still not recommended.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Without external flash, with DFU: No, that is entirely not possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/545418?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 15:42:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13999b69-fa79-4b5a-9f33-5b3bf9b380c2</guid><dc:creator>nabeela</dc:creator><description>&lt;p&gt;So I just want to make clear that I don&amp;#39;t need thread-wifi switching for Matter.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What I would like is the Matter Light Bulb sample project, which is currently Matter-WiFi + WiFi-AWS combo, if we can change that to be Matter-Thread + WiFi-AWS combo. So it&amp;#39;s still matter, but running over Thread, and Wi-Fi is only used to communicate with AWS, not for Matter.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Is that doable? Is it possible to do this with just modifying the necessary Kconfig, project config, and board config / overlay (using either the nRF7002DK which also has a 5340 on it, or the 5340DK with 7002EK).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/545323?ContentTypeID=1</link><pubDate>Tue, 12 Aug 2025 08:17:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14d7978b-a34e-4be1-ae03-e1bd6344fdec</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi nabeela,&lt;/p&gt;
[quote user="nabeela"]Can we not make use of the external flash? such as XIP or something? or is the RAM itself is not sufficient?[/quote]
&lt;p&gt;Will you not have DFU with your product? If you need DFU, you need external flash anyway.&lt;/p&gt;
&lt;p&gt;XIP can help save some&amp;nbsp;flash memory, yes, but only one image sector (in DFU context). That&amp;nbsp;is not enough here.&lt;/p&gt;
&lt;p&gt;Fitting things on RAM is going to be a challenge too, but as things are right now, fitting things on flash is a bigger challenge.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/545278?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 20:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b1c07c8-3d43-4265-b63e-030a828a215d</guid><dc:creator>nabeela</dc:creator><description>&lt;p&gt;Hi - thanks for following up. Can we not make use of the external flash? such as XIP or something? or is the RAM itself is not sufficient?&lt;/p&gt;
&lt;p&gt;in any case, thanks for the update.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/545275?ContentTypeID=1</link><pubDate>Mon, 11 Aug 2025 19:52:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f85352f3-0d62-49fd-9066-1bf7a64a1c37</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi nabeela,&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;checked with our developers today. The Thread-Wi-Fi switching feature is experimental, and the Lock sample almost use up the entire memory of the nRF5340. Using that as a benchmark, it&amp;#39;s going to be very challenging to fit AWS support in. Thus, we don&amp;#39;t recommend this.&lt;/p&gt;
&lt;p&gt;If you attempt this, you can start with any Matter over Thread setup and add Wi-Fi to it following the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/samples/net/aws_iot/README.html"&gt;AWS IoT&lt;/a&gt;&amp;nbsp;sample.&lt;/p&gt;
&lt;p&gt;We also recommend &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/app_dev/device_guides/nrf70/fw_patches_ext_flash.html"&gt;having the nRF70 Series firmware patches reside in the external memory&lt;/a&gt;&lt;span&gt;&amp;nbsp;and &lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/protocols/matter/getting_started/memory_optimization.html"&gt;using Link Time Optimization&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/545102?ContentTypeID=1</link><pubDate>Sat, 09 Aug 2025 22:07:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8f0fcec-48f7-4233-97ce-3f4b516c8cf5</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi nabeela,&lt;/p&gt;
&lt;p&gt;I wasn&amp;#39;t aware of the Thread-Wi-Fi Switch feature showcased in the Matter: Lock sample.&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;initially thought that the two stacks together would consume so much memory that it can&amp;#39;t fit and planned to verify that. However, the existence of the Thread-Wi-Fi Switch feature obviously means that the two stacks can fit on the&amp;nbsp;nRF5340 at the same time.&lt;/p&gt;
&lt;p&gt;I have been studying this feature and the sample but have been unable to build the sample to test things out.&lt;br /&gt;Looks like I will need some more time. My apology. I will follow-up in 1-2 business days.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/545086?ContentTypeID=1</link><pubDate>Fri, 08 Aug 2025 18:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60b0c81e-b812-4d79-bc2c-7097d60d21cd</guid><dc:creator>nabeela</dc:creator><description>&lt;p&gt;Thanks - to add a bit more context - if we can make the above Matter: Light Bulb sample work like the Matter: Lock sample where it allows Thread or WiFi switching for Matter -- but in any case keep WiFi for AWS working.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/samples/matter/lock/README.html"&gt;Matter: Door lock&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light bulb sample project modify for Matter over Thread keeping WiFi for AWS</title><link>https://devzone.nordicsemi.com/thread/544857?ContentTypeID=1</link><pubDate>Wed, 06 Aug 2025 21:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69bc986d-b707-4666-bea3-06e8d1e5eb3c</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi nabeela,&lt;/p&gt;
&lt;p&gt;I will look into this and follow up with you this week.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>