<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[FW 1.18.0 - increased boot time &#x2F; power consumption?]]></title><description><![CDATA[<p dir="auto">I noticed that boot of frozen application on FW 1.18.0 takes longer so I did some comparison. Frozen application is exactly the same in both builds. Property wifi_on_boot is set to False during initial boot after flashing and I verified that it is set to False before the tests were performed.</p>
<p dir="auto">FW 1.14.0.b1 - execution time ~1.15s, energy consumed during active cycle ~59uWh<br />
<img src="/assets/uploads/files/1528984336503-sw_0.9.6_on_fw_1.14.0.b1-resized.png" alt="0_1528984331557_SW_0.9.6_on_FW_1.14.0.b1.png" class="img-responsive img-markdown" /></p>
<p dir="auto">FW 1.18.0 - execution time ~1.94s, energy consumed during active cycle ~148uWh<br />
<img src="/assets/uploads/files/1528984410186-sw_0.9.6_on_fw_1.18.0-resized.png" alt="0_1528984405374_SW_0.9.6_on_FW_1.18.0.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Also peak current during LoRa transmission in the end of active cycle seems to be higher in case of FW 1.18.0 (~175mA vs ~107mA).</p>
<p dir="auto">There is also suspicious spike in the second half of active cycle reaching 284mA. I believe after this moment the (pre-compiled) Python code gets executed.</p>
<p dir="auto">What can be causing this behavior? Is WiFi radio really disabled during boot?</p>
]]></description><link>https://forum.pycom.io/topic/3377/fw-1-18-0-increased-boot-time-power-consumption</link><generator>RSS for Node</generator><lastBuildDate>Mon, 13 Apr 2026 08:48:21 GMT</lastBuildDate><atom:link href="https://forum.pycom.io/topic/3377.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 14 Jun 2018 14:00:12 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to FW 1.18.0 - increased boot time &#x2F; power consumption? on Thu, 14 Jun 2018 14:03:22 GMT]]></title><description><![CDATA[<p dir="auto">I noticed that boot of frozen application on FW 1.18.0 takes longer so I did some comparison. Frozen application is exactly the same in both builds. Property wifi_on_boot is set to False during initial boot after flashing and I verified that it is set to False before the tests were performed.</p>
<p dir="auto">FW 1.14.0.b1 - execution time ~1.15s, energy consumed during active cycle ~59uWh<br />
<img src="/assets/uploads/files/1528984336503-sw_0.9.6_on_fw_1.14.0.b1-resized.png" alt="0_1528984331557_SW_0.9.6_on_FW_1.14.0.b1.png" class="img-responsive img-markdown" /></p>
<p dir="auto">FW 1.18.0 - execution time ~1.94s, energy consumed during active cycle ~148uWh<br />
<img src="/assets/uploads/files/1528984410186-sw_0.9.6_on_fw_1.18.0-resized.png" alt="0_1528984405374_SW_0.9.6_on_FW_1.18.0.png" class="img-responsive img-markdown" /></p>
<p dir="auto">Also peak current during LoRa transmission in the end of active cycle seems to be higher in case of FW 1.18.0 (~175mA vs ~107mA).</p>
<p dir="auto">There is also suspicious spike in the second half of active cycle reaching 284mA. I believe after this moment the (pre-compiled) Python code gets executed.</p>
<p dir="auto">What can be causing this behavior? Is WiFi radio really disabled during boot?</p>
]]></description><link>https://forum.pycom.io/post/20291</link><guid isPermaLink="true">https://forum.pycom.io/post/20291</guid><dc:creator><![CDATA[danielm]]></dc:creator><pubDate>Thu, 14 Jun 2018 14:03:22 GMT</pubDate></item><item><title><![CDATA[Reply to FW 1.18.0 - increased boot time &#x2F; power consumption? on Fri, 15 Jun 2018 09:06:30 GMT]]></title><description><![CDATA[<p dir="auto">I did some more testing using very simple application built as frozen _main.py:</p>
<pre><code>import machine
import pycom
import os

