ESP32 Arduino uploading problem

perge81
Posts: 3
Joined: Thu Feb 23, 2023 12:22 pm

ESP32 Arduino uploading problem

Postby perge81 » Wed Mar 08, 2023 9:23 pm

MacOS 10.15.7, Arduino 1.8.19. Adafruit ESP32 Huzzah.
My IDE was working and then suddenly stopped uploading to the ESP32 board with error:
java.io.IOException: Cannot run program "___REMOVE___/esptool": error=2, No such file or directory
I changed to the Arduino IDE 2.0.4 and it works fine there.
The directory ~/Library/Arduino15/packages/esp32/tools/esptool_py/4.5 has esptool in it but the 1.8.19 IDE can no longer find it.
I would like to use the legacy IDE. What to do?

perge81
Posts: 3
Joined: Thu Feb 23, 2023 12:22 pm

Re: ESP32 Arduino uploading problem

Postby perge81 » Thu Mar 09, 2023 1:54 am

I found the fix on the Arduino forum:
See https://github.com/espressif/arduino-esp32/issues/7923
The workaround fixed the 1.8.19 IDE upload problem and the tools/ESP32 Sketch Data Upload problem both related to not finding esptool.
Arduino's IDE 2.0.4 does not support Sketch Data Upload so to do that you need to use IDE 1.xx.

anne33xx
Posts: 1
Joined: Thu Mar 09, 2023 1:32 pm

Re: ESP32 Arduino uploading problem

Postby anne33xx » Thu Mar 09, 2023 1:38 pm

Well, how to deal with such a problem? I don't know anymore

evans_picolo
Posts: 5
Joined: Fri Mar 22, 2019 6:10 pm

Re: ESP32 Arduino uploading problem

Postby evans_picolo » Thu Mar 09, 2023 2:12 pm

Hello,

Does the problem go away when you close de IDE and re-open?

perge81
Posts: 3
Joined: Thu Feb 23, 2023 12:22 pm

Re: ESP32 Arduino uploading problem

Postby perge81 » Thu Mar 09, 2023 4:15 pm

I found the solution on the Arduino site. Apparently the lastest version of esptool was not supported by the version the ESP32 core. I deleted the core and reinstalled it and now everything works again.

Who is online

Users browsing this forum: No registered users and 58 guests