<?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[M5Tough upload fails, can anyone help?]]></title><description><![CDATA[<h3>With Arduino 1.8.19</h3>
<h3>Windows10</h3>
<h3>Question</h3>
<p dir="auto">Hi, can anyone please help with my uploading problem?<br />
I have used M5Core2 successfully and now have M5Tough.<br />
I have loaded the M5Tough library and<br />
selected the correct board, M5Stack-Tough.<br />
I have selected the correct port when the M5Stack-Tough is plugged in.<br />
When I compile and upload any examples for M5Tough I get the following error message after a successful compile:</p>
<pre><code>Sketch uses 835953 bytes (63%) of program storage space. Maximum is 1310720 bytes.
Global variables use 40444 bytes (12%) of dynamic memory, leaving 287236 bytes for local variables. Maximum is 327680 bytes.
C:\Users\Gordon\AppData\Local\Arduino15\packages\m5stack\tools\esptool_py\3.3.0/esptool.exe --chip esp32 --port COM7 --baud 921600 --before default_reset --after hard_reset write_flash {upload.erase_cmd} -z --flash_mode dio --flash_freq 80m --flash_size 16MB 0x1000 C:\Users\Gordon\AppData\Local\Temp\arduino_build_195087/Time.ino.bootloader.bin 0x8000 C:\Users\Gordon\AppData\Local\Temp\arduino_build_195087/Time.ino.partitions.bin 0xe000 C:\Users\Gordon\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.5/tools/partitions/boot_app0.bin 0x10000 C:\Users\Gordon\AppData\Local\Temp\arduino_build_195087/Time.ino.bin 

usage: esptool write_flash [-h] [--erase-all]
                           [--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}]
                           [--flash_mode {keep,qio,qout,dio,dout}]
                           [--flash_size FLASH_SIZE]
                           [--spi-connection SPI_CONNECTION] [--no-progress]
                           [--verify] [--encrypt]
                           [--encrypt-files &lt;address&gt; &lt;filename&gt; [&lt;address&gt; &lt;filename&gt; ...]]
                           [--ignore-flash-encryption-efuse-setting]
                           [--compress | --no-compress]
                           &lt;address&gt; &lt;filename&gt; [&lt;address&gt; &lt;filename&gt; ...]
esptool write_flash: error: argument &lt;address&gt; &lt;filename&gt;: Address "{upload.erase_cmd}" must be a number
esptool write_flash: error: argument &lt;address&gt; &lt;filename&gt;: Address "{upload.erase_cmd}" must be a number
</code></pre>
<p dir="auto">Any help to identify what is causing this error would be welcome.<br />
Thanks.</p>
]]></description><link>https://community.m5stack.com/topic/4760/m5tough-upload-fails-can-anyone-help</link><generator>RSS for Node</generator><lastBuildDate>Tue, 28 Apr 2026 21:59:58 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4760.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 28 Oct 2022 17:42:11 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Tough upload fails, can anyone help? on Mon, 31 Oct 2022 20:03:14 GMT]]></title><description><![CDATA[<p dir="auto">Thank you.<br />
I hope M5 or espressif can fix this bug soon.</p>
]]></description><link>https://community.m5stack.com/post/19176</link><guid isPermaLink="true">https://community.m5stack.com/post/19176</guid><dc:creator><![CDATA[GordonD]]></dc:creator><pubDate>Mon, 31 Oct 2022 20:03:14 GMT</pubDate></item><item><title><![CDATA[Reply to M5Tough upload fails, can anyone help? on Sat, 29 Oct 2022 21:32:28 GMT]]></title><description><![CDATA[<p dir="auto">Have a look here: <a href="/post/18906">esptool write_flash: error: argument : Address "{upload.erase_cmd}" must be a number</a></p>
]]></description><link>https://community.m5stack.com/post/19154</link><guid isPermaLink="true">https://community.m5stack.com/post/19154</guid><dc:creator><![CDATA[veryalien]]></dc:creator><pubDate>Sat, 29 Oct 2022 21:32:28 GMT</pubDate></item></channel></rss>