<?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[Program runs on StickC but won&#x27;t turn back on after power cycle]]></title><description><![CDATA[<p dir="auto">I have a large program which I developed on a TinyPico, and now want to run it on the StickC.</p>
<p dir="auto">It runs fine on M5StickC after flashing the first time. If I turn the stick off by holding the power button for &gt; 6 seconds, it turns off ok. My problem is, if I then use the same button it will not turn back on. I've tried for a brief press, and up also &gt; 2 seconds.</p>
<p dir="auto">If I reflash the same program, it will not start.</p>
<p dir="auto">The only way I can get it to run again is to flash any of the example Stick C programs, then flash my program again and it works until I power down again. My program <strong>does not use</strong> #include &lt;M5StickC.h&gt;. Does my program need to include this file and instantiate M5.begin(); for the power button to work ok?</p>
<p dir="auto">Thanks!</p>
]]></description><link>https://community.m5stack.com/topic/2261/program-runs-on-stickc-but-won-t-turn-back-on-after-power-cycle</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 19:36:44 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2261.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 01 Sep 2020 12:41:48 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Program runs on StickC but won&#x27;t turn back on after power cycle on Thu, 03 Sep 2020 08:01:54 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/patf" aria-label="Profile: patf">@<bdi>patf</bdi></a></p>
<p dir="auto">I just ran a test with an empty program (empty setup and loop functions) and yes, with that M5StickC can be turned off, but not turned on again via power button.</p>
<p dir="auto">Including M5StickC.h and instantiate M5.begin() fixes the power button and the device can be turned on again with a short press.</p>
<p dir="auto">Background info: M5.begin() calls M5.Apx.begin() which then properly sets up the PMU AXP192 chip in the M5StackC.</p>
<p dir="auto">Cheers<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/9919</link><guid isPermaLink="true">https://community.m5stack.com/post/9919</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 03 Sep 2020 08:01:54 GMT</pubDate></item></channel></rss>