Esp32 flashing not possible

yes. the board used to work fine before.

i've just tried a diffrent usb-c cable. the other cable does work for my other esp32's fine tho

how can i check?

@anabolicsurgeon I usually go from using Micropython back to enabling the Arduino IDE using the following method

  1. I pull up the IDE with the "Blink.ino" example
  2. I make sure I have DOIT ESP32 DEVKIT V1 and the correct com port
  3. From tools I select TOOLS -> Programmer -> Esptool (should be checked)
  4. Go to Sketch on the menu bar and Upload Using Programmer

after that it will load normally

1 Like

grafik

You have to read the label on the chip. It's real hard for me to see at 82, but a mag glass and tilting the board until you see it. IIRC one has 340 in it's name, I don;t recall the other but If my life depended on it I would say 210 maybe in the name. I have a Mac so don't have a device manager or whatever it's called.

1 Like

closed all windows.

opened up ide

opened up blink.ino

enabled esp-tool. (its ticked now)

tried upload via programmer.

output:
"Sketch uses 237349 bytes (18%) of program storage space. Maximum is 1310720 bytes.
Global variables use 21048 bytes (6%) of dynamic memory, leaving 306632 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"

on the board it says CH340C

All good, it should work. Do you have any other esp32 board if not any esp board to try?

1 Like

yes, i have. the other identical esp32 works. but unfortunatly i need that one for an other project :confused:

I think you know what that means.

1 Like

NO idea what those steps are. All I have ever used are Verify and Upload with a processor selection for my cheap NANO clones.
Screenshot 2024-10-05 at 15.05.00

1 Like

i did the steps, @ sumguy posted at post #23

@anabolicsurgeon that is disappointing that normally works for me every time.

I did notice the error message you posted was trying to connect using COM1 , maybe you could try again and select COM 5 and DOIT ESP32 DEVKIT V1 and double check before trying to upload

1 Like

Ok, that was for a python to C++ switch or vice-versa I think.

1 Like

yes. i tried a diffrent port. i've switched to com port 5 again now. the error got replicated

@anabolicsurgeon I have maybe one more idea you could try and that is laid out in another randomnerdstutorial

The troubleshooting section at the bottom quotes the error message that you are getting and explains a possible solution

That's a good idea, I have discovered many folks using the wrong boards URL. For reference, here is what I use. It is the official corporate URL.
https://espressif.github.io/arduino-esp32/package_esp32_index.json

their solution is just press and hold boot then upload then release boot when seeing connecting...

did not work :confused:

Just for chuckles, try the board URL I posted in #38