-
Hi everyone, I'm new with this and i have an esp32 that won't flash via command prompt. Even the Boot button doesn't work during the flash process. This is the output i got: A fatal error occurred: Failed to connect to ESP32: No serial data received. Does anyone know the problem? And what should i do? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
This is not a micropython issue. Which kind of device do you use ? Most likely, the ESP32 doesn't enter download mode. It's also possible that the USB cable you are using is a "bad" one. Try another. |
Beta Was this translation helpful? Give feedback.
-
You should as well confirm that COM4 is the right port. You can test that in the device manager. The port must appear when you plug in the ESP32 board, and disappear when you unplug it. If there is no change at all, the cable might be wrong. |
Beta Was this translation helpful? Give feedback.
-
All is ok but i think you forget to put the board in boot mode ... you have to press a button before plug usb |
Beta Was this translation helpful? Give feedback.
-
Thanks y'all for answering my problem :) |
Beta Was this translation helpful? Give feedback.
You should as well confirm that COM4 is the right port. You can test that in the device manager. The port must appear when you plug in the ESP32 board, and disappear when you unplug it. If there is no change at all, the cable might be wrong.
Since the boot switch just connects GPIO0 to GND, you can get the same result by connecting the GPIO0 pin of the board to GND and push reset.