• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header

Q&A Forum › Category: ESP32 › A fatal error occurred: Failed to connect to ESP32: Timed out waiting for packet header
0 Vote Up Vote Down
uengel asked 1 year ago
Hi there,
I use an ESP32-CAM-MB.
Unfortunately, I cannot upload a program to this board. I've also held down the IO0 button while uploading. No success.
Many greetings
8 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
The ESP32-CAM that you’re using… Did it come with the MB programmer?
Or is it another ESP32-CAM that you had?
Regard,
Sara

0 Vote Up Vote Down
uengel answered 1 year ago
ESP32-CAM-MB    with MB programmer
0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Did you try uploading the code without pressing the button?

0 Vote Up Vote Down
uengel answered 1 year ago

I try both and I also try using a FTDI  board with bridge  gnd – IO0

 

 
0 Vote Up Vote Down
William Lucid answered 1 year ago

Are you using a USB Data cable; not all USB cables are data cables, some are charging only.  Have experienced some Arduino IDE 2.0, serial connection issues; resolved by unpluging USB from computer, then plugging USB cable back into computer.

 

Once the USB data cable is plugged back into computer; check Serial port configuration, make sure the port is correct.  When USB data cable is unplugged, port setting reverts to serial port one or not selected at all.

William

0 Vote Up Vote Down
uengel answered 1 year ago

I use a USB Data cable. No Problem with Nano.
Arduino IDE 1.8.15

0 Vote Up Vote Down
Sara Santos Staff answered 1 year ago

Hi.
Try the following that worked for one of our readers:
“Pressing/holding IO0 and then pressing RST on the cam board was the way to go.”
You may also want to take a look at the comments at the following article, where people discuss about different ways to get it working: https://randomnerdtutorials.com/upload-code-esp32-cam-mb-usb/
Regards,
Sara

0 Vote Up Vote Down
uengel answered 1 year ago

Thanks for help.

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023
  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.1) November 20, 2022

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.