<?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[M5STACK FIRE hangs on Serial.begin]]></title><description><![CDATA[<p dir="auto">Why doesn't this code work. It used to work fine. Any attempt to set the rate to 9600 hangs no matter where the Serial.begin is placed in the code it runs fine until it hits the Serial.begin();</p>
<p dir="auto">#include &lt;M5Stack.h&gt;</p>
<p dir="auto">void setup() {<br />
M5.begin();<br />
Serial.begin(9600);<br />
while (true) {Serial.println("works");}<br />
}<br />
void loop() {<br />
}</p>
<p dir="auto">The result I get with debug verbose and 115200 baud on the Serial Monitor  is<br />
[D][esp32-hal-psram.c:47] psramInit(): PSRAM enabled<br />
09:24:43.911 -&gt; M5Stack initializing...O⸮</p>
<p dir="auto">Then nothing</p>
]]></description><link>https://community.m5stack.com/topic/4186/m5stack-fire-hangs-on-serial-begin</link><generator>RSS for Node</generator><lastBuildDate>Thu, 30 Apr 2026 04:05:37 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4186.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 06 Apr 2022 15:30:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5STACK FIRE hangs on Serial.begin on Wed, 06 Apr 2022 19:47:14 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/ispybadguys" aria-label="Profile: ispybadguys">@<bdi>ispybadguys</bdi></a></p>
<p dir="auto">"SerialEnable =true" is set.</p>
<p dir="auto">System：begin()<br />
void begin(bool LCDEnable=true, bool SDEnable=true, bool SerialEnable=true, bool I2CEnable=false);<br />
<a href="https://github.com/m5stack/m5-docs/blob/master/docs/en/api/system.md" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/m5stack/m5-docs/blob/master/docs/en/api/system.md</a></p>
<p dir="auto">Exsample<br />
M5.begin(true, true, false, true);<br />
Serial.begin(9600);</p>
]]></description><link>https://community.m5stack.com/post/17111</link><guid isPermaLink="true">https://community.m5stack.com/post/17111</guid><dc:creator><![CDATA[macsbug]]></dc:creator><pubDate>Wed, 06 Apr 2022 19:47:14 GMT</pubDate></item></channel></rss>