• 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

Failed to connect to ESP8266: ESPtool V3.0Timed out waiting for packet header !!!!

Q&A Forum › Category: ESP8266 › Failed to connect to ESP8266: ESPtool V3.0Timed out waiting for packet header !!!!
0 Vote Up Vote Down
Ben Buijs asked 2 weeks ago

I tried some simple project as blinking”. Uploading the code wil not happen: Failed to connect to ESP8266. My board is a nodemcu amica-model ESP8266MOD 12 F”.
How to proceed?? pls help me out.

10 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 2 weeks ago

Hi.
Try pressing the board BOOT button for about two to three seconds right after you upload the code.
Let me know if that solves the issue.
Regards,
Sara

0 Vote Up Vote Down
Ben Buijs answered 2 weeks ago

Thanks Sara for yr answer. I followed your input , still no connection. As I ‘m fairly new I don’t  know how to proceed.
Trying perhaps a more simple board ?, or back to the Arduino Uno?. Please ,if possible, please give me a hint.
 

0 Vote Up Vote Down
Sara Santos Staff answered 2 weeks ago

Hi.
Can you send a link to the board you have?
Which board are you selecting in the Arduino IDE, in Tools > Board?
Are you sure the USB cable you’re using has data wires? Some USB cables are charging only and don’t allow you to transfer data.
Regards,
Sara

0 Vote Up Vote Down
Ben Buijs answered 2 weeks ago

oef, quick reponse Sara, Yes , the cable USB, i tried several. The boards, well i tried severa 1-the ESPdev kit V2 ESP32-WROOM 32 , the ESP 8266 -12F, and also the ESP 01 – 8266, to use for operating an relay with WIFI . In all cases i did struggled uploading the sketches. Yes i thinki am not too experienced yet,in writing the scripts , as i learned that forgeting a , or a ; is already false, or wrong BAUD setting , but if that is ok, I start the uploading, well up until know with not much of a result.
So if you have an reference of a example, which is 100% realisable for me, as trainings object, that seems for me good , as an training object. By the way i found already a lot of tips in your book about the 8266 chip And again thanks for your coaching it helps me a lot.
ps uploading the image of my board refs not reusitediv boards i am working with.jpg

0 Vote Up Vote Down
Ben Buijs answered 2 weeks ago

– div_boards_i_am_working_with.jpg
https://ahp.li/58f82198958785bfeccc.jpg
This link will work
 

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

Hi.
The problem is not the code.
The problem is that the code is not being uploaded to the board.
I recommend starting with the ESP8266-12f you have. For that board, in the Arduino IDE, go to Tools > Board and select the Generic ESP8266 module.
Then, press the Arduino IDE upload button. For that specific board, the code should upload automatically. If not, you need to hold the FLASH button on the board for about two seconds right after hitting the upload button.
Let me know if this helps.
Regards,
Sara

0 Vote Up Vote Down
Ben Buijs answered 1 week ago

https://ahp.li/6b67b86a7565cbe00be7.jpg
still not connected, attached you’ll find the text from the arduino ide
I proceed my tries, now with 1 – a simple test with an arduino uno,to find if the uploading works there and also checking the usbA to micro usb cable for data traffic.
I`ll keep you informed, i’m convinced its not a big problem, somewhere i made an mistake.:))

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

The issue you’re getting is because you need to press the FLASH button on your board when the dots start appearing in the dubbing window. 
If it doesn’t work that way, check that you’re selecting the right COM port in Tools > Port.
If it still doesn’t work, it might be a problem with the USB cable or the computer USB ports.
Regards,
Sara

0 Vote Up Vote Down
Ben Buijs answered 1 week ago

Well Sara, the board blinks !!!!!, thumbs up. I downloaded an usb serial CH340 device, now visible on poort 14, so this poort placed in te sketch, and voilà, with flashing when upload started, with in a split second the board started blinkin.Thank you for your help,I learned a lot, your help gave me the courage, and confiance to proceed learning the basics with your book 8266 in my hand. kind regards,Ben from Holland

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

That’s great!
I’m glad you made it work.
If you have any other issues along the way, you just need to open a new question in our forum.
Regards,
Sara

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] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

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.