Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. GordonD
    3. Posts
    G
    • Continue chat with GordonD
    • Start new chat with GordonD
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Posts made by GordonD

    • RE: M5Tough upload fails, can anyone help?

      Thank you.
      I hope M5 or espressif can fix this bug soon.

      posted in PRODUCTS
      G
      GordonD
    • M5Tough upload fails, can anyone help?

      With Arduino 1.8.19

      Windows10

      Question

      Hi, can anyone please help with my uploading problem?
      I have used M5Core2 successfully and now have M5Tough.
      I have loaded the M5Tough library and
      selected the correct board, M5Stack-Tough.
      I have selected the correct port when the M5Stack-Tough is plugged in.
      When I compile and upload any examples for M5Tough I get the following error message after a successful compile:

      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 <address> <filename> [<address> <filename> ...]]
                                 [--ignore-flash-encryption-efuse-setting]
                                 [--compress | --no-compress]
                                 <address> <filename> [<address> <filename> ...]
      esptool write_flash: error: argument <address> <filename>: Address "{upload.erase_cmd}" must be a number
      esptool write_flash: error: argument <address> <filename>: Address "{upload.erase_cmd}" must be a number
      

      Any help to identify what is causing this error would be welcome.
      Thanks.

      posted in PRODUCTS
      G
      GordonD
    • RE: M5Paper error on Arduino upload

      During compile I found this error message:
      Multiple libraries were found for "SD.h"
      Used: C:\Users\Gordon\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.5\libraries\SD
      Not used: C:\Program Files (x86)\Arduino\libraries\SD
      Multiple libraries were found for "WiFiClient.h"
      Used: C:\Users\Gordon\AppData\Local\Arduino15\packages\m5stack\hardware\esp32\2.0.5\libraries\WiFi
      Not used: C:\Program Files (x86)\Arduino\libraries\WiFi
      "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"
      remove core\core.a: The process cannot access the file because it is being used by another process.
      "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"
      Error compiling for board M5Stack-Paper.

      and then after compile I get this:
      "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"
      Sketch uses 415801 bytes (6%) of program storage space. Maximum is 6553600 bytes.
      Global variables use 18392 bytes (0%) of dynamic memory, leaving 4503592 bytes for local variables. Maximum is 4521984 bytes.
      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
      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 <address> <filename> [<address> <filename> ...]]
      [--ignore-flash-encryption-efuse-setting]
      [--compress | --no-compress]
      <address> <filename> [<address> <filename> ...]
      esptool write_flash: error: argument <address> <filename>: Address "{upload.erase_cmd}" must be a number
      esptool write_flash: error: argument <address> <filename>: Address "{upload.erase_cmd}" must be a number

      posted in Cores
      G
      GordonD
    • RE: M5Paper error on Arduino upload

      Hi, when I plug in M5Paper COM port 6 appears and I have selected it, but still get that error message.
      0_1666443335297_2022-10-22.png

      I have also used Easyloader to upload Calculator and Factory Test successfully and that showed COM port 6.

      posted in Cores
      G
      GordonD
    • M5Paper error on Arduino upload

      Hi, I have a new M5Paper 1.1 and Arduino 1.8.19.
      I have selected the board M5Stack-Paper and the port.
      With my M5Core2 I have no problems, but when I compile and upload any program to M5Paper I get the following error message:
      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"

      Sketch uses 415801 bytes (6%) of program storage space. Maximum is 6553600 bytes.
      Global variables use 18392 bytes (0%) of dynamic memory, leaving 4503592 bytes for local variables. Maximum is 4521984 bytes.
      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 <address> <filename> [<address> <filename> ...]]
      [--ignore-flash-encryption-efuse-setting]
      [--compress | --no-compress]
      <address> <filename> [<address> <filename> ...]

      esptool write_flash: error: argument <address> <filename>: Address "{upload.erase_cmd}" must be a number
      esptool write_flash: error: argument <address> <filename>: Address "{upload.erase_cmd}" must be a number

      Can anyone help with this?

      posted in Cores
      G
      GordonD