How to fix errors while uploading the program on the ESP8266 NodeMCU

Поділитися
Вставка
  • Опубліковано 13 лип 2024
  • Error 1 -#errors #esp8266 #fixed #NodeMCU
    The ESP8266 is a low-cost Wi-Fi microchip, with a full TCP/IP stack and microcontroller capability, produced by Espressif Systems in Shanghai, China.
    NodeMCU is a low-cost open source IoT platform. It initially included firmware which runs on the ESP8266 Wi-Fi SoC from Espressif Systems, and hardware which was based on the ESP-12 module
    Error List
    1. Serial Port does not exist
    2. Invalid Packet header
    3. Timed out waiting for Packet header
    (Check Timeline below)
    URL to be pasted in the additional board manager
    arduino.esp8266.com/stable/pac...
    To download the CP210X drivers :
    drive.google.com/file/d/1nFdp...
    To download the CH34X drivers :
    drive.google.com/drive/folder...
    0:00 - Introduction
    0:18 - ESP8266 devices simplified
    1:42 - Connect the ESP8266 CP2102 to the USB
    2:03 - Setting up the NodeMCU
    5:59 - Error 1 - serial port_does not exist
    6:43 - Fix for serial port_does not exist
    10:19 - Error 2 - Invalid head of packet
    10:52 - Fix for Invalid head of packet
    13:18 - Error 3 - Timed out waiting for packet header
    14:02 - Fix for Timed out waiting for packet header
    18:52 - Successful Upload
    Error 1 - the selected serial port_does not exist or your board is not connected.
    Error 2 - esptool.FatalError: Invalid head of packet
    Error 3 - esptool.FatalError: Timed out waiting for packet header
  • Наука та технологія

