<?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[Problems with powerOFF() (Guru Meditation)]]></title><description><![CDATA[<p dir="auto">Even with the simple PowerOFF example included I get a Guru when I try to shut it down, resulting in automatic restart.<br />
Same result if I run it on USB, the M5 (red) battery module or the Go Battery module.</p>
<p dir="auto">Any suggestions?</p>
<p dir="auto">Module: Core Basic<br />
Error:<br />
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.<br />
Core 1 register dump:<br />
PC      : 0x400e2c28  PS      : 0x00060130  A0      : 0x800d3786  A1      : 0x3ffb1f30<br />
A2      : 0x00000000  A3      : 0x3ffbf75c  A4      : 0x00000001  A5      : 0x0000001d<br />
A6      : 0x00000000  A7      : 0x3ffb0060  A8      : 0x800e2e02  A9      : 0x3ffb1f10<br />
A10     : 0x00000014  A11     : 0x0000001d  A12     : 0x00000001  A13     : 0x00000007<br />
A14     : 0x00000020  A15     : 0x3ffb0060  SAR     : 0x00000005  EXCCAUSE: 0x0000001c<br />
EXCVADDR: 0x00000134  LBEG    : 0x4000c2e0  LEND    : 0x4000c2f6  LCOUNT  : 0x00000000</p>
<p dir="auto">Backtrace: 0x400e2c28:0x3ffb1f30 0x400d3783:0x3ffb1f60 0x400d1136:0x3ffb1f90 0x400d7e5d:0x3ffb1fb0 0x40089819:0x3ffb1fd0</p>
<p dir="auto">Rebooting...</p>
]]></description><link>https://community.m5stack.com/topic/1526/problems-with-poweroff-guru-meditation</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 02:26:18 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/1526.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 06 Dec 2019 08:49:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Problems with powerOFF() (Guru Meditation) on Fri, 06 Dec 2019 11:31:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/option" aria-label="Profile: option">@<bdi>option</bdi></a> pls check the lib version is latest.  and confirm the board select m5stack -core</p>
]]></description><link>https://community.m5stack.com/post/6624</link><guid isPermaLink="true">https://community.m5stack.com/post/6624</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Fri, 06 Dec 2019 11:31:13 GMT</pubDate></item><item><title><![CDATA[Reply to Problems with powerOFF() (Guru Meditation) on Fri, 06 Dec 2019 11:16:05 GMT]]></title><description><![CDATA[<p dir="auto">I use the included PowerOFF example.<br />
Deepsleep works fine.</p>
<p dir="auto">Here it is, I use it unmodified.<br />
As soon as I push btn A it reboots with the guru error.</p>
<p dir="auto">#include &lt;M5Stack.h&gt;</p>
<p dir="auto">// the setup routine runs once when M5Stack starts up<br />
void setup(){</p>
<p dir="auto">// initialize the M5Stack object<br />
M5.begin();</p>
<p dir="auto">/*<br />
Power chip connected to gpio21, gpio22, I2C device<br />
Set battery charging voltage and current<br />
If used battery, please call this function in your project<br />
*/<br />
M5.Power.begin();</p>
<p dir="auto">// Lcd display<br />
M5.Lcd.println("This is software power off demo");<br />
M5.Lcd.println("Press the button A to power off.");<br />
}</p>
<p dir="auto">// the loop routine runs over and over again forever<br />
void loop() {</p>
<p dir="auto">if(M5.BtnA.wasPressed()) {<br />
M5.Power.powerOFF();<br />
}</p>
<p dir="auto">M5.update();<br />
}</p>
]]></description><link>https://community.m5stack.com/post/6621</link><guid isPermaLink="true">https://community.m5stack.com/post/6621</guid><dc:creator><![CDATA[option]]></dc:creator><pubDate>Fri, 06 Dec 2019 11:16:05 GMT</pubDate></item><item><title><![CDATA[Reply to Problems with powerOFF() (Guru Meditation) on Fri, 06 Dec 2019 10:40:09 GMT]]></title><description><![CDATA[<p dir="auto">could you paste your code to here.</p>
]]></description><link>https://community.m5stack.com/post/6619</link><guid isPermaLink="true">https://community.m5stack.com/post/6619</guid><dc:creator><![CDATA[m5stack]]></dc:creator><pubDate>Fri, 06 Dec 2019 10:40:09 GMT</pubDate></item></channel></rss>