<?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 error on Arduino upload]]></title><description><![CDATA[<p dir="auto">Hi, I have a new M5Paper 1.1 and Arduino 1.8.19.<br />
I have selected the board M5Stack-Paper and the port.<br />
With my M5Core2 I have no problems, but when I compile and upload any program to M5Paper I get the following error message:<br />
Arduino: 1.8.19 (Windows 10), Board: "M5Stack-Paper, Enabled, Default (2 x 6.5 MB app, 3.6 MB SPIFFS), 240MHz (WiFi/BT), 921600, None"</p>
<p dir="auto">Sketch uses 415801 bytes (6%) of program storage space. Maximum is 6553600 bytes.<br />
Global variables use 18392 bytes (0%) of dynamic memory, leaving 4503592 bytes for local variables. Maximum is 4521984 bytes.<br />
usage: esptool write_flash [-h] [--erase-all]<br />
[--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}]<br />
[--flash_mode {keep,qio,qout,dio,dout}]<br />
[--flash_size FLASH_SIZE]<br />
[--spi-connection SPI_CONNECTION] [--no-progress]<br />
[--verify] [--encrypt]<br />
[--encrypt-files &lt;address&gt; &lt;filename&gt; [&lt;address&gt; &lt;filename&gt; ...&rsqb;&rsqb;<br />
[--ignore-flash-encryption-efuse-setting]<br />
[--compress | --no-compress]<br />
&lt;address&gt; &lt;filename&gt; [&lt;address&gt; &lt;filename&gt; ...]</p>
<p dir="auto">esptool write_flash: error: argument &lt;address&gt; &lt;filename&gt;: Address "{upload.erase_cmd}" must be a number<br />
esptool write_flash: error: argument &lt;address&gt; &lt;filename&gt;: Address "{upload.erase_cmd}" must be a number</p>
<p dir="auto">Can anyone help with this?</p>
]]></description><link>https://community.m5stack.com/topic/4741/m5paper-error-on-arduino-upload</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Mar 2026 08:20:23 GMT</lastBuildDate><atom:link href="https://community.m5stack.com/topic/4741.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 22 Oct 2022 00:00:18 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to M5Paper error on Arduino upload on Sat, 22 Oct 2022 17:43:30 GMT]]></title><description><![CDATA[<p dir="auto">During compile I found this error message:<br />
Multiple libraries were found for "SD.h"<br />
Used: C:\Users\Gordon\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.5\libraries\SD<br />
Not used: C:\Program Files (x86)\Arduino\libraries\SD<br />
Multiple libraries were found for "WiFiClient.h"<br />
Used: C:\Users\Gordon\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.5\libraries\WiFi<br />
Not used: C:\Program Files (x86)\Arduino\libraries\WiFi<br />
"C:\Users\Gordon\AppData\Local\Arduino15\packages\m5stack\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3/bin/xtensa-esp32-elf-ar" cr "C:\Users\Gordon\AppData\Local\Temp\arduino_build_476900\core\core.a" "C:\Users\Gordon\AppData\Local\Temp\arduino_build_476900\core\esp32-hal-rgb-led.c.o"<br />
remove core\core.a: The process cannot access the file because it is being used by another process.<br />
"C:\Users\Gordon\AppData\Local\Arduino15\packages\m5stack\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3/bin/xtensa-esp32-elf-ar" cr "C:\Users\Gordon\AppData\Local\Temp\arduino_build_476900\core\core.a" "C:\Users\Gordon\AppData\Local\Temp\arduino_build_476900\core\esp32-hal-rmt.c.o"<br />
Error compiling for board M5Stack-Paper.</p>
<p dir="auto">and then after compile I get this:<br />
"C:\Users\Gordon\AppData\Local\Arduino15\packages\m5stack\tools\xtensa-esp32-elf-gcc\gcc8_4_0-esp-2021r2-patch3/bin/xtensa-esp32-elf-size" -A "C:\Users\Gordon\AppData\Local\Temp\arduino_build_476900/M5Paper_Hello_World.ino.elf"<br />
Sketch uses 415801 bytes (6%) of program storage space. Maximum is 6553600 bytes.<br />
Global variables use 18392 bytes (0%) of dynamic memory, leaving 4503592 bytes for local variables. Maximum is 4521984 bytes.<br />
C:\Users\Gordon\AppData\Local\Arduino15\packages\m5stack\tools\esptool_py\3.3.0/esptool.exe --chip esp32 --port COM6 --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_476900/M5Paper_Hello_World.ino.bootloader.bin 0x8000 C:\Users\Gordon\AppData\Local\Temp\arduino_build_476900/M5Paper_Hello_World.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_476900/M5Paper_Hello_World.ino.bin<br />
usage: esptool write_flash [-h] [--erase-all]<br />
[--flash_freq {keep,80m,60m,48m,40m,30m,26m,24m,20m,16m,15m,12m}]<br />
[--flash_mode {keep,qio,qout,dio,dout}]<br />
[--flash_size FLASH_SIZE]<br />
[--spi-connection SPI_CONNECTION] [--no-progress]<br />
[--verify] [--encrypt]<br />
[--encrypt-files &lt;address&gt; &lt;filename&gt; [&lt;address&gt; &lt;filename&gt; ...&rsqb;&rsqb;<br />
[--ignore-flash-encryption-efuse-setting]<br />
[--compress | --no-compress]<br />
&lt;address&gt; &lt;filename&gt; [&lt;address&gt; &lt;filename&gt; ...]<br />
esptool write_flash: error: argument &lt;address&gt; &lt;filename&gt;: Address "{upload.erase_cmd}" must be a number<br />
esptool write_flash: error: argument &lt;address&gt; &lt;filename&gt;: Address "{upload.erase_cmd}" must be a number</p>
]]></description><link>https://community.m5stack.com/post/19074</link><guid isPermaLink="true">https://community.m5stack.com/post/19074</guid><dc:creator><![CDATA[GordonD]]></dc:creator><pubDate>Sat, 22 Oct 2022 17:43:30 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper error on Arduino upload on Sat, 22 Oct 2022 16:15:02 GMT]]></title><description><![CDATA[<p dir="auto">can you capture the beginning of the write attempt just after compile?</p>
]]></description><link>https://community.m5stack.com/post/19073</link><guid isPermaLink="true">https://community.m5stack.com/post/19073</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 22 Oct 2022 16:15:02 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper error on Arduino upload on Sat, 22 Oct 2022 13:01:03 GMT]]></title><description><![CDATA[<p dir="auto">Hi, when I plug in M5Paper COM port 6 appears and I have selected it, but still get that error message.<br />
<img src="/assets/uploads/files/1666443338799-2022-10-22-resized.png" alt="0_1666443335297_2022-10-22.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I have also used Easyloader to upload Calculator and Factory Test successfully and that showed COM port 6.</p>
]]></description><link>https://community.m5stack.com/post/19070</link><guid isPermaLink="true">https://community.m5stack.com/post/19070</guid><dc:creator><![CDATA[GordonD]]></dc:creator><pubDate>Sat, 22 Oct 2022 13:01:03 GMT</pubDate></item><item><title><![CDATA[Reply to M5Paper error on Arduino upload on Sat, 22 Oct 2022 06:54:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="mention plugin-mentions-user plugin-mentions-a" href="https://community.m5stack.com/uid/28013">@gordond</a> You haven't selected the com port that the m5Paper is connected to.</p>
]]></description><link>https://community.m5stack.com/post/19065</link><guid isPermaLink="true">https://community.m5stack.com/post/19065</guid><dc:creator><![CDATA[ajb2k3]]></dc:creator><pubDate>Sat, 22 Oct 2022 06:54:41 GMT</pubDate></item></channel></rss>