Best Way to Burn Arduino Bootloaders Tutorial!

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 พ.ค. 2024
  • In this video I'm going to show you my new favorite method to burn bootloaders. I used to do this with the USB Tiny ISP, but after a late night trying to get it to work with the ATMEGA2560, I found a new way. A big thanks to Nick Gammon for putting this together: www.gammon.com.au/bootloader
    The git hub link is here:
    github.com/nickgammon/arduino...
    "click the Download Zip button, then pull out the Atmega Programmer folder and drop that right into your Sketches folder"
    Another way to do it:
    github.com/bkibby/OptiLoader
    If for whatever reason in the future those links don't work, hit me up (see my contact info below) and I'll send you the sketch.
    Check out my Tindie store (trigBoard is available) www.tindie.com/stores/kdcircu...
    Thanks to all the Patrons for dropping a few bucks in the tip jar to help make these videos happen!
    / kdarrah
    Twitter: / kdcircuits
    For inquiries or design services:
    www.kdcircuits.com
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    I really want to say a great great thank you for making this video. I have stucked for a long time to burn bootloader to a new atmega328p- au chip and finally yours are the only way that works.
    Thank you so much.

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

    thanks for this vid Kevin, looks neater than the two other methods I've seen, especially with your dedicated board.

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

    5 years later and this video saved me. had an Arduino nano with a corrupted boot loader. managed to recover it with this! thanks! and thanks to Nick Gammon

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

    Great video. I've looked at a bunch and never saw interaction using the Terminal monitor. Blew me away, LOL!

  • @haydenc2742
    @haydenc2742 8 ปีที่แล้ว

    awesome! I converted a arduino nano V3 to an avrisp the same way, works great!

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

    Thank you very much for such a clear explanation, this video helped me out!

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

    great video have been looking for just this no waffel

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

    Thanks, it helped me to save mi MKS base board!

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

    Fantastic, thanks for sharing!

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

    @Kevin Darrah
    Thanks for this video! Do you already have or would you consider making a very simple video on how to lower the BOD from 2.7v to 1.8v? Really hope you will consider.
    Also, is it ok to use a 5V 16mhz nano as master to program a target, say, one of your small low power boards or a 3.3v pro mini?
    Thanks.

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

    Hi, thanks for uploading the video. Will this work for the atmega8-16pu ?

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

    I found this video to be very helpful- Thank you.

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

    Great video, i will check out the Nick site but Will this same process work on a 2560? Have you made a video on that? Because i am really struggling... and you said there were some usb to ttl compatibility issues. What really fascinates me about your video is you are the first how to i have seen to use the icsp header. Not sure what is up with that seemed to me the reason why it was there... ugh I have watched a read A LOT of internet noise before coming here lemme tell ya. Any exta help appreciated. 😁

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

    Thank you for sharing, always appriciate your contributions, your tutorials are life saving. What socket adapter did you used at 00:01:34 to build that surface mount programmer board?

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

    Useful for begginers, but i began my experience in this theme from the Gammon's pages already for my battery powered projects. So good luck with your future projects...

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

    This was exactly what I was looking for, fantastic video :)

  • @jeanyves5380
    @jeanyves5380 8 หลายเดือนก่อน

    Hi, thank's for your video.
    1st : i don't see all these boards in the menu.
    2nd: I cannot set neither get the type of processor.
    I mean the slave one on the white testing board.
    I can flash the Atmega328P but not the Atmega328 without P.
    Il complains with the signature. I changed the signature to 0X14 (at the end) which correspond for a Atmega328 (witout P).
    But i got the same error! :(
    What should i do?

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

    thanks for the video. is there an easy way to program the optiboot loader ? i want to doit in the pro micro.

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

    Kevin (and Nick Gammon) thanks for this. I was having a problem with an Arduino Pro Mini (developed by Sparkfun) the watchdog timer reset would not work (it just sent the onboard led into rapid flash) Also to reset the board I had to remove all power and fiddle with the programmer insertion time to get it to reprogram. It appears that the bootloader that comes with the Sparfun (and clones) does not do the RESET properly? Anyway. who knows.? Loading Nick's code fixed this and I presume I have OPTIBOOT loaded. The watchdog timer now works as I want it to. However Tools > Boards> now needs to be Mini rather than Pro Mini for uploads to happen. Thanks to both of you.

  • @digitaldata-surveying
    @digitaldata-surveying 6 ปีที่แล้ว +1

    Nice work

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

    Hi Kevin
    does this work atmega8 @ 16meg crystal ?. I tried and it won't except sketches

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

    how could you program to fuses so that It operates with internal OSC for application not needing accurate timing ?

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

    Good as always Kevin, how would you go about doing a QFN package (Arduino bootloader). Specially if you are doing small batch of prototyping i.e. 20-30 units. Would an ICSP header be a better option or a ZIF socket jig?

    • @Kevindarrah
      @Kevindarrah  8 ปีที่แล้ว

      +Syed Mazahir Rizvi yea, probably. You could always look into a tag-connect type connector as well - or other similar pogo-pin style connection

  • @r.dselectronics3349
    @r.dselectronics3349 5 ปีที่แล้ว +1

    nice one....kevin....thank u so much

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

    is it possible to load the boot loader and the sketch automatically in case you have to do it multiple times?

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

    Great videos, thank you. Sorry if stupid question, why no pin out on gnd and avcc on the cheater board?

    • @Kevindarrah
      @Kevindarrah  8 ปีที่แล้ว

      +Shaun Whiteley VCC and GND are broken out to a 6 pin header near the top of the board. And the 'shields' that I'm designing get power and ground from the 6 pin ICSP header at the bottom.

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

    fantastic good job help me a lot thanks!.

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

    Are you using 104 capacitors on the external clock?

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

    I don't have any kind of clock crystal. I have two Leonardos, two esp32 and two esp8266 boards. I want to use my atmega328p-pu with the internal 8MHz clock. How can I upload this bootloader? It doesn't work with the Leonardo's ICSP headers (ArduinoISP sketch on the Leonardo and then tools->board->atmega328p on a breadboard (8mhz internal clock) and then tools->burn bootloader). What am I doing wrong? Can I burn the bootloader with Nick Gammon's sketch or do I have to buy a clock crystal/dissolder it from my ftdi chip or is there a possibility to get the Leonardo's clock on a pin?

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

    Where is your video and info for making and using a programmer for the smt versions of the AVR?

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

    Hei Kevin, have you tried AtMega8APU? I tried the Nick Gammon stuff, it recognizes the chip, even uploads the bootloader , after that it does not load any arduino sketches.. I have tried several board as you advised. any idea what might get wrong?

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

    thank you for such a nice video
    very useful idea...
    i got the last version of the coode from the website and used it in Arduino ide but i still get issue :
    atmega168_optiboot was not declared in this scope
    !!

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

    I want burn bootloader in atmega8 through arduino uno. But every time finds error "efuse" memory type not define for part atmega8. So what i need to do.

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

    Thank you so much!!! i've searched about 2 hours for that great tutorial!!! ((;

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

    Ever burnt the Arduino bootloader into a PIC16? Any advice /suggestions?

  • @robputt
    @robputt 7 ปีที่แล้ว

    Just a note, with the atMega328 series I think for 8mhz you can just remove the crystal as they have an internal clock, I think the crystal is only required for 16mhz operations.

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

      Do u know how I can set my Atmega328p to 8mhz? It’s current set to 16mhz

    • @MD-vs9ff
      @MD-vs9ff ปีที่แล้ว

      Crystal is more accurate. If you require asynchronous serial communication the internal oscillator might not be accurate enough. It's not just a matter of speed.

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

    Ah very cool, very useful!

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

    Where can i get a cheat board? If i solder all the parts, is it the same as a full version arduino uno??

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

    I used uno board a programmer and atmega 2560 as a target. While uploading a sketch to a target board I'm getting time error, how to solve it. Even while upload a bootloader I'm getting error.

  • @Bunny-eh1ld
    @Bunny-eh1ld 6 ปีที่แล้ว +1

    Arduino: 1.8.5 (Windows 10), Board: "Arduino/Genuino Uno"
    avrdude: Expected signature for ATmega328P is 1E 95 0F
    Double check chip, or use -F to override this check.
    Error while burning bootloader.
    This report would have more information with
    "Show verbose output during compilation"
    option enabled in File -> Preferences.

  • @leogazio1234
    @leogazio1234 7 ปีที่แล้ว

    I'm using some of those pins to communicate with an MFRC522 rfid card reader. What should I do in this situation?

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

    can i burn arduino bootloader on atmega32 or atmega16

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

    Using this method and Gammon's method, when I input code to a specific PIN, its almost random which pin will be the out pin on my ATMega328, is there any way to know which pin number I should put in my code to get the desired output pin on the mega?

  • @TheGamingSabre
    @TheGamingSabre 8 ปีที่แล้ว

    Why don't you buy the AVR Dragon? You can program all of the ATMEGAs and ATTINYs, as well it has high voltage programming allowing you to utilize either more pins or to program the chip when you went too far and bricked it.

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

    Would it be possible to use a nano instead of a uno?

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

    4 days of frustration were solved just because of this video. And yes, the pins d11, d12, and d13 can be used instead of the ICSP header. Refer to this image and wire everything up exactly no matter if you want to use the 8mhz int crystal (in other words use the 16mhz crystal no matter what)
    www.arduino.cc/en/uploads/Tutorial/BreadboardAVR.png
    After burning the bootloader you can get rid of the 16mhz crystal and the other components:
    www.arduino.cc/en/uploads/Tutorial/ArduinoUSBSerialSimple.png
    Huge thanks to Nick and Kevin.

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

    Hi
    I have crystal built in my arduinos but I'm still getting Failed to enter programming mode. Double-check wiring!
    error. Wiring is okay. What do I do?

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

    Very good, thanks

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

    Once I burnt in the bootloader, can I just program it directly from a Uno board? Or should I change the bootloader since this one only seems to work with Arduino mini?

  • @thisaintmyrealname1
    @thisaintmyrealname1 7 ปีที่แล้ว

    great video. thanks.

  • @UnleashedFury11
    @UnleashedFury11 8 ปีที่แล้ว

    Hi, Kevin. I'm trying to burn the bootloader to an ATMEGA328P - AUR, the 32-pin SMD variation. I've tried the recommended way that the Arduino website suggests to burn the bootloader. However, I don't have the 16MHz crystal recommended, so I tried the workaround method they describe to use the internal 8MHz oscillator. Burning the bootloader gives me the "Yikes! Invalid device signature" error. Do you think there is an incompatibility with the chip? Problem with using the internal oscillator? Or could the method in this video work with an internal oscillator?

    • @Kevindarrah
      @Kevindarrah  8 ปีที่แล้ว

      +UnleashedFury11 yea, I remember getting that problem as well - try the method shown here - it works around that invalid signature

  • @DuongTrongHue
    @DuongTrongHue 8 ปีที่แล้ว

    +Kevin Darrah Thanks. If I put a 8MHz booatloader. That means I need:
    - a 8MHz external crystal or not (using a 8MHz internal crystal) ?
    - must running with 3.3V or can be both of 3.3V and 5V ?

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

      +Saytinh yes, 8MHz crystal and can run at 3.3V to 5V - check out my last video on lowering frequency and voltage on the arduino

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

    tried to burn onto atmega328p the way you said. i just get attempting to enter icsp programing mode.... then get alot of weird characters and stops. any suggestions?

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

    Is it possible to load hex files in the same way?

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

    could i upload arduino bootloader with only usbasp ??

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

    I purchased a few atmega p-pu chips that I cannot get the boot-loader on as it seems the signature is incorrect! Is there a possibility that programming this way might help with my problem?
    Thanks for your time.
    Have a nice day.

    • @JoeTheLion188
      @JoeTheLion188 7 ปีที่แล้ว

      I know this is an old question, but I was having the same problem!
      The answer is: YES! I was having a problem using the built in bootloader burner in the Arduino IDE. Tried both in a board and on a bread board and kept getting this error. This new sketch took care of the problem.

  • @user-zr5it9xj6j
    @user-zr5it9xj6j ปีที่แล้ว

    I only have 25mhz crystal is it okay?

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

    Can you help me please ! My atmega328p-pu is working suddenly it stops working program ,i decided to burn bootloader second time ,but it shows signature error ,can you help me , what i want to do now to reuse that atmega328p-pu .

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

    I have a problem of select board . I used ATMEGA328 U . PLEASE HELP

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

    How to program Atmega85

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

    thanks

  • @TheSageDad
    @TheSageDad 8 ปีที่แล้ว

    When you wire this, do you go MISO to MISO or do you invert them like Tx to Rx?

    • @Kevindarrah
      @Kevindarrah  8 ปีที่แล้ว

      +TheSageDad yes, MISO-MISO, MOSI-MOSI, SCK-SCK

    • @TheSageDad
      @TheSageDad 8 ปีที่แล้ว

      Kevin Darrah Thanks! Love the arduino out of kit stuff.

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

    can this be used to cloning firmware from one uno to another too

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

      check out avrdudess
      you can backup and clone the MCU

  • @yorgle
    @yorgle 8 ปีที่แล้ว

    Now to make a version of this that, when powered on (or when a button is pressed) it will probe the target to see which device it is, and just program the right bootloader to it.... :D

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

    I have a microcontroller ic (AT9S1200).can anybady help me out how to program..please...

  • @alphahr
    @alphahr 8 ปีที่แล้ว +30

    Thanks, saved hundreds of brain cells from an untimely death!

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

    Hi.
    Getting this error while uploading the sketch ( ATmega_Board_Programmer) on the IDE,
    HV_Pins.h: No such file or directory
    I know it has to do something with this library to be included in my IDE, but i am having problems in doing that.
    Any help would be appreciated. Thanks!

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

      May we help you?

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

    Hi
    i am having a problem seeing the wired layout as You moved a little too fast sometimes :)
    I am using one Arduino UNO and one DIY on a breadboard ATMEGA328P-PU that does not have a bootloader on it
    sometimes i get error saying USbtiny not found.
    I do not know if tis will help or not but i also use this USB To RS232 TTL CH340G Converter Module Adapter STC replace Pl2303 CP2102 Z3 and not sure ho ti wire it correctly or if i did do it correct why i am still getting error i not sure
    Thank You for Your time

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

      May we help you

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

    Why can’t I burn the Old-Bootloader on a newer authentic Arduino Nano? I have an older knockoff Nano and sketch that only seems to run under the older Nano & boot loader. Do certain Sketches only run under the older boot loader ? I’m obviously not Arduino savvy, so any advice is appreciated.

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

      May we help you?

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

    Does it save energy to use the 8 MHz lilypad bootloader instead of the 16 MHz one?

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

      May it will double clock pulses

  • @jean-christophesicotte-bri1315
    @jean-christophesicotte-bri1315 6 ปีที่แล้ว +1

    you save lives, kevin

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

    why not arduino isp

  • @caroman6761
    @caroman6761 7 ปีที่แล้ว

    Hi Kevin, do you have an idea how to clone a ATMEGA328 to another chip? I've two transistor testers (same type), both will work fine, but on one of them is the chip damaged. The chinese seller doesn't know, where to get a single chip and I don't want to throw away one of the testers. I didn't found a explain video, howto copy a programmed chip. May you help me?

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

      Usually you can't, because most of the time, mass manufacturers disable readout in the fusebits. You can read fusebits using usbasp and avrdude. Or well, what do you have anyway besides those transistor testers?
      But i'll tell you that most of these transistor testers are compiled from a probably slightly butchered source code by Karl-Heinz Kübbeler from the German microcontroller forum. I think flashing them was discussed on eevblog forums or so.

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

    I know how to do this, but after Bootloading the breadboard unit, why is the Original Arduino still connected if your going to use the USB to
    Serial? Makes no sense! If you have to have them connected together, what purpose would the one on the breadboard serve? You have
    to take into account that *NUBUES* WON'T get it!

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

    Nice.

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

    This isn't working for me, can u post the breadboard circuit diagram.

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

    Nice.....

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

    how many time i burn bootloader,
    when i upload 2 program to atmega chip so burn bootloader are required or not,

  • @ismzaxxon
    @ismzaxxon 8 ปีที่แล้ว

    I must have missed something. Why change the chrystal value? it worked at 16 then did it again using 8mhz.

    • @Kevindarrah
      @Kevindarrah  8 ปีที่แล้ว

      +Terry Peake oh, sorry about that. I made a video before this on low power arduino which inspired this video, where I mentioned that you have to change the bootloader if you want to run the arduino at 8MHz - I was just showing how that is done here. If you're running at 16MHz, then don't worry about changing the crystal or anything.

    • @ismzaxxon
      @ismzaxxon 8 ปีที่แล้ว

      +Kevin Darrah Thanks Kevin. love your VLOG. If you get a moment. One item that isn't covered anywhere on youtube is power/brownout reset and external watchdog reset. For self resetting faults. :)

  • @ToddFun
    @ToddFun 8 ปีที่แล้ว

    Seems a bit complicated. I don't do a lot of this but I burn Arduino code from the Arduino IDE without a boot loader. I do use the USBtiny programmer. I document how I do this at the bottom of one of my really old blog postings here: www.toddfun.com/2011/01/01/making-a-custom-arduino-board-to-hack-a-christmas-photo-frame/
    Maybe you can't do it like this anymore but it just worked super easy for me being I had the programmer and liked working directly from the Arduino IDE go my custom Arduino boards.

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

    is there also a 12 MHz Version?

  • @jeetlodaya775
    @jeetlodaya775 8 ปีที่แล้ว

    can a arduino also be used to program a pic mcu

    • @jaa93997
      @jaa93997 8 ปีที่แล้ว

      can an arduino be used to program the 80C51 ????

    • @jaa93997
      @jaa93997 8 ปีที่แล้ว

      +A. R. Jasso or the MC68000? cause that would be awesome

  • @surajbhawal2474
    @surajbhawal2474 7 ปีที่แล้ว

    Can i do this using a pro mini instead of uno?

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

    greetings, such as erasing the bootloader ATmega328P, thanks

  • @shangen2783
    @shangen2783 8 ปีที่แล้ว +8

    The USBasp is a cheap alternative

    • @GnuReligion
      @GnuReligion 7 ปีที่แล้ว

      Yup. You can program one of those USBasp bootloaders, then make a v-usb cable, and you can skin this cat with 4-pins ... and well, a reset button. Won't have your nice serial interface though.

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

    The best way to do this is to use a dedicated programmer. Also, instead of buying the chip,caps, resistors, board and making it yourself. Just get a cheap pro mini that is already made.

  • @nigerelectronique9824
    @nigerelectronique9824 8 ปีที่แล้ว

    good

  • @patrickobaldo883
    @patrickobaldo883 8 ปีที่แล้ว

    You don't need the Arduino bootloader to program a mega328p in with the Arduino IDE. Search how to add stand alone atmega328p (and atmega168) to the boards manager, and program it with USBasp, without the need for the bootloader.

    • @Kevindarrah
      @Kevindarrah  8 ปีที่แล้ว

      +Patrick Jerome Obaldo yep, that's right if you've got an AVR programmer (USB asp is pretty cheap, but I've heard they can be fussy, especially off ebay)

    • @ExplosiveAnyThing
      @ExplosiveAnyThing 8 ปีที่แล้ว

      +Kevin Darrah i've bought a usbasp off ebay. Everything works fine no problem whats so ever. In the past i ve also used stk500, and i gotta tell you with usbasp is way easy to program a chip. Yesterday i actually discovered that you can program atmega328 directly from arduino, just hook the wires a crystal and you good to go!

    • @Kevindarrah
      @Kevindarrah  8 ปีที่แล้ว

      +ExplosiveAnyThing nice, I'll pick one of those up - you may have inspired part 2 :)

    • @patrickobaldo883
      @patrickobaldo883 8 ปีที่แล้ว

      +Kevin Darrah I'm pretty sure you know this already, but for everyone else's reference. Here's a list of 3rd Party boards that you can add to the boards manager.
      github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-support-urls

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

    You go way too fast for a starter like me... Could you please clearify what the connection schemes looks like? Mainly the one from ICSP to target.
    I want to use an atmega328P-PU as stand alone with the internal 8 MHz oscillator (low power consuming circuit). The chips I have came with the standard uno bootloader and I need to overwrite this and only have a complete UNO to do this with (as ISP), but everything I found so far doenst work. Nothing but errors... I think what you describe can work, but I miss some essential details (looking in the comments, that must be because I lack some basic knowledge abt these things. I am just a simple physicist). Please clearify/ tell where to find the ICSP connection schedules?

  • @sallu-ssk
    @sallu-ssk 8 ปีที่แล้ว +1

    thanks!!!!! best video ever.....

  • @filipeterra8981
    @filipeterra8981 8 ปีที่แล้ว

    i still think that the easiest way is to use ftdi bitbang. its a shame it wont work on unos...

  • @DheerajVerma143
    @DheerajVerma143 7 ปีที่แล้ว

    can i burn bootloader without using another arduino?

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

      yep, need a debugger though.. or one of those bus pirates should work I've heard

  • @abcdef-bf6zh
    @abcdef-bf6zh 4 ปีที่แล้ว

    Compiled on Apr 21 2020 at 20:49:14 with Arduino IDE 10812.
    Attempting to enter ICSP programming mode ......................................................
    Failed to enter programming mode. Double-check wiring!
    Type 'C' when ready to continue with another chip ...

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

      May we help you?

  • @rj44319
    @rj44319 8 ปีที่แล้ว +7

    I like stand alone programmers....

    • @Kevindarrah
      @Kevindarrah  8 ปีที่แล้ว +9

      +Richard Johnson you sir, just gave me an awesome idea. Thinking about back when I had to program 100's of bootloaders - could've used this same method here to make it completely standalone. The prompts to program and select bootloader version could be modified to work with a few pushbuttons - then maybe an LCD screen... yea, that would've saved a lot of time. Would be cool to also modify this code so it could batch program the bootloaders.

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

      That would be really cool

    • @ahmetmutlu1983
      @ahmetmutlu1983 7 ปีที่แล้ว

      since he uploaded the bootloader with sketch the arduino can program without pc with just a serial one char code signal.
      or by just placing it a push button :D

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

    Can I just use COM port or something else instead of using converter?

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

    Hey guys, I just bought an Arduino UNO Board. to burn Arduino Bootloader in ATMEGA328P-PU Microcon-troller. But, I saw another video where the author said: "This Arduino Board doesn't have the bootloader" May someone light me here what to do from scratch? I need to burn a bootloader to an ATMEGA328 micro-controller.

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

      Arduino Uno is bootloaded already, simply plug and play, but you have to bootload a separated microcontroller,
      What you need?
      (Filling requirements)

  • @unclerojelio6320
    @unclerojelio6320 8 ปีที่แล้ว

    How can I get one (or three) of those cheater boards?

    • @Kevindarrah
      @Kevindarrah  8 ปีที่แล้ว

      +Roger Banks was just sending them out as rewards to the Patrons of my channel - you can send me an email and we can talk about getting you a couple.

    • @unclerojelio6320
      @unclerojelio6320 8 ปีที่แล้ว

      +Kevin Darrah Email sent.

  • @DeeegerD
    @DeeegerD 8 ปีที่แล้ว

    Couldn't you always use an Arduino as a programmer for another Arduino? I've seen this done for some time now. Am I missing something?

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

      +Digger D no you are right, but doing through the Arduino IDE has not given me consistent reliable results - especially when you are using parts where the ID doesn't match up perfectly like the ATMEGA328-AU vs the 328P-AU. There are workarounds, but man, this has been the smoothest method I've seen. I also think I had a hard time burning the 2560 from the 328... been about a year now, so I could be wrong

    • @DeeegerD
      @DeeegerD 8 ปีที่แล้ว

      Kevin Darrah Ok, I use a tiny or the AVR Dragon, so not much experience with this method. Was just wondering, good info.

  • @Elpoyoloco1
    @Elpoyoloco1 7 ปีที่แล้ว

    You made a mistake,reset pin is pin1 where you connected the 10k resistor not the pin2..

    • @Kevindarrah
      @Kevindarrah  7 ปีที่แล้ว

      yes, that is correct, the reset pin on the 28pin ATMEGA328 is pin 1

    • @Elpoyoloco1
      @Elpoyoloco1 7 ปีที่แล้ว

      keep doing good videos kevin great work btw

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

    how to upload code from arduino uno to attiny402 .....