Failed to connect to ESP32: No serial data received.

Saichander
Posts: 4
Joined: Tue Oct 17, 2023 11:53 am

Failed to connect to ESP32: No serial data received.

Postby Saichander » Tue Oct 17, 2023 12:03 pm

Code: Untitled.cpp Select all

Attachments
Screenshot 2023-10-17 140240.jpg
Screenshot 2023-10-17 140240.jpg (97.94 KiB) Viewed 5458 times

Sprite
Espressif staff
Espressif staff
Posts: 10636
Joined: Thu Nov 26, 2015 4:08 am

Re: Failed to connect to ESP32: No serial data received.

Postby Sprite » Wed Oct 18, 2023 5:37 am

Could be anything. At the bare minimum, we'd need to know your OS and the hardware you're using this on. Please also post what you already tried yourself.

Saichander
Posts: 4
Joined: Tue Oct 17, 2023 11:53 am

Re: Failed to connect to ESP32: No serial data received.

Postby Saichander » Wed Oct 18, 2023 11:13 am

I am using windows 11

The following dev board is being used to program.

https://www.digikey.de/de/products/deta ... u0EALw_wcB.

I tried with multiple dev boards and the different microcontroller boards, just wrote a blinking code but the problem is the same.

I have attached the schematic and board 3D view.
Attachments
f.jpg
f.jpg (17.79 KiB) Viewed 5385 times
FF.jpg
FF.jpg (145.73 KiB) Viewed 5385 times

Sprite
Espressif staff
Espressif staff
Posts: 10636
Joined: Thu Nov 26, 2015 4:08 am

Re: Failed to connect to ESP32: No serial data received.

Postby Sprite » Thu Oct 19, 2023 3:12 am

You are trying to program the device via the serial port, but the connection to your board seems to be via JTAG. Either hook up the serial port, or use OpenOCD to upload via JTAG. (Also, with GPIO0 fixed to 0, your ESP32 will never boot from flash; you may want to look into that.)

Saichander
Posts: 4
Joined: Tue Oct 17, 2023 11:53 am

Re: Failed to connect to ESP32: No serial data received.

Postby Saichander » Thu Oct 19, 2023 12:53 pm

That worked, thank you.

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests