<?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 will crash on connection when CONFIG_SERIAL is enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110717/matter-light-bulb-sample-will-crash-on-connection-when-config_serial-is-enabled</link><description>Hi there, 
 Please check logs and below data on ZEPHYR FATAL ERROR. Please let me know if you need any other info. 
 * Sample: Matter Light Bulb 
 * nRF Connect SDK version: 2.6.0 
 * HW: nRF21540-DK 
 * Behaviour: Device will crash on establishing a</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Apr 2024 16:37:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110717/matter-light-bulb-sample-will-crash-on-connection-when-config_serial-is-enabled" /><item><title>RE: Matter Light Bulb sample will crash on connection when CONFIG_SERIAL is enabled</title><link>https://devzone.nordicsemi.com/thread/481330?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2024 16:37:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4830e8b2-f1ea-4387-933c-617fb104ce22</guid><dc:creator>Ignacio</dc:creator><description>&lt;p&gt;I change the logging to use below config parameters:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;# Config logger&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_LOG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_MATTER_LOG_LEVEL_DBG&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_USE_SEGGER_RTT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_RTT_CONSOLE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_UART_CONSOLE&lt;/span&gt;&lt;span&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;That makes both the RTT logging and serial comms to work.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I also increase the&amp;nbsp;CONFIG_BT_RX_STACK_SIZE&amp;nbsp; from 1200 to 2400 just in case&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light Bulb sample will crash on connection when CONFIG_SERIAL is enabled</title><link>https://devzone.nordicsemi.com/thread/481307?ContentTypeID=1</link><pubDate>Tue, 30 Apr 2024 13:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee6e78fd-9d0f-416c-b67e-a06d5c7a1ae2</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The log indicated that the BT RX thread caused the fault.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Could you check the value of&amp;nbsp;CONFIG_BT_RX_STACK_SIZE in the.config file under build/zephyr and try to increase the value?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Matter Light Bulb sample will crash on connection when CONFIG_SERIAL is enabled</title><link>https://devzone.nordicsemi.com/thread/481177?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 20:01:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e95453b-bdce-4750-b221-8b189aa61067</guid><dc:creator>Ignacio</dc:creator><description>&lt;p&gt;Follow up:&lt;/p&gt;
&lt;p&gt;If only adding and no more changes than the line below, the device will not crash.&lt;/p&gt;
&lt;div&gt;&lt;span&gt;# Config UART&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_SERIAL&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;I wonder. Is there a conflict between activating matter logs and a serial port?&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>