<?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>Lockup with SDK12.3 with FreeRTOS power consumption fix.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28260/lockup-with-sdk12-3-with-freertos-power-consumption-fix</link><description>I&amp;#39;ve recently discovered the power consumption issue with FreeRTOS and SDK12.3:
 devzone.nordicsemi.com/.../ 
 So, I am now using SDK12.3 with SDK13.1 FreeRTOS files. 
 The power consumption is back to normal, however the modified files are producing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 16 Dec 2017 00:43:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28260/lockup-with-sdk12-3-with-freertos-power-consumption-fix" /><item><title>RE: Lockup with SDK12.3 with FreeRTOS power consumption fix.</title><link>https://devzone.nordicsemi.com/thread/111629?ContentTypeID=1</link><pubDate>Sat, 16 Dec 2017 00:43:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7caa2a0a-c7a8-4340-afeb-61df554b2fd6</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;the only files used from sdk 14.2 were the those in external/freertos.
the only modification needed was just a renaming of the softdevice handler:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;#include &amp;quot;nrf_sdh.h&amp;quot; --&amp;gt; #include &amp;quot;softdevice_handler.h&amp;quot;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;&lt;code&gt;if (nrf_sdh_is_enabled()) --&amp;gt; if (softdevice_handler_is_enabled())&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lockup with SDK12.3 with FreeRTOS power consumption fix.</title><link>https://devzone.nordicsemi.com/thread/111628?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 22:32:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d0bd031-a2d8-4b2b-9db6-56bd91c81924</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;Awesome to hear.  How was the migrate of the external/ files?   If I recall there are some integration measure to get it to compile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lockup with SDK12.3 with FreeRTOS power consumption fix.</title><link>https://devzone.nordicsemi.com/thread/111627?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 22:27:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1bc9cc2-83a1-4647-a437-5f5e5073fd51</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;Using the FreeRTOS files from SDK14.2 resolves this issue......&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lockup with SDK12.3 with FreeRTOS power consumption fix.</title><link>https://devzone.nordicsemi.com/thread/111623?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 21:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c9123b0-a424-492f-92b9-7374d1216677</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;the task which handles softdevice events blocks on a semaphore given in the ble event handler.
all other RTOS tasks just block on queues waiting for things to do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lockup with SDK12.3 with FreeRTOS power consumption fix.</title><link>https://devzone.nordicsemi.com/thread/111626?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 20:53:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0010e49e-6f42-42ce-bc18-b1564c65dd35</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;Are you manually Suspending/Resuming Threads to save power?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lockup with SDK12.3 with FreeRTOS power consumption fix.</title><link>https://devzone.nordicsemi.com/thread/111625?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 20:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d569adea-5e7d-4677-80f2-e89c3fe8dce7</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;I was able to capture one of the ASSERT in tasks.c related to this line of code&amp;quot;  configASSERT( ( xTickCount + xTicksToJump ) &amp;lt;= xNextTaskUnblockTime );&lt;/p&gt;
&lt;p&gt;I think this is a bug in the freeRTOS source files&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lockup with SDK12.3 with FreeRTOS power consumption fix.</title><link>https://devzone.nordicsemi.com/thread/111624?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 20:32:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a5e298d1-3243-4094-8cd2-e7a2eb12fd79</guid><dc:creator>Justin</dc:creator><description>&lt;p&gt;i&amp;#39;ve removed NRF LOG (RTT) and some nrf interrupts so that the only active IRQs are RTC and the WDT (and softdevice activity).
the lockup still persists.
so it would seem to be freertos (/config) or softdevice related.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Lockup with SDK12.3 with FreeRTOS power consumption fix.</title><link>https://devzone.nordicsemi.com/thread/111622?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2017 01:04:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cebab63e-77b4-4829-b5d7-994a1ffa4c3c</guid><dc:creator>Dave_couling</dc:creator><description>&lt;p&gt;I&amp;#39;m using Priority 6 for my Timer_task priority.  Was getting odd behaviour when it was equal or less than other threads including BLE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>