espcomm_upload_mem failed | Error solved | ESP8266 projects

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 มิ.ย. 2024
  • In this video, I have shown the steps to rectify the most common error which everyone must have face while uploading code to Generic ESP8266 board or NodeMCU board i.e. espcomm_upload_mem failed.
    If you are facing any compiling realted error with esp8266 then kindly watch out this video
    • Common Compiling Error...
    _________________________________________________________________
    Drivers
    CP2102 - www.silabs.com/products/devel...
    CH340 - roboindia.com/tutorials/CH340...
    _________________________________________________________________
    Buy the components from here
    ESP8266 12e development board(NodeMCU CH340) - (amzn.to/2LdDlgy)
    ESP8266 12e development board(NodeMCU CP2102) (amzn.to/2BKS7cv)
    ESP8266 01 wifi module (amzn.to/2E7MsdP)
    LED Matrix Display - (amzn.to/2rRiwzv)
    Female to Female connector wires - (amzn.to/2rPynOW)
    Google AIY Voice Kit - (amzn.to/2r55KMD)
    HiLink 220v ac to 5v dc power supply(amzn.to/2pT2xij)
    5V Relays (amzn.to/2ChddQC)
    MCT2e IC (amzn.to/2H3ncss)
    1n4007 Diode (amzn.to/2EM4IuD)
    BC547 transistors (amzn.to/2oiTbfV)
    1k resistors (amzn.to/2Gri8Nl)
    330ohm resistors (amzn.to/2ojg8zN)
    16 channel analog multiplexer module (amzn.to/2CVawDI)
    PIR motion sensor (amzn.to/2EK1OX2)
    Sound Sensor (amzn.to/2HCYO0z)
    Light Sensor (amzn.to/2CcBAPr)
    DHT11 Temperature and Humidity sensor(amzn.to/2sPh3fO)
    7805 Regulator IC (amzn.to/2CdUvcq)
    9V Power Adapter (amzn.to/2CfffAL)
    2 pin PCB mount screw terminal (amzn.to/2EM5Luz)
    _________________________________________________________________
    if you love watching my videos and interested in learning new new projects,then donate me at PayPal so that I can do it forever and better then before.
    www.paypal.me/techiesms
    You can also send me donation through my UPI I'd from Google tez, PhonePe, BHIM etc.
    sachinsms1990@okaxis
    _________________________________________________________________
    Subscribe Now :- bit.ly/techiesms_youtube
    Facebook :- / techiesms
    Twitter :- / imtechiesms
    Instagram :- / techiesms
    Website :- www.techiesms.com
    WhatsApp number :- +91 82000 79034
    _________________________________________________________________
    #techiesms
    explore | learn | share
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 278

  • @techiesms
    @techiesms  6 ปีที่แล้ว +37

    How was the explanation?
    It was tough for me to explain the things clearly still I tried my best.

    • @vipul-pawar
      @vipul-pawar 6 ปีที่แล้ว

      nice explaination without hesitation , superb , very though to explain these kind or error to someone ,

    • @techiesms
      @techiesms  6 ปีที่แล้ว +1

      Thanks. Do share it so that, maximum number of people can get to know the solution

    • @juanfelix4589
      @juanfelix4589 6 ปีที่แล้ว

      In the next video can you explain us about error : esp is not responding.
      It happened while i was running the esp8266 01 with arduino uno.

    • @madhukeshnp
      @madhukeshnp 6 ปีที่แล้ว +1

      Too slow i guess... keep up with your regular speed

    • @Saipreetham0
      @Saipreetham0 6 ปีที่แล้ว

      How to re program the board after a code plz tell me

  • @r1273m
    @r1273m 4 ปีที่แล้ว +1

    This is a great video, thank you for posting.
    For about a year I have been programming WEMOS D1 MINI v 3.0.0 without any problems whatever. I am currently working on a project using DS18B20 temperature sensors which is progressing well. However I downloaded a programme from TH-cam which compiled OK but would not upload, giving the error you mentioned above. Following that I could not upload any programme, not even a BLINK sketch! I tried all the usual things, replaced the USB cable, tried a different board but nothing worked. I even re-installed the IDE.
    Then I tried your solution, grounding GPIO0 (D3 on the WEMOS) and it worked. Not just that once but I am back to normal uploading once again without having to do the grounding. Not sure on how this has worked but it has I am eternally grateful for the solution.

  • @masapri5049
    @masapri5049 5 ปีที่แล้ว +1

    Thanks a lot man, I almost gave up my NodeMCU. Until I saw your video to press flash button before plugging it to USB port and release it afterwards. God bless you!

  • @Chandhan619
    @Chandhan619 5 ปีที่แล้ว +1

    You are the best . I was unable to program my esp8266 from past 1 month but now i am able to program it.I was able to program it after conecting reset pin to ground.Now i have both esp8266 and node MCU working.

  • @alvarguzman
    @alvarguzman 5 ปีที่แล้ว +1

    Thank you from Spain, sir! Worked like a charm for my new NodeMCU (I was about to give up). You're #1.

  • @j-cproulx3727
    @j-cproulx3727 4 ปีที่แล้ว

    After searching 2 hours on internet without success you solved my nodeMCU problem.
    Thanks for this easy solution

  • @nathanbustamante1525
    @nathanbustamante1525 4 ปีที่แล้ว

    No one else showed that Reset to GND connection in their schematic. As soon as I did that it started working
    thank you!

  • @chakaling
    @chakaling 2 ปีที่แล้ว

    whenever someone explains a techie thing with indian accent, I know it's good. thank you!

  • @marwanmakarem5860
    @marwanmakarem5860 5 ปีที่แล้ว

    Thanks a lot! My problem was that I selected the Generic ESP8266 just like the datasheet says... It's must select the NodeMCU 1.0. Very helpful. Greetings from Venezuela!

  • @gregbrink3607
    @gregbrink3607 3 ปีที่แล้ว

    This helped me alot. 3 days solid no progress and this solved my problem in 2 minutes.

  • @pola5195
    @pola5195 5 ปีที่แล้ว +1

    In my case when I upload the example Blink program, the LED blinks a few times before the IDE displays the error and when I disconnect the power and disconnect GPIO0 from GND and repower it just blinks one time, what could be the problem?

  • @guikich
    @guikich 6 ปีที่แล้ว

    Thank you very much! It is worth also removing any cable connecting to your ESP8266 Node MCU. Removing cables and your hint saved me! Thank you!

  • @autosoftzw
    @autosoftzw 4 ปีที่แล้ว

    all the way from Zimbabwe man thanks keep up the great work

  • @mohammedfarragm
    @mohammedfarragm 3 ปีที่แล้ว

    your video with the most helpful i get to understand the concepts of esp8266 communication port>> thanks

  • @devanshparmar8756
    @devanshparmar8756 6 ปีที่แล้ว

    So far the Best video for solving this error...very well explained each and every reason... Thanks a lot

  • @amanrajs5879
    @amanrajs5879 5 ปีที่แล้ว +1

    thank you"
    techiesms"this solution is works 100% for my
    NODEMCU V3
    "espcomm_upload_mem failed"

  • @pavankumar-ff9bo8zc5y
    @pavankumar-ff9bo8zc5y 6 ปีที่แล้ว +1

    Really appreciate all your efforts to explain these stuffs. Kudos, man :)

  • @kevindiary4428
    @kevindiary4428 5 ปีที่แล้ว

    Thanks for helping my final year project sir ! Nice explanation.

  • @parthsuyal5879
    @parthsuyal5879 5 ปีที่แล้ว

    Thanks a lot!!! I am glad finally my problem is solved. None of the websites showed that one should even check cable

  • @raagamparmar179
    @raagamparmar179 5 ปีที่แล้ว

    Superb explanation, sir. All doubts cleared about this error. Even I got the error. Thanks a lot. Excellent!!!

  • @thedankoona_5854
    @thedankoona_5854 6 ปีที่แล้ว

    THANKS! finally someone that could help me, my fault was just some stupid wiring, haha.

  • @venepalliudaysai888
    @venepalliudaysai888 5 ปีที่แล้ว +1

    even though i have done the process which u have have mentioned above ,i was getting same error as mem failed

  • @prajwalagarwal8425
    @prajwalagarwal8425 6 ปีที่แล้ว

    thanks buddy!
    i was trying to solve this error from soo long, and now finally its gone!

  • @dhruvilgala7318
    @dhruvilgala7318 6 ปีที่แล้ว

    Got to know about the errors properly..thank you..!✌️

  • @shreyasshivakumar8578
    @shreyasshivakumar8578 5 ปีที่แล้ว

    Thanks a lot bro! You seriously gave me a big help in the last minute! I owe you bro! Thanks a lot

  • @everythingui5442
    @everythingui5442 5 ปีที่แล้ว

    hi, here you said arduino reset should be connected to GND. so that the esp module works. well i want to use them both. i mean like i get data from esp and print them on 2x16 lcd. is it possible? cause when i diconnect reset from GND esp stop working and when i connect it arduino stops working! what do you recomend?

  • @attariazeddine6603
    @attariazeddine6603 6 ปีที่แล้ว

    Vous êtes vraiment excellent Monsieur , je vous remercie beaucoup pour cette astuce.....

  • @nachiketacharya2608
    @nachiketacharya2608 5 ปีที่แล้ว

    HI ...Your Solution on the error espcomm worked perfectly well..Thanks a lot

  • @ijazahmad7525
    @ijazahmad7525 5 ปีที่แล้ว

    I am working on home automation project.. problem is that when power recycle in nodemcu it not work. And i have to uplaod again and again code. Please help me

  • @radiogareth
    @radiogareth 5 ปีที่แล้ว

    Very helpful, its solved my upload problems :-) THANKS!!

  • @himanshujangra2599
    @himanshujangra2599 5 ปีที่แล้ว

    Sir my error is that the blynk code cannot be compiled for my nodemcu board the error shows that "error while compiling for nodemcu(12-E)"

  • @nopadolta354
    @nopadolta354 2 ปีที่แล้ว

    Thank you for your troubleshooting It's solved the problem for me after following your instruction.😊

  • @stephanspeckbacher3045
    @stephanspeckbacher3045 5 ปีที่แล้ว

    At least I had to restart my PC ... now ist works!

  • @idtssourav3551
    @idtssourav3551 2 ปีที่แล้ว

    I was about to throw out my NodeMCU. Thanks, man!

  • @mursinabegum7685
    @mursinabegum7685 4 ปีที่แล้ว

    I've installed the esp8266 board again. Now it's working without this error.

  • @kulasekaranamirthalingam3033
    @kulasekaranamirthalingam3033 5 ปีที่แล้ว +1

    Some corrections: 1. To confirm driver installation, checking windows device manager for com Port existence should have been explained. 2. In NodeMcu board funtion of reset button is not explained. Some of the YT videos are asking user to press and release while Arduino is opening the com Port for communication.

  • @InnovateYourselfashu
    @InnovateYourselfashu 5 ปีที่แล้ว

    Thank you so much, bro, for this video, just because of you I was able to upload the code to the esp8266.

  • @robbykurnia7792
    @robbykurnia7792 3 ปีที่แล้ว

    for my case, the reason why I get the error is the circuit for Rx is connected to a voltage divider and the input is only from the USB cable. so I try to connect the esp8266 Rx pin directly to the Arduino Rx pin. and it solved

  • @nopadolta354
    @nopadolta354 2 ปีที่แล้ว

    Thank you for your troubleshooting It's solved the problem for me after

  • @padamdhardwivedi8813
    @padamdhardwivedi8813 5 ปีที่แล้ว

    Hi, I am facing the problem and tried as instructed in video but still the error persist what could be the possible cause.

  • @madqwer
    @madqwer 5 ปีที่แล้ว

    Man, thank you, life saving video!!!

  • @vannancherry
    @vannancherry 5 ปีที่แล้ว

    Very Useful, i fixed my nodemcu v3 ch340, Thanks a lot

  • @atharizki5507
    @atharizki5507 3 ปีที่แล้ว

    Thx guru your explanation exactly works for me, and it solved my error problem

  • @cristianrodriguezmendieta1548
    @cristianrodriguezmendieta1548 5 ปีที่แล้ว

    i have this error
    Arduino: 1.8.7 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
    Sketch uses 247940 bytes (23%) of program storage space. Maximum is 1044464 bytes.
    Global variables use 28028 bytes (34%) of dynamic memory, leaving 53892 bytes for local variables. Maximum is 81920 bytes.
    warning: espcomm_sync failed
    error: espcomm_open failed
    error: espcomm_upload_mem failed
    error: espcomm_upload_mem failed
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.
    i dont know whats up
    can you help me?

  • @vishalmishra1937
    @vishalmishra1937 5 ปีที่แล้ว

    i am getting d8 is not declared in scope in ep8266 cp2102
    while uplading code for led matrix using google assistant .
    now what are the steps to be taken for this plz help

  • @kirthana9439
    @kirthana9439 5 ปีที่แล้ว

    hi , im having the same problem, when i compile the coding ,can you tell me the way to fix it?

  • @berkaycavus
    @berkaycavus 4 ปีที่แล้ว

    These type solutions what we need ! , very thanks techiesms

  • @AndresBarrero
    @AndresBarrero 5 ปีที่แล้ว

    La placa apropiada para que no salga el error "error: espcomm_upload_mem failed" es NodeMCU 1.0
    La genérica ESP 8266 es otra placa más pequeña que solo trae el módulo wi fi y no es la del video.

  • @alanvocal1
    @alanvocal1 5 ปีที่แล้ว

    Under TOOLS / reset method, select nodemcu. worked for me.

  • @TheModsRE4
    @TheModsRE4 6 ปีที่แล้ว

    You are amazing!!!!! This solution works very well.... THANK YOU

  • @technicalLuckyAH
    @technicalLuckyAH 5 ปีที่แล้ว

    Hello,
    I am using Version 1.1.bin. Everything was ok since I tried to change the ssid from pwned to another name. In the same step I also changed the wifi Password and clicked "save".
    After that the new ssid is displayed, but when i try to connect, the new password is not accepted. I was very carefully when changing the password and i am sure that i wrote it correctly.
    Also the old password "deauther" doesnt work.
    I flashed the esp8266 again, hoping that would set everything to default, but after that it Shows the new given ssid again and no Login possible.
    Any ideas?

  • @preethijayaraman5611
    @preethijayaraman5611 5 ปีที่แล้ว

    Sir In this connection had any resistor for Ch_pd like 10k and for rx 1k resistor

  • @zaiyabdati259
    @zaiyabdati259 5 ปีที่แล้ว +1

    Thanks man it solved my problem thank u so much

  • @mars23mj
    @mars23mj 5 ปีที่แล้ว

    WOW THANKS!!!! Saved sooooo much time!

  • @device154device3
    @device154device3 2 ปีที่แล้ว

    Thank you sir! Solved my problem!

  • @ElectroIoT
    @ElectroIoT 6 ปีที่แล้ว +1

    Many thanks for making great video ...

  • @refaelisrael411
    @refaelisrael411 5 ปีที่แล้ว

    thank you very much , you help me a lot , your explanations are very good

  • @gicahagiftw5888
    @gicahagiftw5888 5 ปีที่แล้ว

    Thank you very much man, it helped me a lot!

  • @grantwilson6577
    @grantwilson6577 5 ปีที่แล้ว

    Thank you. Flashing worked for me.

  • @sousha6361
    @sousha6361 4 ปีที่แล้ว

    should i do this everytime i want to upload my codes?

  • @transcriptionmdboss2125
    @transcriptionmdboss2125 5 ปีที่แล้ว +1

    Thanks sir very useful
    worked for my esp8266 module

    • @harshitjain7060
      @harshitjain7060 5 ปีที่แล้ว

      Can you please tell what you have done?

  • @anvarisy
    @anvarisy 4 ปีที่แล้ว

    Alhamdulillah,
    Your video help me solve my problem

  • @bunny_yaka
    @bunny_yaka 5 ปีที่แล้ว

    Thanks man, You are a lifesaver

  • @osamazahid8922
    @osamazahid8922 5 ปีที่แล้ว

    That helped me so much. Thank you so much man!!

  • @sgdingman
    @sgdingman 5 ปีที่แล้ว

    I want to test if the ESP8266-01, is working at first don't I? Your video is excellent if I want to upload a sketch to the ESP8266-01. But before I can even hope to be able to upload anything, I would think and am still trying to basically make a connection and communicate with AT commands . So far, I have not gotten one to work. If you can suggest a very basic instruction or video showing me how to do just that, I would be eternally grateful to you. There are so many conflicting statements out there, that I don't know which is correct.

  • @eagleeyegps8003
    @eagleeyegps8003 5 ปีที่แล้ว

    Can you suggest me website,book or online course to learn program to make my own esp project

  • @afifahtrielestari2637
    @afifahtrielestari2637 2 ปีที่แล้ว

    when face detection and recognition turn on, why esp 32 cam is black and serial monitor is martix3du item alloc failed?

  • @elektronika922
    @elektronika922 5 ปีที่แล้ว

    I fixed my SYNC error with cp2106 drivers from here!

  • @LCSL90
    @LCSL90 5 ปีที่แล้ว

    Worked for pressing the flash button while connecting to usb withh the nodemcu

  • @kingstone2098
    @kingstone2098 2 ปีที่แล้ว

    Genric esp8266 12 e having problem in arduino ide and other firmware erorr show com port not open and some times an other error. Drivers is already installed my system and and also checked cable but also facing this problem. Make a video how to clear this error

  • @r.vigneshvignesh9654
    @r.vigneshvignesh9654 5 ปีที่แล้ว

    I followed all these things but still I am getting error while compiling even I change a laptop also but it showing the same error, pls help me solve this

  • @adriansantos2357
    @adriansantos2357 3 ปีที่แล้ว

    Gracias me sirvió mucho tu video

  • @laila6942
    @laila6942 3 ปีที่แล้ว

    thank you, you solved my problem

  • @bisyrim1030
    @bisyrim1030 5 ปีที่แล้ว

    thank you so much i can do better today using esp8266

  • @jaydesai2414
    @jaydesai2414 3 ปีที่แล้ว

    Amazing video, thanks a bunch!

  • @the_first_hunter
    @the_first_hunter 5 ปีที่แล้ว

    This Indian god saved me

  • @anvarisy
    @anvarisy 4 ปีที่แล้ว

    Hei, now do you know how to reset ESP8266, cause now every i turn on it it always show my last code

  • @aliazzam626
    @aliazzam626 5 ปีที่แล้ว

    Great video. Thanks for the help

  • @victorhugoherrera3892
    @victorhugoherrera3892 5 ปีที่แล้ว +12

    Hi, I was having same problem, your options are too useful, however in my case it doesn't help me, I solve my problem choosing in Tools a board NodeMCU 1.0 instead of Generic ESP***, you could try it too, anyway thanks for your help.

    • @markocamargobarcenas5178
      @markocamargobarcenas5178 5 ปีที่แล้ว +1

      Tenkiu men we love you no homo =D

    • @potterrules
      @potterrules 5 ปีที่แล้ว

      Love u so much #NoHomo

    • @ronaldocabral3322
      @ronaldocabral3322 5 ปีที่แล้ว

      Man thank u very much you save me u don't how much time i waste trying to solve this problem.

    • @victorhugoherrera3892
      @victorhugoherrera3892 5 ปีที่แล้ว

      @@ronaldocabral3322 Yes, me too. Good luck now :)

    • @adan5511
      @adan5511 5 ปีที่แล้ว

      dude, this totally works

  • @aidayasmin9318
    @aidayasmin9318 4 ปีที่แล้ว

    hi sir, ive done everything that you did but why is the error still appear :(

  • @Saipreetham0
    @Saipreetham0 6 ปีที่แล้ว

    How to re program the board and delete the codes of nodemcu plz tell me

  •  5 ปีที่แล้ว

    GOD BLESS YOU BROTHER.

  • @rehankondkari9178
    @rehankondkari9178 5 ปีที่แล้ว

    bro your solution is not working in my problem.
    i am using node mcu (amica)
    error :
    warning: espcomm_send_command: didn't receive command response
    warning: espcomm_send_command(FLASH_DOWNLOAD_BEGIN) failed
    error: espcomm_upload_mem failed
    error: espcomm_upload_mem failed
    can you help plz??

  • @batopilaschihuahuamexico3043
    @batopilaschihuahuamexico3043 5 ปีที่แล้ว +1

    i did all that and still not working

  • @MrAnseelf
    @MrAnseelf 5 ปีที่แล้ว

    Gracias Exelente video saludos

  • @veereshullegaddi5909
    @veereshullegaddi5909 5 ปีที่แล้ว

    sir serious problem with softwareserial esp8266 redeclared different kind of symbols

  • @arduinomaker5050
    @arduinomaker5050 4 ปีที่แล้ว

    nice project..it worked!!thank you very much bro

    • @techiesms
      @techiesms  4 ปีที่แล้ว

      share video, share knowledge

  • @phanthhai93
    @phanthhai93 5 ปีที่แล้ว

    Thanks for your hint. It worked for me :D

  • @sleeping1893
    @sleeping1893 5 ปีที่แล้ว

    thank u for ur video,if i connect leonardo reset pin to gnd,the port of the leonardo disappear immediately,Why? thank u again

  • @parthvarmora1598
    @parthvarmora1598 5 ปีที่แล้ว

    Problem solved. thanx

  • @dhruva4353
    @dhruva4353 4 ปีที่แล้ว

    Sir please follow vedio on how to upload the drivers in the disciption

  • @ajeetv300
    @ajeetv300 4 ปีที่แล้ว

    My nodeMCU not connecting with my wifi after uploading proper code and other connections.

  • @zacisyahu
    @zacisyahu 6 ปีที่แล้ว

    Thank you. This helped me.

  • @duinomart344
    @duinomart344 5 ปีที่แล้ว

    oh god, you save me. thanks!!

  • @akshatverma2207
    @akshatverma2207 6 ปีที่แล้ว +2

    I’m getting an error espcomm_syn fail
    Open failed
    Upload_mem failed while uploading code to esp 01 via Arduino. I followed the exact steps

    • @emirhan1356
      @emirhan1356 4 ปีที่แล้ว

      did you fix it? i've faced with the same problem

  • @prasangawickramathilaka3558
    @prasangawickramathilaka3558 3 ปีที่แล้ว

    Thank you so much.

  • @juanfelix4589
    @juanfelix4589 6 ปีที่แล้ว

    Great job thank you bro👍👍

  • @maurodipatimperu
    @maurodipatimperu 4 ปีที่แล้ว

    It works!!! Look at 6:20! Many thanks!!!

  • @vasapolaurean2350
    @vasapolaurean2350 5 ปีที่แล้ว

    help
    * Arduino: 1.8.5 (Mac OS X), Board: "NodeMCU 0.9 (ESP-12 Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200"
    In file included from /Users/xxxx/Documents/Arduino/libraries/DHT-sensor-library-master/DHT_U.cpp:22:0:
    /Users/xxxx/Documents/Arduino/libraries/DHT-sensor-library-master/DHT_U.h:25:29: fatal error: Adafruit_Sensor.h: No such file or directory
    #include
    ^
    compilation terminated.
    exit status 1
    Error compiling for board NodeMCU 0.9 (ESP-12 Module).
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

  • @muralidevatha8563
    @muralidevatha8563 5 ปีที่แล้ว

    How to rectify the error "Error compiling for board LOLIN (WEMOS) D1 R2 &MINI