Open mikevanis opened 3 years ago
Did you find a solution for this issue?
No actually, I've been getting by using mkspiffs and esptool directly and forego this tool for now until it's fixed :)
Here's more info about it and a fix: https://github.com/pyserial/pyserial/issues/509#issuecomment-726966076
Ok, found my own solution. I have a virtual machine running 10.14 (a Parallels setup). Quickly installed Arduino IDE, the ESP32 library, this tool and a driver for the serial port. Then made a shared folder between the virtual machine and my Big Sur os. Now I can use the 10.14 to write the SPIFFS of my ESP32.
Once setup it's fast to work with.
You can check the last PR at my clone of this repository. I may be helpful for you.
Thanks @lorol, that did the trick. Mind you, the '!Erase Flash!' option still gives an error. All the other options do work now.
Erasing all Flash started... Port: /dev/cu.usbserial-1413420
>Traceback (most recent call last):
> File "esptool.py", line 57, in
@delcomp, thank you for the report. Probably @bergdahl would be able to help fixing it or give some hints.
Basically the fix I made was to remove the use of the old "esptool" binary file and make it use "esptool.py" instead. I also changed the call to "python3 esptool.py" as Python 2 is obsolete. The underlying problem is a change in Big Sur that forces and update to Pyserial.
When trying to use the tool on Mac OSX Big Sur, esptool fails to execute.
I believe this is similar to the problem experienced with the arduino esp32 core (as mentioned here).