<?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>SDK 2.0.0 OpenThread CoAP Client sample stack overflow</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90711/sdk-2-0-0-openthread-coap-client-sample-stack-overflow</link><description>Using nRF Connect SDK v2.0.0 on Windows in VS Code. Hardware is a U-Blox BMD340 demo kit with nRF52840. 
 We&amp;#39;ve built and run the following OpenThread sample applications successfully: 
 C:\ncs\v2.0.0\nrf\samples\openthread\cli 
 C:\ncs\v2.0.0\nrf\samples</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 12 Aug 2022 06:38:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90711/sdk-2-0-0-openthread-coap-client-sample-stack-overflow" /><item><title>RE: SDK 2.0.0 OpenThread CoAP Client sample stack overflow</title><link>https://devzone.nordicsemi.com/thread/381271?ContentTypeID=1</link><pubDate>Fri, 12 Aug 2022 06:38:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5567ffa9-6b27-4ca6-a103-9219a34b6bbb</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s 1120.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 2.0.0 OpenThread CoAP Client sample stack overflow</title><link>https://devzone.nordicsemi.com/thread/381062?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2022 19:26:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3faf6f9d-2c57-410c-a305-25efd0ca0aad</guid><dc:creator>wkpolara</dc:creator><description>&lt;p&gt;In your build directory for the sample,&amp;nbsp;what is the generated value for&amp;nbsp;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE in the following file:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;build\zephyr\include\generated\autoconf.h&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;( i.e. C:\ncs\v2.0.0\nrf\samples\openthread\coap_client\build\zephyr\include\generated\autoconf.h)&lt;/p&gt;
&lt;p&gt;On ours with no overlays it is 1120.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 2.0.0 OpenThread CoAP Client sample stack overflow</title><link>https://devzone.nordicsemi.com/thread/381033?ContentTypeID=1</link><pubDate>Wed, 10 Aug 2022 13:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8accb7c-5d3e-4420-8c9e-80f99d549d56</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I test the client with nRF52840DKs and don&amp;#39;t get that error on&amp;nbsp;&lt;span&gt;step 3. Press Button 2 on the client node.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 2.0.0 OpenThread CoAP Client sample stack overflow</title><link>https://devzone.nordicsemi.com/thread/380639?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2022 13:56:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c3270f7a-2f64-48e0-aaba-448480c3faec</guid><dc:creator>wkpolara</dc:creator><description>&lt;p&gt;I removed the mtd overlay. I then created a new overlay file that only contained&amp;nbsp;&lt;span&gt;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE = 2048 and now the basic FTD CoAP client sample project is working and no longer crashing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Is this an error in the default sample setup?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 2.0.0 OpenThread CoAP Client sample stack overflow</title><link>https://devzone.nordicsemi.com/thread/380503?ContentTypeID=1</link><pubDate>Mon, 08 Aug 2022 06:38:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17541e84-acf8-44eb-818f-07298fc2f2ae</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Yes, as you see in the log, the stack error&amp;nbsp;is caused by the&amp;nbsp;&lt;span&gt;Stack overflow. Extendi&lt;/span&gt;ng the system workqueue stack size&amp;nbsp;&lt;span&gt;could help fix the issue.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 2.0.0 OpenThread CoAP Client sample stack overflow</title><link>https://devzone.nordicsemi.com/thread/380421?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 14:26:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0f34736-cbc6-4b57-9006-3d8d93407c79</guid><dc:creator>wkpolara</dc:creator><description>&lt;p&gt;PS - I notice that in the overlay-mtd.conf,&amp;nbsp;CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE = 2048.&lt;/p&gt;
&lt;p&gt;By default in the basic configuration, it is only set to 1120.&amp;nbsp; Is the default value not enough for the FTD basic demo?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 2.0.0 OpenThread CoAP Client sample stack overflow</title><link>https://devzone.nordicsemi.com/thread/380420?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 14:22:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f15d8a63-ec1a-40fa-9e50-0544f2a2c889</guid><dc:creator>wkpolara</dc:creator><description>&lt;p&gt;Hi Amanda,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve using only the basic configuration, prj.conf.&amp;nbsp; I have not added any of the overlay configurations.&amp;nbsp; I&amp;#39;m following the &amp;quot;Testing&amp;quot; section of this page:&amp;nbsp;&lt;a id="" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/openthread/coap_client/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/openthread/coap_client/README.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is on step 3. Press Button 2 on the client node that the stack overflow occurs.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I tried&amp;nbsp;building with overlay-mtd.conf, and in this configuration the stack overflow did not occur, and the CoAP light message is successfully sent to the server.&lt;/p&gt;
&lt;p&gt;However, I&amp;#39;m interested in getting the basic FTD demo working.&amp;nbsp; Have you been able to reproduce the issue?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Walt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 2.0.0 OpenThread CoAP Client sample stack overflow</title><link>https://devzone.nordicsemi.com/thread/380374?ContentTypeID=1</link><pubDate>Fri, 05 Aug 2022 12:23:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfd249de-5fd1-41b5-a9de-d194063b9971</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There are many configs under&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-nrf/tree/main/samples/openthread/coap_client"&gt;https://github.com/nrfconnect/sdk-nrf/tree/main/samples/openthread/coap_client&lt;/a&gt;. Which config are you using?&lt;/p&gt;
&lt;p&gt;Can you try to build with&amp;nbsp;&lt;span&gt;overlay-mtd.conf? It enables the Minimal Thread Device variant. See&amp;nbsp;&lt;/span&gt;&lt;a href="http://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/openthread/coap_client/README.html#id12"&gt;Configuration&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>