КОМЕНТАРІ • 175

  • @spmousavi7261
    @spmousavi7261 Рік тому +5

    Thank you, really thank you. I was trying to fix the upload error for four days and finally I found it here. Thank you very much.

  • @gilisaac1260
    @gilisaac1260 Рік тому +2

    Thank tou very much!! Here the first case works great!

  • @Borishal
    @Borishal Рік тому +2

    I use Linux as my primary machine, so the driver loader bit is a little more complicated. The tip on defective boards is definitely good.
    I have recently purchased a very helpful device that allows one to bypass a lot of the problems. It is called an esp8266 firmware downloader. It connects to 14 pins of the esp8266 and allows one to immediately program the device without the rigmarole of holding down the reset or flash key at certain times or shorting the pins. This is especially helpful if one is programming a number basic 8266s.

  • @ebertrodrigues
    @ebertrodrigues Рік тому

    I was missing the drive update. Thanks, dude.

  • @kaituokid8896
    @kaituokid8896 Рік тому

    Hi
    I need some help in my project
    I try to interfacing between mlx90614 and max30100,by node mcu esp8266 but the result of both doesn't appear
    The mlx have values,but max haven't value and it shows zeros.
    Would you mind if you help me!

  • @DimitrisMasmanidis
    @DimitrisMasmanidis 2 роки тому

    Very nice and clear video! Thank you!

    • @clobel55
      @clobel55 Рік тому

      Clear? you re kidding right?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому

      If it isn't clear. The video wasn't made for what you were looking out for. There are numerous topics that can be discussed under errors

  • @user-nl6el3vf5o
    @user-nl6el3vf5o 2 роки тому +1

    Thanks you solve my problem

  • @pratikyadav371
    @pratikyadav371 Рік тому

    I have an error that
    Data resetting via RTS pin help after uploading code it shows this and after then when I plug it to power source its led is not turned on

  • @hamnics5993
    @hamnics5993 2 роки тому +1

    This video is very clean, what camera did you use to record this video?

  • @rinazaderey3615
    @rinazaderey3615 Рік тому

    bro how to.upload deauther to.esp8266-01, it keeps giving me fatal error timeout waiting for header
    .and it works on AT commands some fix says downgrade esptool to 2.5,can u help

  • @mr.innovator-shubhamsahu2433
    @mr.innovator-shubhamsahu2433 Рік тому +1

    Love You sir
    My problam is solved

  • @paulugoji887
    @paulugoji887 Рік тому

    Good day Sir, the challenge I have with my own esp8266 is that I keep getting this message on uploading my code, pyserial or esptool directories not found next to this upload.py tool. I've checked many forums and am adviced to change certain folders (pyserial and esptool) but I can't find the folders on my PC. Please, do you have any suggestions as to what I can do to resolve this problem. Thanks.

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому

      These are installed inside your python folder... You could check them at c:/program files/python/ and search for esptool ....
      Else you need to go to you user/local/python/ .... U will find it here

  • @jatinbhatt7826
    @jatinbhatt7826 10 місяців тому

    Port is not showing in device manager... What to do???

  • @402-vidyasagarsirimalla3
    @402-vidyasagarsirimalla3 2 роки тому +1

    bro in ide the port option is in gray colour i cant select my port option and in my device manager i cant see any com port as well, and even i install drivers manually... drivers are installing but it is saying cant work properly

  • @firoztennali3708
    @firoztennali3708 Рік тому

    It's showing me this error, In ubuntu
    Failed to connect to ESP8266: Invalid head of packet (0x08)
    baud rate is 57600

  • @muzzzjoeee
    @muzzzjoeee 2 роки тому +1

    do i need to press flash button while uploading the programming to esp8266?

  • @piyush8684
    @piyush8684 Рік тому

    Love you bro ❤️

  • @user-vq8cz7os3q
    @user-vq8cz7os3q 5 місяців тому

    Muchas gracias amigo, pasé 2 días tratando de hacer que me la reconozca. Desinstalando, eliminando, quizá error de archivo, volver a instalar, incluso ese driver CH341SER no me funcionó. Lo único y ya al final antes de desechar todo...Instalé el driver cp210x el que proporcionaste porque de las otras páginas me sale editor desconocido. Si me resolvió el problema gracias!

  • @-UtkarshDeshpande
    @-UtkarshDeshpande 6 місяців тому

    What to do for uploading error exist status 2

  • @user-js7tc4pk8x
    @user-js7tc4pk8x 7 місяців тому

    Port option in tools menu is disabled in my case, I'm using node mcu esp8266 , please guide me how to enable it .

  • @wondelfworld8149
    @wondelfworld8149 2 роки тому +1

    sir, may I know, what's happening when it's said "esptool.Fatalerror: Failed to set baud rate 115200. The driver may not support this rate" ?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      Set it to a lower rate

    • @wondelfworld8149
      @wondelfworld8149 2 роки тому +1

      @@ElectronicsSimplified7 I've done this, but seems like no change at all, so I decided to uninstall the driver and install it back, and reconnect all my components back too. yeah it solved 😂 but thankss

  • @ksamangaming8244
    @ksamangaming8244 Рік тому

    Thanku so much

  • @gunasingrajj1087
    @gunasingrajj1087 Рік тому +1

    Bro , I connected my new nodemcu esp8266 in laptop . The led didn't on .. I installed the driver also but port is not detected.

  • @AhmedMostafa-qh3mf
    @AhmedMostafa-qh3mf Рік тому

    i get this error when uploading [Hard resetting via RTS pin.] please any one help!!

  • @AnkulRajput
    @AnkulRajput Рік тому

    sir pls help continuesly getting this error FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\JAKASH\\AppData\\local\\Arduino15\\preferences.txt'
    exit status 1
    Error compiling for board NodeMCU 1.0 (ESP-12E Module).

  • @sanketagarwal4200
    @sanketagarwal4200 4 місяці тому

    Hi sir, i am facing problem related to Compilation error: UbidotsMicroESP8266.h: No such file or directory

  • @manvindersingh7843
    @manvindersingh7843 Рік тому

    All my relays go to "on" position on powering up the node mcu . please suggest

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому

      Please check for
      1. NO and NC connection
      2. Please check what GPIO pin you are using is programmed to be set LOW
      3. What is the event that you trigger your relays with ? Kindly check the condition whether it's true.
      I cannot say more than this... You need to give me a clear picture of what you are creating.

    • @manvindersingh7843
      @manvindersingh7843 Рік тому

      @@ElectronicsSimplified7 thanks for your concern I wish I will be able to rectify this error.🙏🙏

  • @cubingart6564
    @cubingart6564 11 місяців тому

    Bro its showing that a fatal error occured failed to connect with esp8266 timed out for packed header😢 plss reply! Plssssssssss!!!!
    Being a subscriber its my request!

  • @user-iy5fm1jp6j
    @user-iy5fm1jp6j 4 місяці тому

    Why esp8266 is not discovered in my laptop even though the drivers are installed.bt it's blinking because of code installed by others laptop but not discovered in my laptop

  • @adrianotamias5823
    @adrianotamias5823 Рік тому

    I made numerous attempts and followed the instructions, but I was unable to upload the code. I need your aid. Is there any way we can communicate so you can assist me in solving my problem? I am receiving the following error message: "Failed to connect to ESP8266: Timed out waiting for packet header." I have installed the driver and modified the upload speed, but the error persists.

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому

      Try using a different data cable ... Check if the device is listed on the device manager

  • @_SunandaDas
    @_SunandaDas 2 роки тому +1

    this driver is not adding in windows 10.I followed this process but could not update the driver

  • @omarabumustafa6078
    @omarabumustafa6078 2 роки тому +2

    I have a nodemcu when I put on the right the error is (timed out waiting) and when I put it in the left in another place the error (does not exist) ! What is he problem

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      It is probably that your USB cable is gone bad or the USB port has an issue.

    • @omarabumustafa6078
      @omarabumustafa6078 2 роки тому

      @@ElectronicsSimplified7 ok if the serial.begin in the code is 115200 and in the device manager is 9600 should I change it ? And if I will change it I need also to download drive files !?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      Please change it to 115200

  • @kartikeyapanja9834
    @kartikeyapanja9834 2 роки тому +1

    Sir what is to be done if error says "serial.serialutil.SerialTimeoutException: Write timeout
    the selected serial port serial.serialutil.SerialTimeoutException: Write timeout
    does not exist or your board is not connected"

    • @priyangshughosh9332
      @priyangshughosh9332 2 роки тому +1

      Hello @KartikeyaPanja ,
      I had the same problem...
      Then I went to device manager and connected the nodemcu to one of my port then I saw that it showed (on Ports (COM & LPT)).
      Silicon Labs CP210x USB to UART Bridge (COM 6).
      Then I went back to arduino ide .
      Then to files and
      Exameples
      Then esp8266 (after scrolling down)
      And then blink
      Then compiling
      Then upload. .....
      Please let me know if it helped you

    • @kartikeyapanja9834
      @kartikeyapanja9834 2 роки тому

      It worked after I changed com port

  • @sree6119
    @sree6119 2 роки тому +1

    Hi, How can we fix fatal error " failed to write to target RAM(result was 0107) "

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      You need check if your ESP has proper power supply to maintain the voltage levels between the serial connection. Next you can check for the baud rate : assuming that you are using the esp pytool for uploading the code (error 0107).
      Keep a fixed baud rate in the communication and the voltage levels. you should be able to fix your error

  • @kasumbaedwine8474
    @kasumbaedwine8474 4 місяці тому

    I have an Esp8266 it only blinks when uploading the code it print some unknown things on the serial monitor i would like you to help me out 🙏

  • @pinkybohra3759
    @pinkybohra3759 2 роки тому +4

    I have tried a lot and followed all the steps but not able to upload the code. Need your help. Is there any way I can connect with you and you can help me in resolving my issue. I am getting error :- "Failed to connect to ESP8266: Timed out waiting for packet header
    " I have installed the driver, I have changed the upload speed but still getting error.

  • @vincentcarlnicolas9300
    @vincentcarlnicolas9300 2 роки тому

    Hello, i am using esp8266. Every time i upload there is an error showing "MD5 of file does not match data in flash" i hope you can help me

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      You need to configure your Arduino IDE well ...

    • @vincentcarlnicolas9300
      @vincentcarlnicolas9300 2 роки тому

      @@ElectronicsSimplified7 so the esp8266 is not the problem? Okay thank you!. I thought there is a problem on esp8266 board

  • @terracoilGuy
    @terracoilGuy 2 роки тому

    Great video, showed me several things. However, I'm still stuck. I was able to upload code to my D1 Mini several times but now it won't upload anymore. The code on the device still runs, it happily reports through the console when I reset it. I just get errors on upload: final error message: esptool.FatalError: Failed to read register address 3ff00058 (result was 0105) Can you help? I see no damage, didn't smell smoke, don't think I changed anything. Further info, I did just successfully upload new code to a Uno which worked just fine.

    • @dimoji4770
      @dimoji4770 Рік тому

      I got the same like you. Fake Aliexpress boards from China. Other boards do not even compile.

    • @terracoilGuy
      @terracoilGuy Рік тому

      @@dimoji4770 is this a known problem or am I doing something wrong? I really like the platform, is there a way I can get reliable ones?

  • @hoomangh4739
    @hoomangh4739 2 роки тому +1

    Hello
    I am using a 2102 chip and when I normally connect to the computer with a cable, none LED of the board lights are on, but when I connect the D3 to the ground, the board light turns on, but it still gives an Invalid head of packet (0x00) error.
    help me pls Bro
    TNX

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      Please try to change your data cable.
      I have tried to make it clear to use a data cable.
      If that doesn't solve your problem. Please check for any defects on your board. This has happened with many ofy students too. Receiving defective ESP in Asian countries is very normal.
      Happy struggle. Keep moving keep learning

    • @hoomangh4739
      @hoomangh4739 2 роки тому

      @@ElectronicsSimplified7 Tanq dude
      my board was broken

  • @theakshitsharma
    @theakshitsharma 3 місяці тому

    thank u

  • @nuurqomar.
    @nuurqomar. 2 роки тому +1

    Try it jumper D3 pin as GPIO0 to GND, in my esp8266 works

  • @TechnoEveryday
    @TechnoEveryday 2 роки тому +1

    I have lolin node mcu v3 with ch340g mentioned at the back.
    I tried to use several ch340g drivers but In device manager, it is shown as usb serial port instead of ch340g and also unable to upload code. Any leads?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      Please uninstall and reinstall your device. Also make sure you are using the right configuration on the Arduino IDE.

    • @TechnoEveryday
      @TechnoEveryday 2 роки тому

      @@ElectronicsSimplified7 yes also did that but not helpful

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      So your configuration is wrong. You need to set the debug port to serial 1. Then set baud rate to 115200. Also make sure you have the right board selected. Lolin is available in various versions.

    • @TechnoEveryday
      @TechnoEveryday 2 роки тому +1

      Ok I'll make screenshots to show you all the settings......

  • @Ethan-pc5bq
    @Ethan-pc5bq 2 роки тому +1

    Thank you, bises from Del Cerro.

  • @bharathkumarkp538
    @bharathkumarkp538 2 роки тому

    Bro can i know why the liquidcrystal I2C. h is not found in source file

  • @knowwithadit
    @knowwithadit Рік тому +1

    Sir port option is not clickable

  • @nooreennurina5075
    @nooreennurina5075 2 роки тому +1

    Sorry Sir but I really need your help. I am getting error :- "esptool.fatalerror failed to connect to esp8266 invalid head of packet (0x00)
    " I have installed the driver and follow your instruction sir but still get the same error. Can you please help me out?

  • @bendu_manohar_naidu9051
    @bendu_manohar_naidu9051 2 роки тому +4

    Useful

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому +1

      Well. Happy to hear that you found it useful. Stay updated and also recommend what you want to see next as I consider my subscribers request.

    • @bendu_manohar_naidu9051
      @bendu_manohar_naidu9051 2 роки тому

      @@ElectronicsSimplified7 Bruh I want to talk to you regarding this issue

    • @bendu_manohar_naidu9051
      @bendu_manohar_naidu9051 2 роки тому

      @@ElectronicsSimplified7 Error is the selected serial port does not exist or your board is not connected

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      You need to install the drivers.
      For more help you can send your email id. We will get in touch shortly.

    • @bendu_manohar_naidu9051
      @bendu_manohar_naidu9051 2 роки тому

      @@ElectronicsSimplified7 can you please send your contact number to this mail so that I can call you

  • @deepusingh1819
    @deepusingh1819 9 місяців тому

    Leaving...
    Hard resetting via RTS pin...
    in ESP32

  • @jinaykothari4511
    @jinaykothari4511 Рік тому

    Hello sir i have checked my NodeMCU and there is no physical damage though i am getting this error
    FatalError : Failed to connect to ESP8266 : Timed out of waiting for packet header

  • @sleepy_247
    @sleepy_247 10 місяців тому

    hello am programming a esp-01 wifi module their is no hardware damage but timed out waiting for packet header error keeps popping out still am programming the wifi module using an arduino uno any ideas on how to work around it 🙏

    • @user-mo6jn7ui2z
      @user-mo6jn7ui2z 9 місяців тому

      Hi there did you find any fix if i may ask !?!

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  9 місяців тому

      If you are not a pro esp-01 user. I may suggest you to get your connections right first. The reset pin has to be triggered in some modules while uploading.

    • @sleepy_247
      @sleepy_247 9 місяців тому

      I didn't it kept timing out still.

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  9 місяців тому

      First check if the module is powered up.
      Next upload the bare minimum code.
      While uploading make sure your connections are as per www.electronicssimplified.in/wp-content/uploads/2023/10/arduino-esp-01-program.png
      If it still fails.
      Then check your ground and reset pin of the Arduino they should be connected to each other.
      If the problem still persists,
      Consider changing your wires.
      If the problem still persists,
      Take a break and mail me at electronicsengineering3@gmail.com

  • @ibiyemiopeyemi2389
    @ibiyemiopeyemi2389 2 роки тому +1

    please i'm using the esp-o1 the smaller one and i've done all that you said in the video but the having the same error. please help out

  • @rukhshar_1
    @rukhshar_1 Рік тому +1

    Esp8266wifi.h: no such file or directory
    How to solve it? All library are installed

  • @srijan2003
    @srijan2003 Рік тому +2

    Bro please help me
    I have successfully uploaded my code to my esp8266 and it connects to the wifi automatically
    But the issue is its showing offline in blynk dashboard
    And when I power the board the led blinks but after that it goes down
    The led is not constantly on please help me to fix it
    I am making a project of home automation

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому +2

      Blynk is not reliable. I do not use it.
      I use my own webserver.
      Mobile applications are still under design.

    • @srijan2003
      @srijan2003 Рік тому

      @@ElectronicsSimplified7 bhai aap mujhe ek chis batao
      Maine jab codes upload kardia to fir v mera board ka led kiu nahi jal raha hai?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому

      Code dekhe bhina toh mein Kuch bol Nahi sakta

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому

      Website se contact Karna .... www.electronicssimplified.in

  • @iliasdhaibi6786
    @iliasdhaibi6786 Рік тому

    hard resetting via rts pin

  • @ImAjitJadhav
    @ImAjitJadhav 2 роки тому

    Bro there is no any ESP boar on board manager why?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      You need to install esp board ... Add the preferences first and then install the board

    • @ImAjitJadhav
      @ImAjitJadhav 2 роки тому

      @@ElectronicsSimplified7 yes I add but still not showing

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      @ajit use data cable ...not charger cable

  • @masseditz631
    @masseditz631 11 місяців тому

    It can't connect to the wifi

  • @adrianotamias5823
    @adrianotamias5823 Рік тому +1

    Hi, How can we fix A fatal esptool.py error occurred: Failed to connect to ESP8266: Timed out waiting for packet header

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому

      Use a different data cable

    • @tanvitomar5395
      @tanvitomar5395 8 місяців тому

      Sir I m also getting the same error plz can u give some other solutions. I have already tried using different cables but still not working

    • @TechstarTls
      @TechstarTls 6 місяців тому

      ​@@ElectronicsSimplified7I'm also facing this problem can you please provide the solution

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  6 місяців тому

      Specify the error please

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  6 місяців тому

      We need to inspect more... Could you check your device manager if there is any device detected?

  • @orlandodorado4613
    @orlandodorado4613 Рік тому +1

    Hi, nice video!
    Could you please help me? I Have this error: A fatal esptool.py error occurred: Cannot configure port, something went wrong.
    I already installed the drivers, I did all you said in the video and it´s not working. Please I need your help🙏

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому +1

      Can you please change your upload speeds.
      Also please enable serial debug (if available)
      Esptool.py is an error because there is another hardware that has the port occupied. You could check and change your port from the device. manager.
      Try uninstalling and installing the same. Next you could try changing your USB cable. ....( 10+ students have a faulty USB cable)

    • @orlandodorado4613
      @orlandodorado4613 Рік тому +1

      @@ElectronicsSimplified7 Thank you, I uninstalled and installed the drivers and the problem was solved

    • @nowlog502
      @nowlog502 Рік тому

      @@orlandodorado4613 Hey! Which drivers did you reinstalled?

    • @orlandodorado4613
      @orlandodorado4613 Рік тому

      @@nowlog502 I think it was the CH340/CH341SER

    • @nowlog502
      @nowlog502 Рік тому

      @@orlandodorado4613 Thanks man, it worked! :D

  • @AryanSharma-lk2ky
    @AryanSharma-lk2ky 2 роки тому +1

    Sir, how to resolve time stack error

  • @AnkulRajput
    @AnkulRajput Рік тому

    iam using v3 nodemcu esp8266

  • @sreejamandava8484
    @sreejamandava8484 2 місяці тому +1

    Error compiling for board node mcu

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 місяці тому

      Please check your code. It's probably not meant for it. If you get that error.

  • @dvgelectrician1605
    @dvgelectrician1605 2 роки тому +1

    Really good video . but errors still exists. sir.

  • @guruvelsarveshwar2020
    @guruvelsarveshwar2020 2 роки тому +2

    I installed the driver then show error why

  • @chandansona8488
    @chandansona8488 2 роки тому

    The selected serial ort serial.serialutil.SerialTimeoutException.

  • @atifali4703
    @atifali4703 Рік тому +1

    Thank you for this info video. i am facing below mentioned error. Please help me how to resolve it.
    . Variables and constants in RAM (global, static), used 28456 / 80192 bytes (35%)
    ║ SEGMENT BYTES DESCRIPTION
    ╠══ DATA 1496 initialized variables
    ╠══ RODATA 1208 constants
    ╚══ BSS 25752 zeroed variables
    . Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 60691 / 65536 bytes (92%)
    ║ SEGMENT BYTES DESCRIPTION
    ╠══ ICACHE 32768 reserved space for flash instruction cache
    ╚══ IRAM 27923 code in IRAM
    . Code in flash (default, ICACHE_FLASH_ATTR), used 235060 / 1048576 bytes (22%)
    ║ SEGMENT BYTES DESCRIPTION
    ╚══ IROM 235060 code in flash
    esptool.py v3.0
    Serial port COM4
    Connecting....
    Chip is ESP8266EX
    Features: WiFi
    Crystal is 26MHz
    MAC: 50:02:91:73:f9:42
    Uploading stub...
    Running stub...
    Stub running...
    Configuring flash size...
    Auto-detected Flash size: 4MB
    Compressed 269840 bytes to 198720...
    Writing at 0x00000000... (7 %)
    Writing at 0x00004000... (15 %)
    Writing at 0x00008000... (23 %)
    Writing at 0x0000c000... (30 %)
    Writing at 0x00010000... (38 %)
    Writing at 0x00014000... (46 %)
    Writing at 0x00018000... (53 %)
    Writing at 0x0001c000... (61 %)
    Writing at 0x00020000... (69 %)
    Writing at 0x00024000... (76 %)
    Writing at 0x00028000... (84 %)
    Writing at 0x0002c000... (92 %)
    Writing at 0x00030000... (100 %)
    Wrote 269840 bytes (198720 compressed) at 0x00000000 in 17.8 seconds (effective 121.3 kbit/s)...
    Hash of data verified.
    Leaving...
    Hard resetting via RTS pin...

    • @atifali4703
      @atifali4703 Рік тому +1

      Sir so nice of you.
      Thank you for your response.
      I shall try as per your instructions.

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому

      Your code does upload now right?

    • @atifali4703
      @atifali4703 Рік тому +1

      @@ElectronicsSimplified7 yes sir.
      As per your kind instructions codes are uploaded.
      Thank you for your help and well explained video.

  • @atifali4703
    @atifali4703 Рік тому

    I tried to connect an other ESP8266 and found
    . Variables and constants in RAM (global, static), used 28456 / 80192 bytes (35%)
    ║ SEGMENT BYTES DESCRIPTION
    ╠══ DATA 1496 initialized variables
    ╠══ RODATA 1208 constants
    ╚══ BSS 25752 zeroed variables
    . Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 60691 / 65536 bytes (92%)
    ║ SEGMENT BYTES DESCRIPTION
    ╠══ ICACHE 32768 reserved space for flash instruction cache
    ╚══ IRAM 27923 code in IRAM
    . Code in flash (default, ICACHE_FLASH_ATTR), used 235060 / 1048576 bytes (22%)
    ║ SEGMENT BYTES DESCRIPTION
    ╚══ IROM 235060 code in flash
    esptool.py v3.0
    Serial port COM4
    Connecting........_____....._____....._____....._____....._____....._____.....____
    A fatal esptool.py error occurred: Failed to connect to ESP8266: Invalid head of packet (0x08)_
    Can you help me how to resolve it.

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому

      Please check your USB cable first.
      Next uninstall your driver and reinstall it.
      Also check your upload speeds. Try the combinations.

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому

      Most boards are compatible with different settings

    • @atifali4703
      @atifali4703 Рік тому

      @@ElectronicsSimplified7 I have two ESP8266 board one is hardware problem and on 2nd one with the bless of Mighty God codes are uploaded.
      Thank you for your attention.
      God bless you.

    • @atifali4703
      @atifali4703 Рік тому

      @@ElectronicsSimplified7 yes sir tried and which helped me to upload codes on 2nd board.
      Thank you for kindness sir.

  • @samiranDuttavlogz21
    @samiranDuttavlogz21 2 роки тому

    I have facing error in my esp32

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  2 роки тому

      Please specify the error here

    • @samiranDuttavlogz21
      @samiranDuttavlogz21 2 роки тому

      @@ElectronicsSimplified7
      I have got this type of error on my esp32
      [16:53:03]rst:0x1 (POWERON_RESET), boot:0x31 (SPI_FAST_FLASH_BOOT) [16:53:03] flash read err, 1000
      [16:53:03]ets_main.c 371
      [16:53:03]ets Jun 8 2016 00:22:57

    • @samiranDuttavlogz21
      @samiranDuttavlogz21 Рік тому

      @@ElectronicsSimplified7 any updates on this?

    • @ElectronicsSimplified7
      @ElectronicsSimplified7  Рік тому

      Send full errors with the program to electronicsengineering3@gmail.com