This is the ErrorMessage:
"C:\\Users\\joseph.tanner\\Documents\\Arduino\\hardware\\espressif\\esp32/tools/esptool/esptool.exe" --chip esp32 elf2image --flash_mode dio --flash_freq 80m --flash_size 4MB -o "C:\\Users\\JOSEPH~1.TAN\\AppData\\Local\\Temp\\arduino_build_229906/WiFiScan.ino.bin" "C:\\Users\\JOSEPH~1.TAN\\AppData\\Local\\Temp\\arduino_build_229906/WiFiScan.ino.elf" Multiple libraries were found for "WiFi.h" Used: C:\Users\joseph.tanner\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi Not used: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86__mdqgnx93n4wtt\libraries\WiFi Using library WiFi at version 1.0 in folder: C:\Users\joseph.tanner\Documents\Arduino\hardware\espressif\esp32\libraries\WiFi exec: "C:\\Users\\joseph.tanner\\Documents\\Arduino\\hardware\\espressif\\esp32/tools/esptool/esptool.exe": file does not exist Error compiling for board ESP32 FM DevKit.
Now I cleaned all and did a reinstall. I still get an error, but no more at compiling. It’s a update Error:
C:\Users\JOSEPH~1.TAN\AppData\Local\Temp\arduino_build_209144/sketch_mar18a.ino.bin 0x8000 C:\Users\JOSEPH~1.TAN\AppData\Local\Temp\arduino_build_209144/sketch_mar18a.ino.partitions.bin
esptool.py v2.6
Serial port COM8
Connecting….
A fatal error occurred: Timed out waiting for packet header
A fatal error occurred: Timed out waiting for packet header
I think, the problem is, that the board is in ‘micropython’-Mode and needs factoryReset
Hi Joseph.
Usually, when the board is with micropython firmware, you can upload an Arduino code without any problems.
Did you press the on-board RST button right after clicking the Arduino IDE update button?
If you want to perform a factory reset, you can follow this discussion: https://rntlab.com/question/how-perform-reset-factory-esp32/
I hope this helps.
Regards,
Sara
Great!
I’ll close this question. If you need further help, you just need to open a new question in our forum.
Regards,
Sara
HELP! I broke something. Using ArdIDE. Win10 ESP32 WROOM
Everything was working fine. Then I started getting an error about 2 different WiFi.h files. I don’t think I changed anything or loaded a new wifi.h intentionally.
Reverted to a prior abc.ino and it won’t compile either, same error. This points to something in the IDE or Win.
I found this post and have been chasing some of the links. I don’t think this is an ESP32 device issue.
I changed the name of one of the wifi.h files so it is no longer an error. But now I’m getting
fork/exec C:\Users\iabar\AppData\Local\Arduino15\packages\esp32\tools\esptool_py\2.6.1/esptool.exe: %1 is not a valid Win32 application.
Error compiling for board ESP32 Dev Module.
I’ve not changed anything in the libs or tools. I also don’t know where esptool.exe originally came from. Possibly installed when ESP was added to the IDE. Can’t even seem to locate a source on the web to download it. I know Python is now well beyond 2.6.1 but unwilling to update that without knowing more.
Trying to resist digging the hole deeper. (8-(
Barry
Just discovered that esptool.exe had a dir entry, but the file length was ZERO. 00000000000000000
That’s not good.
I was able to copy the file from my laptop over to the main PC and things are working.
Guess I need to do a backup more often.