If I perform the following from the command line:
M5Burner_Linux/packages/tools$ python3 esptool.py erase_flash
I am able to erase flash. However, if I simply run
I get an error saying:
A fatal error occurred: ESP32 ROM does not support function erase_flash.
My installed version esptool was 2.8 but the version in the M5Burner.zip appears to be 2.5.0. Is there maybe some issue with version 2.8 of esptool? The 2.8 version is what is installed if apt-get instal esptool is used.
I tried using pip3 install esptool
This has installed esptool v3.0 into
From this folder I can run python3 esptool.py erase_flash and it was able to erase the flash from the command line using the V3.0 esptool.
I ran the following to remove esptool v2.8:
sudo apt autoremove esptool
However, I am still getting the Javscript error when I click the Erase flash button inside the M5Burner App.
I have tried downloading the MACOS version from the FlowUI as I saw the Linux Instructions said to do this (at https://github.com/m5stack/m5-docs/blob/master/docs/en/related_documents/how_to_burn_firmware.md). However, I do not see any folder called firmware within the Resources. If I do a search there no flash.sh file.