DEV Community

Cover image for A fatal error occurred: Unable to verify flash chip connection (No serial data received.)
AMANI Eric
AMANI Eric

Posted on

A fatal error occurred: Unable to verify flash chip connection (No serial data received.)

Recently, I acquired an ESP32-S3 UNO, and upon receiving it, I proceeded to test its functionality. Although it powered on normally, I encountered an issue while attempting to upload my code, receiving the error message: "A fatal error occurred: Unable to verify flash chip connection (No serial data received.)"

Assuming a potential fault with one of the boards, I tested a second, identical board, only to encounter the same error.

This led me to conclude that the issue might lie elsewhere.

I experimented with various Type-C cables, connected to different ports, and ensured that the correct board was selected in the Arduino IDE. Despite these efforts, the issue persisted.

Image description

Numerous solutions found online proved unhelpful. However, during my research, I came across a discussion on the Arduino Forum related to a similar issue Arduino Forum Link. While the forum provided valuable insights, none of the suggested solutions seemed to work. Nonetheless, it's worth exploring these resources as your situation might differ.

Importantly, I want to note that there was no issue with my codes. I had a simple blinking LED program as follows:


int ledPin = 12;


void setup() {
pinMode(ledPin, OUTPUT);

}

void loop() {

digitalWrite(ledPin, HIGH);
delay(200);
digitalWrite(ledPin, LOW);
delay(200);

}
Enter fullscreen mode Exit fullscreen mode

In my continued troubleshooting efforts, I discovered a resolution that worked:

I changed the upload speed in the Arduino IDE tools settings from 921600 to 115200 and it worked.

Image description

Happy coding! πŸŽ‰

You can also read article on my blog and feel free to drop questions or issues if you need help. πŸ‘‰πŸ½ A fatal error occurred: Unable to verify flash chip connection (No serial data received.)

Top comments (0)