Arduino program upload not possible (Failed to connect)

babolcs
Posts: 1
Joined: Mon Feb 10, 2025 11:26 pm

Arduino program upload not possible (Failed to connect)

Postby babolcs » Mon Feb 10, 2025 11:40 pm

HI,

I bought a ESP32-S3-DevKitC-1-N32R8V board (https://hu.mouser.com/ProductDetail/356 ... KTC1N32R8V) and try to upload a simple program to it with Arduino ide but got the A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.

I tried the ESP32S3 Dev Module and the ESP32S3 Dev Module Octal (WROOM2). I tried both available ports (even I relocated to another USB) but I always get the error message above. I connected the board to PC via USB port (it has an UART too) The cable is good quality. I don't know what else I can try.
Which board should I choose in arduino?

lbernstone
Posts: 916
Joined: Mon Jul 22, 2019 3:20 pm

Re: Arduino program upload not possible (Failed to connect)

Postby lbernstone » Tue Feb 11, 2025 1:31 am

Use the UART plug on the board.
https://docs.espressif.com/projects/ard ... -my-sketch
Most likely is a bad cable or missing driver.

powerbroker
Posts: 31
Joined: Sun May 19, 2024 12:58 pm

Re: Arduino program upload not possible (Failed to connect)

Postby powerbroker » Tue Feb 11, 2025 7:59 pm

babolcs wrote:
Mon Feb 10, 2025 11:40 pm
I bought a ESP32-S3-DevKitC-1-N32R8V board (https://hu.mouser.com/ProductDetail/356 ... KTC1N32R8V) and try to upload a simple program to it with Arduino ide but got the A fatal error occurred: Failed to connect to ESP32-S3: No serial data received.

have you finally managed with your ESP32 boards?

it's very interesting question: if i bricked arduino ESP32 by destroying it's bootloader, which hardware do i need and what should i do to unbrick it back?
with AVRs it's never a question, since there are lots of programmers able to flash arduino bootloader to AVR MCU back, even simple hand-made ones. moreover, i never use available AVR-based arduino boards as "arduinos", since it costs almost nothing to switch to pure C and in-circuit flashing with e.g. cheap USBASP.

well, when there is a 25QXX SOIC-8 flash chip on the ESP32 board(have some boards like this), it can be overwritten with tons of hand made programmers or ones like USBASP, and most likely in-circuit, without welding out.
in case bootloader resides in ESP32 MCU flash, a JTAG adapter could be the magic pill...

ESP_Sprite
Posts: 9985
Joined: Thu Nov 26, 2015 4:08 am

Re: Arduino program upload not possible (Failed to connect)

Postby ESP_Sprite » Wed Feb 12, 2025 2:35 am

powerbroker wrote:
Tue Feb 11, 2025 7:59 pm


it's very interesting question: if i bricked arduino ESP32 by destroying it's bootloader, which hardware do i need and what should i do to unbrick it back?
If you managed to destroy the bootloader, there is absolutely no way to get it back. However, I think you'll find it is nigh impossible to destroy the bootloader: it is in actual read-only memory, encoded in the metal layer of the design of the chip; destroying it would involve either physically destroying the ESP32 chip itself, or decapping it and going in with a focused ion beam (which I assume you probably won't have in your toolbox). As long as you're just programming it (and as long as you're not touching the eFuses or somehow physically damage the ESP32) you should always be able to get it back to normal.

Who is online

Users browsing this forum: No registered users and 99 guests