Navigation

    M5Stack Community

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

    M5_Tinker

    @M5_Tinker

    2
    Reputation
    5
    Posts
    308
    Profile views
    0
    Followers
    0
    Following
    Joined Last Online
    Location SF Bay Area, USA Age 56

    M5_Tinker Follow

    Posts made by M5_Tinker

    • RE: esptool write_flash: error: argument : Address "{upload.erase_cmd}" must be a number

      Dear M5: please repair the board information for the M5Stick-C-plus. See errors above.

      other users: switching to the M5Stick-C (no "-plus") platform allowed me to upload new sketches to the device.
      0_1665178518532_3412d667-e1c3-43ad-88dd-97a04a107d2d-image.png

      posted in Arduino
      M5_Tinker
    • RE: esptool write_flash: error: argument : Address "{upload.erase_cmd}" must be a number

      the file does actually show the "-e". What should it be?
      ~/.arduino15/packages/m5stack/hardware/esp32/2.0.5/boards.txt

      m5stick-c.menu.EraseFlash.none=Disabled
      m5stick-c.menu.EraseFlash.none.upload.erase_cmd=
      m5stick-c.menu.EraseFlash.all=Enabled
      m5stick-c.menu.EraseFlash.all.upload.erase_cmd=-e

      posted in Arduino
      M5_Tinker
    • RE: OEM OOTB Code

      Any idea if the "Factory Test" included in M5Burner is the same as the "FactoryTest" in the Arduino library example?

      posted in Arduino
      M5_Tinker
    • OEM OOTB Code

      I see this referenced in many threads here on the forum, but I do not see anything definitive.
      Also there are no comment in the code that could clarify this...

      Is the example sketch "FactoryTest" the code that ships preloaded on a new device (mine is M5StickC-plus) ?

      (it'd be nice as a safety-net to fall back to should I mess up something while learning)

      posted in Arduino
      M5_Tinker
    • RE: esptool write_flash: error: argument : Address "{upload.erase_cmd}" must be a number

      same error.
      Brand new user (just received my M5StickC 7 hours ago)
      My development environment is freshly minted (3 hours ago) on a USB drive plugged into a Raspberry Pi4B.
      New OS. New install of Arduino IDE 1.8.19.
      Add platform "M5Stack Arduino" and Library "M5StackCPlus" by following these instructions.

      the sketch is very basic
      '''
      void setup() { }

      void loop() { }
      '''

      the error is:
      usage: esptool write_flash [-h] [--erase-all]
      [--flash_freq {keep,40m,26m,20m,80m}]
      [--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

      Please assist with getting my shiny new device to work.

      posted in Arduino
      M5_Tinker