<?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>nRF52840DK Freezes on Matter AddScene Command After Upgrading to nRF Connect SDK v2.9.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/123216/nrf52840dk-freezes-on-matter-addscene-command-after-upgrading-to-nrf-connect-sdk-v2-9-2</link><description>Hi, 
 I&amp;#39;m developing firmware for the nRF52840 DK using nRF Connect SDK v2.9.2 , and I’m running into a problem that didn’t occur in v2.8.0 . 
 My project uses Zephyr and Matter (from the SDK), and includes the SceneManagement cluster using the default</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jul 2025 12:38:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/123216/nrf52840dk-freezes-on-matter-addscene-command-after-upgrading-to-nrf-connect-sdk-v2-9-2" /><item><title>RE: nRF52840DK Freezes on Matter AddScene Command After Upgrading to nRF Connect SDK v2.9.2</title><link>https://devzone.nordicsemi.com/thread/543614?ContentTypeID=1</link><pubDate>Fri, 25 Jul 2025 12:38:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6db68ac0-7321-44cf-8bf5-77fb3367975c</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
[quote user=""]Were there any changes to the Scene Management cluster between v2.8.0 and v2.9.2 that could explain this behavior?[/quote]
&lt;p&gt;There was a Matter specification update from v1.3 in nRF Connect SDK v2.8.0 to v1.4 in SDK v2.9.0.&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/pastedimage1753446552766v2.png" alt=" " /&gt; from the table on the&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-3.0.2/page/nrf/protocols/matter/index.html"&gt;Matter documentation launch page&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The Scenes management cluster definition in the specification is unchanged, and also provisional in both releases of the SDK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can see that there was quite a few additions to the scenes-server between 2.8.0 and 2.9.2, please take a look at this commit which includes most of the changes:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-connectedhomeip/commit/0e766168d71cfd16c9fc310988ddd672e527de6c"&gt;https://github.com/nrfconnect/sdk-connectedhomeip/commit/0e766168d71cfd16c9fc310988ddd672e527de6c&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]What’s the best way to approach debugging a system freeze like this within the Matter SDK?[/quote]
&lt;p&gt;If your Matter application is small enough, building with debugging optimizations with CMake or in the VS Code extension will enable common debugging options like higher logging level. This may shed some light on what is happening before the freeze, but it is likely that the freeze still happens when the application is built with debugging optimizations.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;By running a debugging session when you send AddScene from the controller you could be able to find out where the freeze happens. Since it freezes when receiving the AddScene command I suggest adding some breakpoints in &lt;a href="https://github.com/nrfconnect/sdk-connectedhomeip/blob/v2.9.0/src/app/clusters/scenes-server/scenes-server.cpp#L368"&gt;AddSceneParse&lt;/a&gt;&amp;nbsp;to start and go from there.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you have the network key for the underlying Thread network you can also capture the network traffic and analyze it with Wireshark. It could be interesting to also capture the traffic for the v2.8.0 version of the Matter device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope these high-level tips are helpful!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just to let you know, I will go on vacation today, but the case should be transferred to a colleague after some time. Apologies if this transfer causes some delays.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>