<?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>otLinkSetChannel leads to hard fault when call from Zephyr-thread</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/77642/otlinksetchannel-leads-to-hard-fault-when-call-from-zephyr-thread</link><description>Hey, 
 when i call: 
 otLinkSetChannel(OTInstance, ThreadChannelToUse); 
 from the very beginning of the programm: 
 void main(void) { int ret; ret = InitLEDs(); InitTemperatureMeasurement(); InitUART(); // Setup default configuration ProcessReceivedUARTMessage</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Jul 2021 13:08:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/77642/otlinksetchannel-leads-to-hard-fault-when-call-from-zephyr-thread" /><item><title>RE: otLinkSetChannel leads to hard fault when call from Zephyr-thread</title><link>https://devzone.nordicsemi.com/thread/320703?ContentTypeID=1</link><pubDate>Mon, 19 Jul 2021 13:08:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4cdc65a-f62c-4bfc-8155-756a65a0d350</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;The hard fault may be a consequence of a stack overflow, check out Error Handling--&amp;gt;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/getting-started/posts/nrf-connect-sdk-tutorial---part-3-ncs-v1-4-0#mcetoc_1f4cg7h4q0"&gt;3.4 Other tips and tools&lt;/a&gt;&amp;nbsp;for instructions how to debug this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>