• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Problem ESP32 Arduino Installation Win (solved)

Q&A Forum › Category: Arduino › Problem ESP32 Arduino Installation Win (solved)
0 Vote Up Vote Down
jsail asked 5 years ago

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.
7 Answers
0 Vote Up Vote Down
jsail answered 5 years ago

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
 

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

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

0 Vote Up Vote Down
jsail answered 5 years ago

Hi Sara,
thanks for help. It works now.
Regards
Joseph

0 Vote Up Vote Down
Sara Santos Staff answered 5 years ago

Great!
I’ll close this question. If you need further help, you just need to open a new question in our forum.
Regards,
Sara

0 Vote Up Vote Down
Barry answered 3 years ago

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

0 Vote Up Vote Down
Barry answered 3 years ago

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.

0 Vote Up Vote Down
Sara Santos Staff answered 3 years ago

Hi Barry.
Is your issue already solved?
It seems a problem related to your Arduino IDE installation???
 
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [New Edition] Build ESP32-CAM Projects eBook – 2nd Edition April 16, 2025
  • [eBook Updated] Learn ESP32 with Arduino IDE eBook – Version 3.2 April 16, 2025

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2025 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.