Common Upload Error

This is my first post so please bear with me. I purchased the ESP 32 -WROOM-32D and downloaded the 'Standard' blink program. The RED LED is lit so I think it is getting power. I run through the compiler with no errors and then try and upload. I get the following message:
Sketch uses 262345 bytes (20%) of program storage space. Maximum is 1310720 bytes.
Global variables use 21344 bytes (6%) of dynamic memory, leaving 306336 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.5.1
Serial port COM1
Connecting......................................

A fatal error occurred: Failed to connect to ESP32: No serial data received.
For troubleshooting steps visit: Troubleshooting - ESP32 - — esptool.py latest documentation
Failed uploading: uploading error: exit status 2

I have held down the "Boot" button and the "EN" button with no change. I also tried to lower the Baud rate to 9600 with no change.
Any suggestions?
Best regards,
Wings515

Forgive the obvious basic questions, but:-

  1. is your board definitely on COM1 (as shown in Device Manager)?
  2. did you select the correct port in Tools -> Port?
  3. did you install the correct driver (CP210x usually, but some clones may have CH340) ?
  4. have you tried another USB cable?

BTW, welcome to the forum!

Thanks for the reply. The COM 1 port is checked in the Board selection and the "Tools->Port" indicates COMM 1. I did try another USB cable.
I also tried to do this completely on another PC, my ACER Laptop. It also indicated the CP210x driver was needed. I tried to install this but it is a System file so I ran into a block. I will try to install the CP210 on my Lenovo tower running WIN 11.

the com port that USB cable is connected to should only be shown when Tools->Port is selected and that board's USB is plugged in.

of course, that port should be the one "checked"

I went to the CP210X site and determined I have a CP2102. there were many apps to download and I first tried the Win Universal app. It did not provide an install link. I then chose the "standard" Win 10 app and after unzipping it installed. I re-started the PC and Arduino. After compiling and loading the same error was posted. I looked at the ports and COM3 was also listed. I changed the cable to port three and went through the process. It did all the writing to the ESP 32 and ended with 'Hard resetting via RTS pin ...' and it stopped.
What next should happen. I pressed the "Boot" button with no change also the EN button.
Thanks for the CP210X link. Its getting there.
Regards,
Wings

Just changed the bottom half of the screen to "Serial Monitor" and Hello World is displayed. The LED on the board is not flashing nor the external LED. I'll have to investigate. Now haw to stop it!

OK found the reason the external LED would not flash. The GND pin I was using was next to GPIO 19. It is not GND, I switched to the GND pin at the end near the antenna and I got Flashing. Next I think I'll try the Knight Rider loop since I have a 5 LED display.
Thanks again for your help.
Wings

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.