Reflash Arduino Bootloader Using a USBasp

แชร์
ฝัง
  • เผยแพร่เมื่อ 19 ธ.ค. 2017
  • How to reflash a bootloader to any Arduino based board using a USBasp.
    A user requested how he could reflash a bootloader to a MPX v3 mainboard.
    MPX v3 is a HICTOP board clone and is a Arduino MEGA2560 based board
    reprap.org/wiki/HICTOP_Prusa_i3
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    Your video saved me a whole lot of time. I did not know about zadig, and the cable order swap at (10 pin out) was misleading at first. All cool, leonardo back to live again! Thank you very much for sharing this knowledge :-)

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

    you sir are my hero for pointing the way to Zadig. my new favorite software

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

    I installed those USBASP drivers a long time ago. As I was using the USBASP only in conjunction with AVRDUDESS.exe, everything was fine. Somehow I never got the USPASP to work with the Arduino IDE, but I never really cared.
    Now I'm working on a new project and programming a ATTINY directly from the Adruino IDE would be very helpfull.
    This video was the decisive clue why the USBASP would not work with the Arduino IDE. Back then I installed the USBASP with the wrong library... Reinstalled it today with the here recommended one and everything works flawlessly.
    Many thanks for this informative and very helpfull video. Thanks Thanks Thanks!

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

    Thank you so much!!! Very informal indeed! You just earned one more sub and helped so many people with usbasps! 😁

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

    This video saved my bacon! Thanks so much for being accurate and thorough!!!

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

    Thank you mate!
    You helped me a lot!
    Nice video.
    Good job!

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

    Thanks a lot, went straight to the goal. Good luck.

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

    OMG Thank you!

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

    Very good video...just the facts. Clear voice, no GD music in the background and every step explained. Rate 10/10 (and I see lots of how to videos)

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

    Thank you so much!!! Very information!

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

    I'm trying to reflash bootloader onto my bricked MKS Rumba (whose USB port stopped working) with my ASP, which seemed successful but upon uploading Marlin via ISP, my board is still dead... so do I need to get my USB working again in order to properly upload the code?

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

    saludos y muchas gracias..... no sabía que hacer, para recuperar mi arduino. sigue adelante

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

    wonderful video, thanks

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

    Buenas. Ante todo enhorabuena por tan buen video.
    He llegado a su canal buscando como extraer la configuración de Marlin instalado en la placa de una impresora 3d, ya que perdí del PC (Put** virus) el Marlin modificado con todos los cambios de configuraciones que le habia hecho al Marlin original para mi impresora. El caso es que he hecho modificaciones a la impresora y necesito activarlas en Marlin.
    No se si el programa que usas da la opción de hacer backup del archivo que modifiqué de Marlin (Configuration y Configuration.h).
    Si no se puede, ¿sabrías como podría hacer esto?
    Muchas gracias y saludos compañero.

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

    Hi there just wondering how you got Anet A8 v1.0 on the boards under tools? Thanks

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

      You need to download the Anet A8 board definitions from github.com/SkyNet3D/anet-board for the anet board to show up in the arduino IDE.

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

    Is the boot loader preloaded or part of the Arduino Software? Do I have to download a boot loader from Github? What if I want to use Optiboot? I know Optiboot is on Github.

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

      The boot loader is part of the Arduino IDE. You can use Optiboot to save memory space.

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

    Saved my bacon! Cheers dude. :-)

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

    helpful video, thanks

  • @user-im8ic4hb6v
    @user-im8ic4hb6v 10 หลายเดือนก่อน

    What is with Arduino Nano 33 BLE ?

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

    can I use this to upload the code?

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

    Got this error message:
    avrdude: Expected signature for ATmega168 is 1E 94 06
    Double check chip, or use -F to override this check.
    Anyone has the same problem? Any solution?

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

      Hello, do you solve that error ? I'm in the same situation... I don't know what to do anymore

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

    Excuse me I have one question for you... When you say USBasps do you mean USBasps or USBasps 2.0 or will both work?
    thank you,
    zbuster05

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

      All the USBasp's I have are version 2.0. I'm not aware of any other versions. May be some older USBasps on the market still.

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

      Thank you very much

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

    thank you.don.

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

    Can this be the same if I use Arduino ATmega32U4?

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

      Yes you have to select the correct target board in the Arduino IDE Tools menu

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

      @@MrDabrudda oky, thanks

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

    I don't have the aspusb module but or several TTL modules. I am looking for a code so that I can fix the bootloader directly from the computer.

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

      learn.adafruit.com/ftdi-friend/programming-the-arduino-bootloader

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

    tutto uguale ma a me la porta com non risulta disponibile in ide. da altre parti ho letto che non devono esserci com e quindi come mai nella tua esperienza vede una com collegata al programmatore ? ciao

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

      Google Translate...
      "all the same but to me the com port is not available in ide. elsewhere I've read that there shouldn't be a com and therefore why, in your experience, do you see a com connected to the programmer? HI"
      The COM port is how the USBasp interfaces with the computer and operating system. Ensure you are using the correct driver for the USBasp.

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

    Yea-FireControl!

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

    what are the cables for? that which are connected to arduino nano.. man i have problem with my arduino uno. do i need connect anything in arduino uno except usbAsp ?

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

      problem is.. when i try it.. there is some error during burning bootloader what does that mean??. but i am able to programing that arduino with USBASP throught atmelStudio

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

      This is writed thre.
      Arduino: 1.8.5 (Windows 10), Vývojová doska:"Arduino/Genuino Uno"
      D:\Programy_Editory\arduino\arduino-1.8.5\hardware\tools\avr/bin/avrdude -CD:\Programy_Editory\arduino\arduino-1.8.5\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -cusbasp -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0xFD:m -Uhfuse:w:0xDE:m -Ulfuse:w:0xFF:m
      avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
      Copyright (c) 2000-2005 Brian Dean, www.bdmicro.com/
      Copyright (c) 2007-2014 Joerg Wunsch
      System wide configuration file is "D:\Programy_Editory\arduino\arduino-1.8.5\hardware\tools\avr/etc/avrdude.conf"
      Using Port : usb
      Using Programmer : usbasp
      avrdude: Warning: cannot query manufacturer for device: No such file or directory
      avrdude: Warning: cannot query product for device: No such file or directory
      avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp'
      avrdude done. Thank you.
      Chyba pri vypaľovaní zavádzača.

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

      I used the extra cables on that Arduino Nano to flash other Nano bootloaders. I was using that Nano as an example.

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

      Are you using the Arduino IDE?

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

      Check you drivers in the Device Manager to ensure the device is detected and working. Also try rebooting after installing the Zadig drivers.

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

    I have tried this to burn a boot loader with this method to a Rambo Mini board but it fails no matter what I try.

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

      Did you select the Rambo Mini as your target device rather than the Nano

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

    asp usb can be used to reflash arduino uno ?

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

      Yes, hook up the leads to the ICSP connectors and select the UNO from the board menu.

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

      ​@@MrDabrudda with the same programmer ?

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

      Yes, using Arduino IDE

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

    it doesnt take very long to burn it? does it?

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

      About 5 seconds

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

    Can you burn the bootloader on the trevi tarantula, please help I do have an arduino nano and a usbasp

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

      If you know where the ICSP pins are then yes you can flash a bootloader. What kind of board does a tevo have?
      3dprinterchat.com/wp-content/uploads/2016/08/All-in-1-MKS-BASE-V1-0-3D-Printer-Control-Motherboard-Compatible-RepRap-Ramps1-4-With.jpg_640x640-500x500.jpg

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

      MrDabrudda the tevo tarantula has a MKS-BASE V1.4 3D Printer Control Board Mainboard Compatible Ramps1.4

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

      www.robotdigg.com/crab/image/2017/11/14/850af465037016f62232622ba54eddbe.jpeg
      ICSP pins are listed on this schematic.

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

      MrDabrudda thanks alot I'll try that

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

    MPX v3 mainboard ? is arduino nano

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

      Yes a MPX.3 RepRap Board is an Arduino-compatible Mother Board

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

      @@MrDabrudda looks like the board is mega2560

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

    Oh and can you use a usbasp as a bootloader

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

      You can use and USBAsp to reflash the bootloader.

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

    Buongiorno, ho comparto anche io un USBASP speravo di poter programmare un atmega64 che dicevano che supportasse..ma dopo aver installato i driver e molte suit per AVR sono rimasto deluso non programma un tubo....qualcuno sa dirmi se sono un coglione io?..ho non serve a nulla se non utilizzato con arduino?
    vorrei divulgarmi ma alcune cose devo scriverle..la suit che utilizzo con collegato MISO,MOSI, RESET E SCK E' EXTREME AVR... invece con collegato D0,D1,SCK,RESET uso PROGISP....ma nessun risultato..chi puo' aiutarmi a programmare un atmega64... grazie