Fix avrdude: stk500_recv(): programmer is not responding

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

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

  • @mr.techsavveygammer7032
    @mr.techsavveygammer7032 5 หลายเดือนก่อน +3

    bro hats off u saved from losing a science fair competition thanks a lot u are a legend god bless

  • @aljazskvarca
    @aljazskvarca 2 ปีที่แล้ว +31

    Very helpful! I have Arduino nano. It did not work . I wen't under tools>processors and selected the old bootdrive. Now it works.

    • @programmingelectronics
      @programmingelectronics  2 ปีที่แล้ว +3

      Awesome!

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

      Oh sh.t! Thank you so much 🙏

    • @senox7
      @senox7 10 หลายเดือนก่อน +1

      you are a lifesaver
      thanks!

    • @EsmailMohamed-b5d
      @EsmailMohamed-b5d 2 หลายเดือนก่อน

      Thx bro

    • @zyvbrex.rawfootage
      @zyvbrex.rawfootage หลายเดือนก่อน

      What did you do i have a same problem

  • @michaelvorenkamp3780
    @michaelvorenkamp3780 29 วันที่ผ่านมา +2

    I hate myself. I did all of this, or so I thought. Turns out I was just mindlessly clicking the stupid bluetooth option on the top of the list because I was on autopilot. Thank you for helping me defeat avrdude!

  • @shuwei83
    @shuwei83 3 ปีที่แล้ว +62

    There is another reason. When you use Arduino Nano, try to select a different "Processor" ATmega328P, ATmega328P (Old Bootloader), and upload again. Even if I buy Arduino Nano in 2021, I still have to choose the old bootloader to use it.

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

    Reinstalling the IDE software did the trick in my case. I let the Arduino connected while installing and detected the correct port. Thank you.

  • @suneathhossain8054
    @suneathhossain8054 ปีที่แล้ว +3

    Worked for me. I had TX and RX pins connected.
    Thanks man! Take love.

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

    After the explanation and solutions, the narrations are the best! 😂 keep doing it it guys!

  • @aisharaza965
    @aisharaza965 2 ปีที่แล้ว +11

    after struggling for a month or so, your video saved my life, the best solution ever found to fix this error code.thanks a lot

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

    Thank you so much bro. When I saw DONE UPLAODING my soul left me for a second

  • @abdelrahmanemoji3796
    @abdelrahmanemoji3796 3 ปีที่แล้ว +14

    i got nervous when you said "it is last easy thing that you can try" but it worked luckily

  • @alejandrocontreras2797
    @alejandrocontreras2797 3 ปีที่แล้ว +27

    Dude, you just saved my project! thanks a lot!

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

      I had this problem early on and installed a new set of drivers and all worked fine. Worked through a few bugs with this man's help. I got a test running for a TM1637 display that was running but it has this AVRdude problem. I don't really understand how my test was running,power was flowing but it had the error code. No cable ,board problem checked with a different setup but why it would run load this but code out. ? . And Sir Thank you for talking me off a leadge. . One little step but a long way to go for a rookie. Bob

  • @alexsanderkavun3095
    @alexsanderkavun3095 3 ปีที่แล้ว +3

    Thank you, the last option worked. I just saw it here for the first time

  • @Abbacchio_
    @Abbacchio_ 8 หลายเดือนก่อน +1

    thx dude, 2 hours trying to fix this error, and I just needed to push the USB cable a little more, I deserve your best insults

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

    Thanks man, your suggestion to unplug TX and RX port work like a charm!

  • @MassimilianoCuba
    @MassimilianoCuba 2 ปีที่แล้ว +4

    DUDE YOU JUST SAVE MY PROJECT!!! GOD BLESS YOU 😭😭😭😭 THANKS A LOT!

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

    OMG I LOVE YOU. My problem was that I had 2 wires in the TX and RX, but no other board was connected, so I thought it doesnt matter. Saved me so much time :)

  • @premsaisiddi24680
    @premsaisiddi24680 3 ปีที่แล้ว +3

    Bro ur osssum I worried that my arduino uno board is showing like this but after seeing ur viedo it has been sloved u have said that 1 pin and 0 pin should not connect to anyone that's what I did thank u bro u helped me a lot
    Super extraordinary

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

    Thank you sir you just saved me from a big frusturation i love youuu

  • @ChikombaBlessed
    @ChikombaBlessed 5 หลายเดือนก่อน +1

    Thank you, my guy. checking and changing the board worked for me

  • @jennybear1408
    @jennybear1408 3 หลายเดือนก่อน +1

    Thank you! This helped me, the port was the issue.

  • @Aleckael
    @Aleckael 2 ปีที่แล้ว +1

    THANKYOU!
    The reset button on the uno board did it!

  • @ASlabs1
    @ASlabs1 หลายเดือนก่อน +1

    Bro fr u saved my life Tysm for helping me🙌

  • @thecreativeacharyan8493
    @thecreativeacharyan8493 9 หลายเดือนก่อน +1

    i tried everything to upload my program but once i saw this video i did it in a second thank you

  • @tmonkey3323
    @tmonkey3323 10 หลายเดือนก่อน +1

    another tip:
    make sure that the cable is fully inserted into the arduino board, the power might already be transmitted even if its not fully inserted but the data will be not
    and if your cable doesnt go all the way in you have to try with another cable

  • @mm.f262
    @mm.f262 3 ปีที่แล้ว +1

    Thanks dude! the problem was the port selection for me.

  • @Brandonleetrader
    @Brandonleetrader 7 หลายเดือนก่อน +1

    First one worked, Liked and Subscribed.

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

    I had a power only USB cable on my desk (no data lines in it). Drove me nuts for days! I cut it up and threw it out when I figured that out.

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

    In case of Arduino Nano, try changing the processor to Atmega328P(old bootloader). It worked for me.

    • @programmingelectronics
      @programmingelectronics  2 ปีที่แล้ว +1

      Thanks for adding this!

    • @zebgelatchi
      @zebgelatchi ปีที่แล้ว

      Wasted an aftenoon trying to download to a Nano. Changed to Old Bootloader in processor and EEEHH HAAHH it worked first attempt ! Thank you, Thank you sir.

  • @parul2581
    @parul2581 3 ปีที่แล้ว +2

    bro u saved my project thanks dont have words for u

    • @kaushalkumar-mk1kx
      @kaushalkumar-mk1kx 3 ปีที่แล้ว

      can you help me ?

    • @kaushalkumar-mk1kx
      @kaushalkumar-mk1kx 3 ปีที่แล้ว +1

      I am uploading the program in arduino so this error is showing
      Arduino: 1.8.15 (Windows Store 1.8.49.0) (Windows 10), Board: "Arduino Uno"
      Sketch uses 3966 bytes (12%) of program storage space. Maximum is 32256 bytes.
      Global variables use 364 bytes (17%) of dynamic memory, leaving 1684 bytes for local variables. Maximum is 2048 bytes.
      An error occurred while uploading the sketch
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0xdf
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0xdf
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0xdf
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0xdf
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0xdf
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0xdf
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0xdf
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0xdf
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0xdf
      avrdude: stk500_recv(): programmer is not responding
      avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0xdf
      This report would have more information with
      "Show verbose output during compilation"
      option enabled in File -> Preferences.

    • @kaushalkumar-mk1kx
      @kaushalkumar-mk1kx 3 ปีที่แล้ว

      Last date to submit my project is 1st July plz help me

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

      @@kaushalkumar-mk1kx yes I can

    • @kaushalkumar-mk1kx
      @kaushalkumar-mk1kx 3 ปีที่แล้ว

      tell me any solution mam

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

    Problem resolved! Thanks Man!

  • @do7a65
    @do7a65 8 หลายเดือนก่อน +1

    You just have solved my problem🥰 Thanks a lot 💗💗

  • @youngja-diary
    @youngja-diary 3 ปีที่แล้ว +8

    This video saved my life. Thank you sooooooo much 😭

  • @FreddotheWheelchairGuy
    @FreddotheWheelchairGuy 2 ปีที่แล้ว +1

    This is driving me nuts. I have tried EVERYTHING in this video and it is still not working. I even ordered another Aduino Uno so I could replace the cable and Arduino - the most frustrating thing is - the new Arduino was working!! I made the LED flash and I thought, great, that was the problem, but now BOTH of them have stopped working and I get the AVRdude error with both of them. WHY?!
    Please help

  • @GabTheGamerGT
    @GabTheGamerGT ปีที่แล้ว

    Thank You So Much For Helping Me You Were The Only Tutorial That I Could Find Helpful!

  • @keyurborad8550
    @keyurborad8550 2 ปีที่แล้ว +1

    Hi dude, Thanks a lot .. the last method worked for me. I had connected tx and rx while uploading the program and this hampered it to be uploaded

  • @StevenVeldt
    @StevenVeldt 8 หลายเดือนก่อน +1

    I disconnected my Arduino board from the breadboard and it uploaded successfully with nothing connected to the Arduino. Wonder if there was a short somewhere like he said with the TxRx pins. Thank you for the help.

  • @satvikeedara
    @satvikeedara ปีที่แล้ว

    BRO YOU ARE AMAZING, BECAUSE OF YOU MY ARDUINO IS WORKING AND FULL CREDIT GOES TO YOUUU

  • @rusticagenerica
    @rusticagenerica ปีที่แล้ว

    I had a damn shield connected. YOU ARE A PRO. THANK YOU

    • @programmingelectronics
      @programmingelectronics  ปีที่แล้ว

      Happens all the time! I was doing something like that the other day. Thanks for watching!

  • @rafalkunz7047
    @rafalkunz7047 10 หลายเดือนก่อน +4

    I only had to change the Processor from “ATmega328P” to “ATmega328P (Old Bootloader) which is not in the video

  • @rusticagenerica
    @rusticagenerica ปีที่แล้ว

    May God bless you for helping us.

  • @rusticagenerica
    @rusticagenerica ปีที่แล้ว

    Just subscribed to all the notifications of your excellent channel

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

    Great help, thanks 👍

  • @crispy6687
    @crispy6687 3 ปีที่แล้ว +1

    Thanks man...You saved my project tq..

  • @mirmir9095
    @mirmir9095 3 ปีที่แล้ว +1

    thanks dude the first step work like a charm ;]

  • @jereyseba
    @jereyseba 2 ปีที่แล้ว +1

    First it works very well for me, I recommend doing it, thank you very much :)

  • @igortmkrtchn5033
    @igortmkrtchn5033 2 ปีที่แล้ว +1

    Have this issue constantly (Nano on MacOS).
    All the parameters are correct and everything else is also correct for the following reason:
    - I disconnect USB and try 2-3 time to load sketch with no Arduino connected. Then I connect USB back and it works!
    - but the next load attempt fails again.
    So I have to disconnect USB and press Load button a few time then reconnect each time I need to load a new sketch!
    This is ridiculous.
    Most of the issues discussed in the video is regarding constant failures - when it does not work at all, but here I have a floating issue.
    And with a known temporal fix.

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

      Those kinds of issues drive me nuts too! When everything is the same, but sometimes it works and sometimes it doesn't ...
      Hard to diagnose, do you get the same fickle behavior on different computers? Have you tried swapping the USB cable? Maybe it's on it's way out? IDK - it's a frustrating one to endure.

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

    Thank you bro, your video helped me :)

  • @petrescuadrian
    @petrescuadrian 8 หลายเดือนก่อน +1

    I think people should also know that there are differences between nano from arduino and nano from other manufacturers. I never had problemes with boards from arduino. From other manufacturers I had the same issue with uploding code.

  • @DemonDev1502
    @DemonDev1502 2 หลายเดือนก่อน

    Thank you master from Chilito

  • @boraa1283
    @boraa1283 ปีที่แล้ว

    RX and TX were touching each other. Thanks for the solution.

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

    you saved my project dude thank you very much

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

    thanks , its worked on first try

  • @ultrast_
    @ultrast_ 5 หลายเดือนก่อน +1

    thank u so much. (RX and TX was connected)

  • @alanchoquemamani3054
    @alanchoquemamani3054 3 ปีที่แล้ว +1

    Thanks alot u just fixed my problem

  • @DamianGarcia-i6c
    @DamianGarcia-i6c 3 วันที่ผ่านมา

    OMG I LOVE YOU FOR ME IT WAS THE RX AND TX THING

  • @manishmaurya1
    @manishmaurya1 2 ปีที่แล้ว +1

    4th solution worked for me♥️

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

    ah!! haha so all these while it was my port ah lol, thanks 3:29 got my solution. Thanks am a subscriber now

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

    If you have an external connection from the board to say a 5v stepper motor then you might be drawing too much power from the 5v pin. Just disconnect the power to the motor upload the code then reconnect it to the board. Best not to use the Nano as a power supply in the first place.

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

    bro this video saved me

  • @keisuketakahashi3597
    @keisuketakahashi3597 10 หลายเดือนก่อน +1

    this was so helpfull. tysm

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

    Thanks. My issue got solved too.. Great video..

  • @ViniciusClaro2012
    @ViniciusClaro2012 2 ปีที่แล้ว +3

    Genious!!!!
    Thank you very very much!
    It is great!!

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

    you save my life :333 love youuuuuu

  • @CopycatLiu
    @CopycatLiu 2 ปีที่แล้ว +1

    So helpful, just found out selected the wrong board Mini vs Pro~~~~

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

    thx dude i finished mine

  • @nikolamilosevic7316
    @nikolamilosevic7316 2 ปีที่แล้ว +1

    I had that problem and on the end solution was that I didn't pushed usb port usb nano to the end. I wanted to cry when I realised what was problem that I was fixing for over hour 😂😂😂

  • @meadowdeath
    @meadowdeath 3 ปีที่แล้ว +2

    Love u so much , You just saved my ass 😭😭😭😭😭😭😭❤

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

    Thanks bro

  • @mitchel0n
    @mitchel0n 3 ปีที่แล้ว +1

    TE AMO, me daba el error porque tenia conectados los pines 0 y 1 me salvaste la vida

  • @ulisesdiale4004
    @ulisesdiale4004 2 ปีที่แล้ว +1

    Thank you so much dude

  • @Wil_Bloodworth
    @Wil_Bloodworth 8 หลายเดือนก่อน +1

    Two brand new Nanos with two brand new USB cords... both recognized by Windows. None of these steps fixed the issue. Neither of my Nanos can be uploaded to via the IDE. What a terrible first Arduino experience!

    • @programmingelectronics
      @programmingelectronics  8 หลายเดือนก่อน +1

      Hi Wil - that stinks! Sorry to hear it.
      Sometimes getting things set up can be a pain, but is worth working through it.
      Do you see anything listed at all when you go to Tools>Port?

    • @Wil_Bloodworth
      @Wil_Bloodworth 8 หลายเดือนก่อน +1

      ​@@programmingelectronics I figured it out... turns out that this card was an off-brand Arduino. That caused the Arduino IDE to not be able to communicate with it when the normal "Arduino Nano" was chosen. After selecting an older driver for the IDE, it is now working. I only figured this out when I went to Amazon to return the device and discovered this tidbit in the device reviews.

    • @programmingelectronics
      @programmingelectronics  8 หลายเดือนก่อน +1

      @@Wil_Bloodworth Good to know! Thanks for adding this!

  • @martingogaming1777
    @martingogaming1777 ปีที่แล้ว

    Thank you very much the. problem was with digital pin 0 RX.

  • @s.vinaysunder8642
    @s.vinaysunder8642 ปีที่แล้ว

    hey dude can you tell me what are the types of jumper wires you used(its urgent pls) :(

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

    Where can I get the drivers for Mac? That’s the only thing left I can think of and I didn’t install any drivers.

  • @BROM9383
    @BROM9383 2 ปีที่แล้ว +1

    thx so much. solved problem

  • @AhmedWissam
    @AhmedWissam 3 ปีที่แล้ว +1

    Another solution: use another arduino uno as ISP and make sure u hit "upload using a programmer"
    U can reflash a new bootloader and try again
    Another solution : it happens that i cant upload using the legacy ide but i can with atmel studio(with visual micro extension)

    • @programmingelectronics
      @programmingelectronics  3 ปีที่แล้ว +1

      Thanks so much Ahmed! Which plugin do you use in Visual Studio for Arduino? Have you found one specifically you like?

  • @dimolade
    @dimolade ปีที่แล้ว

    i tried everything and it still doesent work and its brand new, it has a 3.5" TFT Shield and even if i remove that it doesent work but im using the usb cable and not the other one so could that be the reason?

  • @RixtronixLAB
    @RixtronixLAB 2 ปีที่แล้ว +1

    Nice info, thanks :)

  • @jwelectric52
    @jwelectric52 3 ปีที่แล้ว +1

    Thank you very much.

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

    YOU SAVED ME!!!!!!!!!!!!!!

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

    worked with the printer cable and different usb port. thanks

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

    my error is same, but reason seems different, every time i upload the Boot after that once can upload the program second time it give me error. " programmer is not responding". if i load thee boot again, progam again one time can be upload after that same error. can you help me what is the problem

    • @oOVOIDOo
      @oOVOIDOo 9 หลายเดือนก่อน

      Same error

  • @danielhorodenko8587
    @danielhorodenko8587 2 ปีที่แล้ว +1

    Thank you, i was using the wrong Port! For some reason, there were two of them

  • @darkflame9525
    @darkflame9525 3 ปีที่แล้ว +1

    FINALLY. I FOUND GOLD

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo 11 หลายเดือนก่อน +1

    Problem "USB_Host_Shield_2.0-master" ..................................................... ????

    • @programmingelectronics
      @programmingelectronics  11 หลายเดือนก่อน +1

      OK, sounds like maybe the enclosing library folder name does not match the name of the .cpp and .h files.
      Under My Documents>Arduino>Libraries>USB_Host_Shield_2.0-master
      Maybe changing the folder name to just USB_Host_Shield_2.0 (removing the -master part)

    • @pierpa_76pierpaolo
      @pierpa_76pierpaolo 11 หลายเดือนก่อน +1

      @@programmingelectronics Yes I had already reduced the name and now I followed your advice. Now I will try to recompile the code with the original ONE. Let's hope well. :)

  • @ياسينللمعلوميات-ر6ذ
    @ياسينللمعلوميات-ر6ذ 2 ปีที่แล้ว +1

    hey I think you need to add fliping the microcontroller

  • @cjdevries1214
    @cjdevries1214 2 ปีที่แล้ว +1

    thanks it worked

  • @theredstonehive
    @theredstonehive 2 ปีที่แล้ว +1

    I found that sometimes the code is uploaded even if the IDE gives the "avrdude: stk500_recv(): programmer is not responding" error.

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

    Bro above of arduino uno is Motor diver how to remove RX and TX and how to get your port name

  • @jowzirasheed
    @jowzirasheed 2 ปีที่แล้ว +1

    Big help bro ❤️

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

    Thank you so much... this video helped a lot.. once again thank you....

  • @gustavolunelli1996
    @gustavolunelli1996 4 วันที่ผ่านมา

    Crazy to think that RX TX pins were giving me trouble.

  • @carlosolivares2673
    @carlosolivares2673 3 ปีที่แล้ว +1

    thank friend, very usefull

  • @manuelmendoza4222
    @manuelmendoza4222 3 ปีที่แล้ว +1

    I don't know if this work for someone, I was trying by hours for a solution, and finally I restart my computer and works. LOL

  • @parul2581
    @parul2581 3 ปีที่แล้ว +2

    thanku bro

  • @andersonleonardo484
    @andersonleonardo484 5 หลายเดือนก่อน

    The solution that worked for me : (I'm using Arduino Uno) :
    I install the CH340 Driver on my computer also I already had installed the Arduino IDE with all stuff etc, I notice this happens when I had connected some stuff to the 0 and 1 digital ports which are tx and rx so I don't use them anymore then I was able to upload the sketch with any problems :
    PSDTA: you could try to change your arduino to arduino nano then in proccessor option select atmega328 old bootlioader and then select Arduino Uno again

  • @nathalieb4648
    @nathalieb4648 6 หลายเดือนก่อน +1

    And if none of that works, your board is freaking fried :(

  • @chungmai8659
    @chungmai8659 3 ปีที่แล้ว +1

    thank you so much! t just remove the TX RX and... DONE

  • @sleipnirish1
    @sleipnirish1 2 ปีที่แล้ว +1

    thanks thanks thanks thanks ❤❤

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

    what worked for me was to release the reset button after compile completed and before it tried connecting