<?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 Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128795/matter-light-switch-sample---kernel-panic</link><description>I have the matter light switch sample, SDK 3.4.0, on the nRF52840 Dev Kit. I can bind it with a light using Home Assistant (Ikea light) and it works OK. However after a while, or if I just power the dev kit down and up again I get the following from the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Aug 2026 08:23:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128795/matter-light-switch-sample---kernel-panic" /><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/570140?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2026 08:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1394aa95-5999-470d-81c1-6dffaeeea5e0</guid><dc:creator>Tonyll</dc:creator><description>&lt;p&gt;Hi Maria,&lt;/p&gt;
&lt;p&gt;Many thanks for helping me with this, it is much appreciated.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Tony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/570138?ContentTypeID=1</link><pubDate>Wed, 12 Aug 2026 08:05:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3222f725-a040-476e-a0f1-79a24f015aaf</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Tony,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for checking that the Matter versions matched.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Our developers confirmed that the binding table printing has a bug and they will prepare a bugfix. It will not be patched into NCS, but the relevant commit can be applied manually. In essence, the fix includes verifying that entry.clusterId.HasValue() is true before trying to fetch the ID.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for bringing this to our attention.&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><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/570111?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2026 11:19:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3336882-eb96-4f2a-bf9e-b3f211ef3000</guid><dc:creator>Tonyll</dc:creator><description>&lt;p&gt;Hi Maria,&lt;/p&gt;
&lt;p&gt;I have looked further into the Matter 1.5 standard.&lt;/p&gt;
&lt;p&gt;My understanding is that a binding can exist which specifies the end node (or group) without giving a cluster number. The binding node app will then be able to control any available cluster on the end node or group. &lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Matter-1.5-binding.png_2D00_640x480.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The image shows an example given in the Matter spec where a group is specified but the nodes and clusters are omitted.&lt;/p&gt;
&lt;p&gt;The HA Matter server creates a single binding table where the controlling node and end node are included but the cluster number is omitted. I thank this is correct but is why the &amp;quot;print binding table&amp;quot; function fails becaue it expects a cluster number.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Tony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/570100?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2026 09:05:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:587b974f-4c2b-424d-a7ed-2aef10090d27</guid><dc:creator>Tonyll</dc:creator><description>&lt;p&gt;Hi Maria,&lt;/p&gt;
&lt;p&gt;HA&amp;#39;s Matter Server which creates the bindings and allows all relevant clusters to be bound with one command is using &amp;quot;matter.js&amp;quot; (&lt;a id="" href="https://github.com/matter-js/matter.js"&gt;https://github.com/matter-js/matter.js&lt;/a&gt;) and is based on Matter 1.5.1&lt;/p&gt;
&lt;p&gt;The work around at the moment is to not use the &amp;quot;all relevant&amp;quot; option but to create two bindings, one for onoff and one for level. The sample app works fine with the &amp;quot;all relevant&amp;quot; binding option and controls the light for both onoff and level, it is only when the &amp;quot;print binding table&amp;quot; gets called that the fault occurs.&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Tony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/570093?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2026 07:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a10e3474-76dd-428a-8fcc-5d8768a191ef</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Tony,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for sharing your status. Do you know which Matter version HA and the light are using? nRF Connect SDK v3.4.0 is using Matter v1.5.0, so I want to check if there is some incompatibility there.&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><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/569934?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2026 15:58:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2ce1298-8242-4a14-a796-47e7233cbbf0</guid><dc:creator>Tonyll</dc:creator><description>&lt;p&gt;Hi Maria&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve made some progress from the information you sent.&lt;/p&gt;
&lt;p&gt;If I comment-out the call to print the binding table (in binding_handler.cpp) then the error doesn&amp;#39;t occur. I couldn&amp;#39;t get the compiler to recognise .ValueOr().&lt;/p&gt;
&lt;p&gt;Also I checked the binding process using Home Assistant.&lt;/p&gt;
&lt;p&gt;HA allows binding to all eligible clusters. This works initially but fails wnen the board is reset and the binding table print is called. Works find if the print binding table is not called.&lt;/p&gt;
&lt;p&gt;If only the on/off cluster (06) is specified with HA then the print binding table works OK.&lt;/p&gt;
&lt;p&gt;Obviously binding to more than one cluster needs to be possible so the print binding table does need to be able to handle this.&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/569925?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2026 13:26:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c276028-75d4-4cbb-9481-f31b3e15b968</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Tony,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have not been able to reproduce this issue, but what I have asked for verification on if it is a possible fix, is to use .ValueOr() instead of .value() on the clusterId &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v3.4.0/samples/matter/common/src/binding/binding_handler.cpp#L128"&gt;here&lt;/a&gt;.&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><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/569909?ContentTypeID=1</link><pubDate>Wed, 05 Aug 2026 08:57:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b29af0c6-08cd-4668-8dc0-17a0111f90d3</guid><dc:creator>Tonyll</dc:creator><description>&lt;p&gt;Thanks Maria,&lt;/p&gt;
&lt;p&gt;Do you have a solution or a work around that I can use to get a working device?&lt;/p&gt;
&lt;p&gt;Thanks Tony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/569736?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2026 12:39:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6453cb56-07d0-47b7-bf5b-dbd172fa41f5</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Tony,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My apologies for the delay. We currently have reduced staffing due to summer holidays.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The code is aborted when printing the information for the bound device, that is here:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v3.4.0/samples/matter/common/src/binding/binding_handler.cpp#L123-L129"&gt;https://github.com/nrfconnect/sdk-nrf/blob/v3.4.0/samples/matter/common/src/binding/binding_handler.cpp#L123-L129&lt;/a&gt;. Preliminary investigation suggests that this is because the switch has no cluster ID saved for the light in the binding table. I will forward this finding internally to get a second opinion on this issue.&amp;nbsp;&lt;/p&gt;
[quote user="Tonyll"]&lt;p&gt;I found the addr2line doesn&amp;#39;t run from nRF Connect as given in Lesson 2, (vscode for windows with sdk 3.4.0 installed, I needed to find the program in the toolchain directory and run&lt;/p&gt;
&lt;p&gt;c:\ncs\toolchains\dcbdc366a1\opt\zephyr-sdk\gnu\arm-zephyr-eabi\bin\arm-zephyr-eabi-addr2line&amp;nbsp; -e build_dk/light_switch/zephyr/zephyr.elf 0x0001cb54&lt;/p&gt;
&lt;p&gt;Also the zephyr.elf file is in a sub directory of the build folder under the project name (different from Lesson 2)&lt;/p&gt;[/quote]
&lt;p&gt;The specific method is described in more detail in &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/exercise-2-11/"&gt;exercise 2&lt;/a&gt;, but I do notice that the path in the exercise is missing the &amp;quot;gnu&amp;quot; directory. I&amp;#39;ll report this internally.&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><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/569723?ContentTypeID=1</link><pubDate>Fri, 31 Jul 2026 08:36:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9c413932-484f-4863-92fb-c07e2b2a68b9</guid><dc:creator>Tonyll</dc:creator><description>&lt;p&gt;Please can someone respond to my enquiry&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/569617?ContentTypeID=1</link><pubDate>Wed, 29 Jul 2026 09:31:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:070265ee-4960-4a93-b138-0cbbc02582ab</guid><dc:creator>Tonyll</dc:creator><description>&lt;p&gt;Any feedback from my addr2line information?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/569472?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2026 14:26:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9afb083-90f8-4b16-9dde-0b5f8504fe70</guid><dc:creator>Tonyll</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The output of addr2line is -&amp;nbsp;C:/ncs/v3.4.0/zephyr/lib/libc/common/source/stdlib/abort.c:14&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I found the addr2line doesn&amp;#39;t run from nRF Connect as given in Lesson 2, (vscode for windows with sdk 3.4.0 installed, I needed to find the program in the toolchain directory and run&lt;/p&gt;
&lt;p&gt;c:\ncs\toolchains\dcbdc366a1\opt\zephyr-sdk\gnu\arm-zephyr-eabi\bin\arm-zephyr-eabi-addr2line&amp;nbsp; -e build_dk/light_switch/zephyr/zephyr.elf 0x0001cb54&lt;/p&gt;
&lt;p&gt;Also the zephyr.elf file is in a sub directory of the build folder under the project name (different from Lesson 2)&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Tony&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light Switch Sample - Kernel panic</title><link>https://devzone.nordicsemi.com/thread/569458?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2026 12:32:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b601867c-10f1-4a3a-8e08-3804fef7d7dc</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]E: Faulting instruction address (r15/pc): 0x0001cb54[/quote]
&lt;p&gt;Could you please follow the &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-intermediate/lessons/lesson-2-debugging/topic/build-errors-and-fatal-errors/#Addr2line"&gt;Addr2line method&lt;/a&gt; described in nRF Connect SDK Intermediate Lesson 2&amp;nbsp;to find out exactly where the fatal error occurs?&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>