<?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[Unable to load new FW from Arduino IDE.]]></title><description><![CDATA[<p dir="auto">I had no trouble with previous devices from CORE2 (2 test units), I did order 20 units to proceed, but none of them work.<br />
I have donde even a very simple Arduino Program with no luck, also tried my original program that is working with the 2 initial units</p>
<p dir="auto">__<br />
It thorws this exception:</p>
<p dir="auto">ERROR A stack overflow in task IDLE1 has been detected.<br />
abort() was called at PC 0x40088bfc on core 1</p>
<pre><code>//#include &lt;M5Core2.h&gt;
//#include &lt;M5Unified.h&gt;
void setup() {
  Serial.begin(115200);
  //M5.begin();
  Serial.println("f(setup)");

}
void loop() {
  //M5.update();
}
</code></pre>
<p dir="auto">ELF file SHA256: 0000000000000000<br />
Backtrace: 0x40088974:0x3ffba560 0x40088be5:0x3ffba580 0x40088bfc:0x3ffba5a0 0x4008a4de:0x3ffba5c0 0x4008be74:0x3ffba5e0 0x4008be2a:0xa5a5a5a5<br />
Rebooting...</p>
]]></description><link>https://community.m5stack.com/topic/5160/unable-to-load-new-fw-from-arduino-ide</link><generator>RSS for Node</generator><lastBuildDate>Wed, 29 Apr 2026 02:45:54 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/5160.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Mar 2023 02:07:35 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Unable to load new FW from Arduino IDE. on Tue, 28 Mar 2023 14:00:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teastain" aria-label="Profile: teastain">@<bdi>teastain</bdi></a> This is en backtrace decoded:</p>
<p dir="auto">PC: 0x04d25826<br />
EXCVADDR: 0x04d25824</p>
<p dir="auto">Decoding stack results<br />
0x40090d71: prvIdleTask at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/tasks.c line 3382<br />
0x4008f5b6: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143</p>
]]></description><link>https://community.m5stack.com/post/20467</link><guid isPermaLink="true">https://community.m5stack.com/post/20467</guid><dc:creator><![CDATA[fbritop]]></dc:creator><pubDate>Tue, 28 Mar 2023 14:00:23 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to load new FW from Arduino IDE. on Tue, 28 Mar 2023 12:15:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teastain" aria-label="Profile: teastain">@<bdi>teastain</bdi></a> This is not the problem. I have tried with the original code that is working on other 2 units and does not work also.</p>
]]></description><link>https://community.m5stack.com/post/20464</link><guid isPermaLink="true">https://community.m5stack.com/post/20464</guid><dc:creator><![CDATA[fbritop]]></dc:creator><pubDate>Tue, 28 Mar 2023 12:15:21 GMT</pubDate></item><item><title><![CDATA[Reply to Unable to load new FW from Arduino IDE. on Tue, 28 Mar 2023 04:36:28 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/fbritop" aria-label="Profile: fbritop">@<bdi>fbritop</bdi></a> I would put a delay(100); in the Loop:<br />
You can get a race condition where the scan time is shorter than the esptool reaction and it could be "too busy" to stop and upload.<br />
If this is the case it will take some finagling to reset the upload mode.<br />
Usually just pressing the reset key on the top side, at different times until you get in time.</p>
]]></description><link>https://community.m5stack.com/post/20460</link><guid isPermaLink="true">https://community.m5stack.com/post/20460</guid><dc:creator><![CDATA[teastain]]></dc:creator><pubDate>Tue, 28 Mar 2023 04:36:28 GMT</pubDate></item></channel></rss>