pycom.wifi_on_boot(False)
print(os.uname())
machine.deepsleep()
</code></pre>
<p dir="auto">Following Xtensa compiler was used for both builds:<br />
<a href="https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz" target="_blank" rel="noopener noreferrer nofollow">https://dl.espressif.com/dl/xtensa-esp32-elf-linux64-1.22.0-80-g6c4433a-5.2.0.tar.gz</a></p>
<p dir="auto">FW 1.14.0.b1 with last commit 5bb7bc2941919e35953e2dd47e77f5a11eefa82a was built with SDK with last commit be424097224394c29ec927d5f197e061c9ce8800.<br />
<img src="/assets/uploads/files/1529053452496-test_app_fw_1.14.0.b1-resized.png" alt="0_1529053446263_test_app_FW_1.14.0.b1.png" class="img-responsive img-markdown" /></p>
<p dir="auto">FW 1.18.0 with last commit 4481a1c283be97640592ea2a0440830e336064de was built with SDK with last commit 4eab4e1b0e47c73b858c6b29d357f3d30a69c074.<br />
<img src="/assets/uploads/files/1529053461370-test_app_fw_1.18.0-resized.png" alt="0_1529053455543_test_app_FW_1.18.0.png" class="img-responsive img-markdown" /></p>
<p dir="auto">It's obvious that execution is significantly slower on 1.18.0. It literally takes away years of operation in case of battery powered sensors which are in deep-sleep most of the time.</p>
]]></description><link>https://forum.pycom.io/post/20303</link><guid isPermaLink="true">https://forum.pycom.io/post/20303</guid><dc:creator><![CDATA[danielm]]></dc:creator><pubDate>Fri, 15 Jun 2018 09:06:30 GMT</pubDate></item><item><title><![CDATA[Reply to FW 1.18.0 - increased boot time &#x2F; power consumption? on Mon, 09 Jul 2018 12:35:09 GMT]]></title><description><![CDATA[<p dir="auto">To me it looks like it stays awake longer than before. The rest looks similar.</p>
<p dir="auto">Did you make any progress with this?</p>
]]></description><link>https://forum.pycom.io/post/20723</link><guid isPermaLink="true">https://forum.pycom.io/post/20723</guid><dc:creator><![CDATA[Sympatron]]></dc:creator><pubDate>Mon, 09 Jul 2018 12:35:09 GMT</pubDate></item><item><title><![CDATA[Reply to FW 1.18.0 - increased boot time &#x2F; power consumption? on Thu, 19 Jul 2018 09:04:10 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/2410">@sympatron</a><br />
No I did not. Daniel mentioned that it might have something to do with secure boot feature which was introduced in between tested releases.</p>
]]></description><link>https://forum.pycom.io/post/20966</link><guid isPermaLink="true">https://forum.pycom.io/post/20966</guid><dc:creator><![CDATA[danielm]]></dc:creator><pubDate>Thu, 19 Jul 2018 09:04:10 GMT</pubDate></item><item><title><![CDATA[Reply to FW 1.18.0 - increased boot time &#x2F; power consumption? on Thu, 19 Jul 2018 13:32:54 GMT]]></title><description><![CDATA[<p dir="auto">hi <a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/433">@danielm</a>, are you using features like Secure Boot and Flash Encryption, ie. <code>make SECURE=on</code> ?</p>
<p dir="auto">If you have testing setup prepared, could you take consecutive builds from 1.14 to 1.18? It would help us to spot the problem faster.</p>
]]></description><link>https://forum.pycom.io/post/20978</link><guid isPermaLink="true">https://forum.pycom.io/post/20978</guid><dc:creator><![CDATA[catalin]]></dc:creator><pubDate>Thu, 19 Jul 2018 13:32:54 GMT</pubDate></item><item><title><![CDATA[Reply to FW 1.18.0 - increased boot time &#x2F; power consumption? on Thu, 19 Jul 2018 13:39:45 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1969">@catalin</a><br />
I don't use <code>make SECURE=on</code>.<br />
I have only built 1.14.0 and 1.18.0 with the simple app mentioned above.<br />
During next week I will try to find time to to build releases in between and test them. If you manage to do that sooner it would be even better :)</p>
]]></description><link>https://forum.pycom.io/post/20979</link><guid isPermaLink="true">https://forum.pycom.io/post/20979</guid><dc:creator><![CDATA[danielm]]></dc:creator><pubDate>Thu, 19 Jul 2018 13:39:45 GMT</pubDate></item><item><title><![CDATA[Reply to FW 1.18.0 - increased boot time &#x2F; power consumption? on Fri, 05 Oct 2018 13:08:51 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://forum.pycom.io/uid/1969">@catalin</a><br />
I finally managed to perform tests of releases between 1.14.0.b1 and 1.18.0.b1.</p>
<p dir="auto">Otii ARK traces are available here:<br />
<a href="https://drive.google.com/open?id=1kIZL0HJHn_dEIPDM_jv6fEhDhb_Ukfqj" target="_blank" rel="noopener noreferrer nofollow">https://drive.google.com/open?id=1kIZL0HJHn_dEIPDM_jv6fEhDhb_Ukfqj</a></p>
<p dir="auto">Significant execution time increase occured between versions:<br />
1.17.0.b1:<br />
MP: d0dc708a0197d2900a5620648725794a1fb5c8f3<br />
IDF: 3b54cd7473aefdb8b75531a21ce340c4bd2221da<br />
and<br />
1.17.2.b1:<br />
MP: 1bf377b08e2162e8534b6cbe78dcdeeb930f64b8<br />
IDF: 4eab4e1b0e47c73b858c6b29d357f3d30a69c074</p>
]]></description><link>https://forum.pycom.io/post/22720</link><guid isPermaLink="true">https://forum.pycom.io/post/22720</guid><dc:creator><![CDATA[danielm]]></dc:creator><pubDate>Fri, 05 Oct 2018 13:08:51 GMT</pubDate></item></channel></rss>