Can't Install M5STACK Boards

I've had M5STACK installed on IDE 2.1 under Windows 10 for quite awhile and started getting some errors regarding missing executables so I decided to uninstall everything and start over. I uninstalled the IDE and deleted the folder Arduino 15 in %AppData% and reinstalled. Starting the IDE it seems to have remembered everything including the M5STACK board that was ast selected. It prompts to install the boards but the install fails. Is there anyway to do a clean install. The error is:

Error: 13 INTERNAL: Cannot install platform: installing platform m5stack:esp32@2.0.6: testing local archive integrity: testing archive size: fetched archive size differs from size specified in index: 253710190 != 253710193

Thanks
Kurt

Hi Kurt,
i had a very similar problem and was able to resolve it the following way. Seemingly the newest release of the M5Stack board is broken.

  1. Uninstall the M5Stack board in the boards manager and close the Arduino IDE
  2. Browse to [Your username]/AppData/Local/Arduino15 and delete the entire content of said folder.
  3. Uninstall the Arduino IDE, install the IDE again and launch it.
  4. Confirm the prompt in the background asking for permission to communicate through the firewall
  5. When launching the IDE again it maybe prompts you to install the M5Stack boards. Click on "Manual Install". If this prompt does not show up, open the boards manager and search for M5Stack
  6. Install Version 2.0.5-1.0 (not the latest one!)

Steps 1-5 may be unnecessary but after that, it worked fine again.

Best,
Nik

Thanks. I did this for IDE 2.1.0 and reinstalled the lastest M5STACK and this worked but I installed IDE 1.8.57 from the MS Store and I cannot install the boards there. I am missing esptool from
C:\Users\Kurt\Documents\ArduinoData\packages\m5stack\hardware\esp32\2.0.6\tools\esptool.exe

Any reason why you want to use the store version instead of one of the other options?

There was a link on the downloads page so I assumed it was where the latest version was now.
I had to download the earlier version of then M5STACK boards to get it to work.

There are three versions that basically are the same but the store version has limitations imposed by Microsoft.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.