<?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[M5 Stack Core2 Firmware Stops Working on Reboot]]></title><description><![CDATA[<p dir="auto">If I unplug my core2 from USB and let the battery go, when I turn it back on my video and sound no longer works, but my firmware is still running. I can tell because it's dumping to the serial port.<br />
I can "fix" it by using M5 Burner, burning the factory firmware, and then reburning my hardware. This isn't usable like this.<br />
Is my unit defective? What gives?<br />
Here's a reproduction. It must be compiled under Platform IO.<br />
<a href="https://github.com/codewitch-honey-crisis/empty_m5stack_core2" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/codewitch-honey-crisis/empty_m5stack_core2</a></p>
]]></description><link>https://community.m5stack.com/topic/4450/m5-stack-core2-firmware-stops-working-on-reboot</link><generator>RSS for Node</generator><lastBuildDate>Tue, 12 May 2026 18:49:47 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4450.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 21 Jul 2022 12:14:25 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5 Stack Core2 Firmware Stops Working on Reboot on Thu, 21 Jul 2022 15:16:44 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/codewitch" aria-label="Profile: codewitch">@<bdi>codewitch</bdi></a></p>
<p dir="auto">good news - your M5Core2 most likely is not defective. For me the issue is happening independently of whether M5Core2 is running from USB or battery. It always happens after a complete power loss. The reason it is not working as expected is that for some functions dealing with voltages you declared the parameter as float but then call them with big non float values. Here is what I changed in <code>m5core2_power.cpp</code> to make it work:</p>
<pre><code>//--fm  Wire1.begin(22,23);
  Wire1.begin(21,22);

//--fm  mcu_voltage(3350);
  mcu_voltage(3.350);
  
//--fm  lcd_voltage(2800);
  lcd_voltage(2.800);
  
//--fm  ldo_voltage(2, 3300);  //Periph power voltage preset (LCD_logic, SD card)
  ldo_voltage(2, 3.300);  //Periph power voltage preset (LCD_logic, SD card)
  
//--fm  ldo_voltage(3, 2000);  //Vibrator power voltage preset
  ldo_voltage(3, 2.000);  //Vibrator power voltage preset
</code></pre>
<p dir="auto">Thanks<br />
Felix</p>
]]></description><link>https://community.m5stack.com/post/18020</link><guid isPermaLink="true">https://community.m5stack.com/post/18020</guid><dc:creator><![CDATA[felmue]]></dc:creator><pubDate>Thu, 21 Jul 2022 15:16:44 GMT</pubDate></item></channel></rss>