<?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>Zephyr k_sem_take failed with err -11</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/101935/zephyr-k_sem_take-failed-with-err--11</link><description>Assertion failed occurred when I power on nRF5340 board. The following is log messages of RTT Viewer. 
 00&amp;gt; *** Booting Zephyr OS build v3.2.99-ncs2 *** 00&amp;gt; [00:00:00.005,676] &amp;lt;inf&amp;gt; main: button long press test 00&amp;gt; 00&amp;gt; Starting button Test example 00</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Jul 2023 13:27:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/101935/zephyr-k_sem_take-failed-with-err--11" /><item><title>RE: Zephyr k_sem_take failed with err -11</title><link>https://devzone.nordicsemi.com/thread/437272?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 13:27:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35ade993-ee0a-4e4b-8fd6-b6e4a83cf522</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;I can&amp;rsquo;t see log messages from net core. How can I check this issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr k_sem_take failed with err -11</title><link>https://devzone.nordicsemi.com/thread/437248?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 12:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76cfc9d1-9c75-4402-9372-d044083c4d04</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Assertion fail occurs when a condition is not true or cannot execute. Please check the line 329 of hci_core.c and try modifying it.&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/pastedimage1689770211868v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr k_sem_take failed with err -11</title><link>https://devzone.nordicsemi.com/thread/436949?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 09:41:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35e97939-8c76-41b8-b59d-1740e6e8780d</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Why is assertion fail occurred?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr k_sem_take failed with err -11</title><link>https://devzone.nordicsemi.com/thread/436939?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 09:06:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baed3ffe-8d32-4f34-827e-6b72c4a732ac</guid><dc:creator>Priyanka</dc:creator><description>&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/pastedimage1689671158662v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr k_sem_take failed with err -11</title><link>https://devzone.nordicsemi.com/thread/436934?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 09:01:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0687a09f-aaa9-4d3a-9eaa-d73c13205ab6</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for your reply! There are three return values according &lt;a href="https://docs.zephyrproject.org/apidoc/latest/group__semaphore__apis.html#gac71e2383c1920dddc45a561cacfef090"&gt;API documentation for k_sem_take&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Return values&lt;/p&gt;
&lt;table class="retval"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td class="paramname"&gt;0&lt;/td&gt;
&lt;td&gt;Semaphore taken.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="paramname"&gt;-EBUSY&lt;/td&gt;
&lt;td&gt;Returned without waiting.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td class="paramname"&gt;-EAGAIN&lt;/td&gt;
&lt;td&gt;Waiting period timed out, or the semaphore was reset during the waiting period.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr k_sem_take failed with err -11</title><link>https://devzone.nordicsemi.com/thread/436932?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 08:58:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9070512c-a479-4067-a76f-06b48d50916c</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Please take a look at the &lt;a href="https://docs.zephyrproject.org/apidoc/latest/group__semaphore__apis.html#gac71e2383c1920dddc45a561cacfef090"&gt;API documentation for k_sem_take&lt;/a&gt;&amp;nbsp;. It shows the return value is 0.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr k_sem_take failed with err -11</title><link>https://devzone.nordicsemi.com/thread/436684?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 09:49:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c3df44e-b9af-49fd-9b50-c7c349bebb80</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8171.minimal_5F00_log_5F00_nus.zip"&gt;devzone.nordicsemi.com/.../8171.minimal_5F00_log_5F00_nus.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr k_sem_take failed with err -11</title><link>https://devzone.nordicsemi.com/thread/436683?ContentTypeID=1</link><pubDate>Mon, 17 Jul 2023 09:49:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fbdfc2ab-d0a4-4d1f-8a34-a03d122e2647</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Procedure to reproduce this issue is as follows.&lt;/p&gt;
&lt;p&gt;1. Unzipping &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8171.minimal_5F00_log_5F00_nus.zip"&gt;minimal_log_nus.zip&lt;/a&gt;&lt;br /&gt;1. cd D:\ncs\v2.3.0\nrf\samples\minimal_log_nus&lt;br /&gt;2. west build -b nrf5340dk_nrf5340_cpuapp&lt;br /&gt;3. west flash --recover&lt;br /&gt;4. Launching RTT Viewer and booting nRF5340 board.&lt;br /&gt;5. RTT Viewer shows &amp;quot;ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:329&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>