<?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[M5Paper stuck in M5.begin();]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">I'm doing my first steps with the M5Paper and even the slightest examples often fail, because the device is stuck in the M5.begin() function - it never returns from it.</p>
<p dir="auto">With the next upload, it works again, slightest change - stuck again.</p>
<p dir="auto">I'm using Arduino IDE. Am I doing something wrong or is my device faulty?</p>
<p dir="auto">Best regards,</p>
<p dir="auto">Michael</p>
]]></description><link>https://community.m5stack.com/topic/2916/m5paper-stuck-in-m5-begin</link><generator>RSS for Node</generator><lastBuildDate>Sun, 12 Apr 2026 06:20:03 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/2916.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 08 Feb 2021 10:13:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Paper stuck in M5.begin(); on Thu, 11 Feb 2021 10:46:14 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6788">@michael_o</a></p>
<p dir="auto">you are welcome. I am glad to hear you got it working and thank you for reporting back here.</p>
<p dir="auto">Cheers<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/12440</link><guid isPermaLink="true">https://community.m5stack.com/post/12440</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 11 Feb 2021 10:46:14 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper stuck in M5.begin(); on Thu, 11 Feb 2021 09:09:29 GMT]]></title><description><![CDATA[<p dir="auto">That's right, it looks like that was the problem. Thank you very much. What a peculiar behaviour if you init Serial twice.</p>
<p dir="auto">Michael</p>
]]></description><link>https://community.m5stack.com/post/12437</link><guid isPermaLink="true">https://community.m5stack.com/post/12437</guid><dc:creator><![CDATA[michael_o]]></dc:creator><pubDate>Thu, 11 Feb 2021 09:09:29 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper stuck in M5.begin(); on Wed, 10 Feb 2021 15:02:34 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6788">@michael_o</a></p>
<p dir="auto">thanks. Most likely the issue is the double initialisation of <code>Serial</code>. If you have a look into <code>M5.begin()</code> you'll see that by default it initialises <code>Serial</code> as well.</p>
<pre><code>    if (SerialEnable == true)
    {
        Serial.begin(115200);
        Serial.flush();
        delay(50);
        Serial.print("M5EPD initializing...");
    }
</code></pre>
<p dir="auto">So I suggest you change your code to:</p>
<pre><code>#include &lt;M5EPD.h&gt;

M5EPD_Canvas canvas(&amp;M5.EPD);

void setup() {
  M5.begin();
  M5.EPD.Clear(true);
}

void loop() {
}
</code></pre>
<p dir="auto">Note: untested as my M5Paper currently is in a long term battery test.</p>
<p dir="auto">Hope this helps.</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/12416</link><guid isPermaLink="true">https://community.m5stack.com/post/12416</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 10 Feb 2021 15:02:34 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper stuck in M5.begin(); on Wed, 10 Feb 2021 13:41:02 GMT]]></title><description><![CDATA[<p dir="auto">Sure. Even this tiny example fails. It prints "Begin", but not the "initializing ... OK" which M5.begin() usually prints.</p>
<p dir="auto">#include &lt;M5EPD.h&gt;</p>
<p dir="auto">M5EPD_Canvas canvas(&amp;M5.EPD);</p>
<p dir="auto">void setup() {<br />
Serial.begin(115200);</p>
<p dir="auto">Serial.printf("Begin\n");<br />
delay(1000);</p>
<p dir="auto">M5.begin();<br />
M5.EPD.Clear(true);<br />
}</p>
<p dir="auto">void loop() {<br />
yield();<br />
}</p>
]]></description><link>https://community.m5stack.com/post/12414</link><guid isPermaLink="true">https://community.m5stack.com/post/12414</guid><dc:creator><![CDATA[michael_o]]></dc:creator><pubDate>Wed, 10 Feb 2021 13:41:02 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper stuck in M5.begin(); on Wed, 10 Feb 2021 09:56:35 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/6788">@michael_o</a></p>
<p dir="auto">would you mind sharing one of the examples which fails on your M5Paper?</p>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/12409</link><guid isPermaLink="true">https://community.m5stack.com/post/12409</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Wed, 10 Feb 2021 09:56:35 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper stuck in M5.begin(); on Tue, 09 Feb 2021 18:19:11 GMT]]></title><description><![CDATA[<p dir="auto">I'm not manually resetting it, no. But even if I reset it, it doesn't work.</p>
]]></description><link>https://community.m5stack.com/post/12390</link><guid isPermaLink="true">https://community.m5stack.com/post/12390</guid><dc:creator><![CDATA[michael_o]]></dc:creator><pubDate>Tue, 09 Feb 2021 18:19:11 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper stuck in M5.begin(); on Tue, 09 Feb 2021 18:02:26 GMT]]></title><description><![CDATA[<p dir="auto">Are you resetiing the M5Paper between each programming attempt?</p>
]]></description><link>https://community.m5stack.com/post/12387</link><guid isPermaLink="true">https://community.m5stack.com/post/12387</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Tue, 09 Feb 2021 18:02:26 GMT</pubDate></item></channel></rss>