How to Upgrade Firmware in USBasp Programmer

Поділитися
Вставка
  • Опубліковано 11 вер 2024
  • This is a video in which I show you how to upgrade firmware in USBasp programmers mainly ordered from China. This is an important procedure if you want to program ATtiny10, ATtiny9, ATtiny5 and ATtiny4 AVR 8-bit microcontrollers which are programmed using TPI programming interface.
    The firmware upgrade also helps you to remove following warning from avrdude:
    “avrdude: warning: cannot set sck period. please check for usbasp firmware update.”
    You can download the latest firmware on www.fischl.de/....
    🛠 Tools which I use in the video 🛠
    ➟ USBasp Programmer
    s.click.aliexp...
    ➟ 10-Pin to 6-Pin Adapter
    s.click.aliexp...
    ➟ 10-Pin Ribbon Cable
    s.click.aliexp...
    ➟ Soldering Iron
    s.click.aliexp...
    ➟ Lead Solder Wire
    s.click.aliexp...
    ➟ 900M-T Series Soldering Iron Tips
    s.click.aliexp...
    ➟ Precision PCB Holder
    s.click.aliexp...
    ➟ Pin Headers
    s.click.aliexp...
    ➟ Arduino Uno
    s.click.aliexp...
    Stay creative and keep on tinkering 😊

КОМЕНТАРІ • 119

  • @pierpa_76pierpaolo
    @pierpa_76pierpaolo 10 місяців тому +1

    My NANO and UNO boards are not responding to commands!!! Do I solve with this update?

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

    I use AVRs for a long time, but I've learn something with this video. Thank you !

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

    The new Ardunio IDE from the MS store doesn't put avrdude in the same place. When I added the new location to the PATH avrdude was giving me access denied even on an elevated prompt. I had to remove it from PATH and install WINAVR with the "Add to PATH" option enabled to get it to work.
    Aside from that, top notch video!

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

    Hello,
    How do you add the path shown at 2:34 of your video ? I mean when you have launched the "Environment variables" window, how do you ad the 2 lines of path (to the already existing "path" entry ?).
    Thanks

  • @someguy1717
    @someguy1717 3 роки тому +1

    Worked for me. Found a trick to get rid of the SCK warnings...
    After you upload code to 1st programmer, set fuses
    avrdude -c usbasp -p atmega8 -u -U hfuse:w:0xc9:m -U lfuse:w:0xef:m
    then, reverse the programmers and do same upload then again set fuses on that one.
    IF needed, reverse one more time, upload and set fuses.
    No more SCK warnings.

    • @zeroampselectronics
      @zeroampselectronics  3 роки тому +1

      Hi, interesting that fuses could fix that. Thanks for telling us that fix.

  • @smurfro
    @smurfro 3 роки тому

    This is the only method that worked for me, thank you!!!

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

    Are the command options for avrdude written down somewhere, in plain text? It doesn't seem to be on the fischl link, and I'm not confident in getting it right from squinting at the screen. Could you add it to the video description text?

  • @sajeevsankaran4406
    @sajeevsankaran4406 3 роки тому

    Hi sir,
    Thanks for the video. I was looking for a easy version to program attiny10 chips. I downloaded the software but i was not familiar with avrdude. I downloaded AVRDUDESS and programmed a new USBASP with another one as mentioned in your video but with the AVRDUDESS which has graphical user interface. Now I am able to program attiny10 with the new upgraded USBASP using AVRDUDESS
    thanks
    Sajeev

  • @Lkabouter
    @Lkabouter 4 роки тому +1

    Good instructions ! It worked well for me, so thank you !

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

    some things have to be done differently than described.. however, after a long research and after the successful execution of the final command, the programmed programmer is completely dead :-(

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

    What if you only have one USBasp is it pissible to program using another method?

    • @zeroampselectronics
      @zeroampselectronics  4 роки тому +1

      Hi, you can use another type of programmer. You don't need to use the same one. I mean the same type. Good luck with upgrading!

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

    Which one programmer you connect to computer usb during updating? This with connected pins JP2 or the othe one?

  • @roshnivalder1394
    @roshnivalder1394 3 роки тому

    Thank you for this video this really help me.

  • @pr0fessoro
    @pr0fessoro 3 роки тому

    thank you, excellent explanation, i programmed mine usbasp under linux with same comnand, only path to firmware was different...

  • @Steven_Bennett_YT
    @Steven_Bennett_YT 4 роки тому +1

    Very helpful - thank you

  • @PegasusCZ
    @PegasusCZ 3 роки тому

    Good tutorial. Thanks. Now it works :)

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

    Hello
    I want to use this method with arduino mega.
    On uploading, the message is display that done uploading.
    But there is no change on the mega.
    No blinking..Just yellow light glows..Constant.

  • @e-techstudio4797
    @e-techstudio4797 9 місяців тому

    Can we use for isp programing such as ch341a

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

    ty for sharing

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

    Hi , i sold USBisp programmer from china , but my computer dedect it as usbhid device. İ cant do anything with programmer. Maybe firmware will be solution. But i have no another isp device that runnig good. Can i do this operation with arduino card? For example arduino uno or nano

  • @lessenplikas1936
    @lessenplikas1936 4 роки тому +1

    very helpfull, Thank you very much, Yeah. ;)

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

    Dear Zero Amps: Thank you so much for your efforts to share your expertise and teach us. It is much appreciated! Here is my problem... I can not get my (com) Port to activate in Arduino IDE Tools and Blink and Bootloader uploads fail. I used Zadig to load the libusbK driver and the USBasp device shows in the Device Manager as working properly. I have tried all other Zagid driver choices. Windows 10 OS. Target is ATtiny85. Arduino Tools Settings = Board;85, Processor;85, Clock; Internal 1Mhz. I have tried all of the different clock settings, internal and external. I am using the same programmer as you. I have not updated the firmware, yet. Firmware update questions... I am new to all of this and need to use the Arduino IDE. Please tell me how to update the firmware with the Arduino IDE. Secondly, I do not think that your video shows which programmer is attached to the laptop... The one with the new jumper, or without? Thank you for your help.

  • @navinnnax7802
    @navinnnax7802 3 роки тому

    Hi, thanx for the great video. Anyhow i have few questions.
    1) is there any issue if that warning pop out during uploading?
    2) do i need another USBavr for this task?
    Thanks mate.

    • @zeroampselectronics
      @zeroampselectronics  3 роки тому +1

      Hi, 1. If you don't want to use it for ATtiny10 programming it's not problem. 2. People also use other programmers or Arduino boards for programming the USBasp programmer.

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

    The answer to getting a bootloader onto a Nano clone keeps turning out to be "buy more stuff." I bought a USBasp to burn the Nano bootloader. But the USBasp needs a firmware update. The solution? Use a working Arduino to update the firmware. If I had a working Arduino, I wouldn't need the USBasp, would I? So let's say I buy another USBasp to update the one I already have. How do I know the second one is going to work? The actual solution appears to be: chuck all of the Arduino stuff in the dumpster and stick with ESP32.

    • @Henry-sv3wv
      @Henry-sv3wv Рік тому

      But is all your 5 Volts arduino stuff compatible with your ESP XD
      Or are you just shifting your problem from not working cheap programmer to not working cheap level shifters? :P

    • @jonathanmonck-mason6715
      @jonathanmonck-mason6715 10 місяців тому

      I have found exactly the same problem. I guess a lot depends on what part of the world you are in and what is available to you. Fortunately I only paid $5 for the USBasp as something to mess around with as a hobby instead of buying another working Arduino, but, yes, it is a bit frustrating.

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

    Hello nice video!!Can I use an Arduino to flash the driver to the usbasp instead of a another usbasp?

    • @zeroampselectronics
      @zeroampselectronics  4 роки тому

      Hi, do you mean the Arduino UNO R3 board or any other?

    • @wintechblog6066
      @wintechblog6066 4 роки тому

      @@zeroampselectronics yes

    • @someguy1717
      @someguy1717 3 роки тому

      @@wintechblog6066 go into Arduino IDE, File->Examples->ArduinoISP and upload it onto your UNO
      then avr dude will use it as a programmer to program the USBASP
      (replace with the com port your UNO is on)
      avrdude -P -c arduino -p m328p -v -U flash:w:usbasp.atmega8.2011-05-28.hex

  • @samimmallick9230
    @samimmallick9230 4 роки тому

    Can u give me the firmware of usbasp which is present in atmega8 ? Because after firmware updated my usbasp is program only AVR microcontrollers i can not do program in AT89S52/AT89S51 . I need the old frimware of usbasp can you give me the frimware ?

    • @zeroampselectronics
      @zeroampselectronics  4 роки тому

      Hi, check this site www.fischl.de/usbasp/ on which are all versions released for the programmer. You can go one by one to find the one which will be working for you. If any issues let me know. Good luck!

  • @bruceweight7319
    @bruceweight7319 4 роки тому

    was one programer good and the other bad? I bought two programers, can I still use a bad one to burn the new firmware to the other bad one or do I have to have a good one and use it to fix the firmware on the one with the bad firmware?

    • @zeroampselectronics
      @zeroampselectronics  4 роки тому +1

      Hi, they weren't bad they just didn't have the latest firmware. Yes, it was possible to upgrade with the programmer with an old firmware the other one to the latest firmware. Good luck with upgrading!

    • @bruceweight7319
      @bruceweight7319 4 роки тому

      Thanks for the info. What I ended up doing as I was having a hard time adding the dos pathing commands to the system so windows would know where to find averdude I had already installed averdudess and just used it to burn the new firmware to them. Thought I had bricked them both but all went well once I figured averdudess out. I had used averdudess out for a Atmega 328p ham radio project firmware update. Thanks

  • @FreddyBNL
    @FreddyBNL 3 роки тому

    Very helpful video's. Little advice 😊 sorry, but stop saying 'yah' sometime multiple times in one sentence 👍

  • @wicked_garry
    @wicked_garry 4 роки тому

    one question
    If You have UNO why you using for upgrade USBASP another USPASP ?
    Why don't using Arduino uno as programmer ?

    • @zeroampselectronics
      @zeroampselectronics  4 роки тому

      Hi Garry, I couldn't find out how to easily do that. Have you tried that?

    • @wicked_garry
      @wicked_garry 4 роки тому +1

      @@zeroampselectronics yeep
      Just load your uno as programmer from arduino ide.
      (Files=>samples >arduino ISP)
      This sketch made STK 500 simulator from your uno
      And you can use it as programmer in arduino ide
      And others (khazams,avrdudees etc)
      That's all

    • @zeroampselectronics
      @zeroampselectronics  4 роки тому

      Hi, thank you for the tip!

    • @wicked_garry
      @wicked_garry 4 роки тому

      @@zeroampselectronics np mate
      Thank You for Your video:)

  • @hansellwilliams1564
    @hansellwilliams1564 3 роки тому

    Hi thanks again for your brilliant videos, a pleasure to watch. A problem i have with 3x ASP's now is that... 1. the red led is on before the upgrade, and off after. 2. the hex file download executes perfectly, as at 3:50. BUT 3. the units become 'bricked', ie no communication with them at all, after the upgrade. Very confounding. Has anyone else experienced this (with the clones)?

    • @zeroampselectronics
      @zeroampselectronics  3 роки тому

      So you're saying that after upgrading it stopped working, right?

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

    Thanks for the video Ya?

  • @habbygb4721
    @habbygb4721 4 роки тому

    hi ,i already update this lastest fireware,but still can't connect attiny10,i use GUI avrdudess to connect,i think is the same like you use cmd avrdude,can you help slove this problem,many thx

    • @zeroampselectronics
      @zeroampselectronics  4 роки тому

      Hi, if your USBasp programmer is correctly upgraded to the latest firmware, you should check wires whether they are correctly connected. Do NOT connect others components to your ATtiny10 during programming. Only the USBasp should be connected.

    • @zeroampselectronics
      @zeroampselectronics  4 роки тому

      I also recommend to check whether you are able to program any of your Arduino boards to check the USBasp programmer is working correctly and to isolate the problem. You can try that from Arduino IDE.

    • @habbygb4721
      @habbygb4721 4 роки тому

      @@zeroampselectronics thx for you reply,i test use upgraded of usbasp to another chip,like mega32u4 ,that is ok,do you use GUI avrdudess to burn the attiny10?,thx

    • @zeroampselectronics
      @zeroampselectronics  4 роки тому

      Hi, I don't use that tool and it might be your problem. Try to use avrdude directly for example the one which is delivered with Arduino IDE. That tool might use some older version of avrdude which doesn't support TPI which is necessery for programming ATtiny10. If it doesn't work with avrdude check again wires if they are connected correctly or you can also test it with a new ATtiny10. Maybe the one you have is faulty.

    • @habbygb4721
      @habbygb4721 4 роки тому

      @@zeroampselectronics thx reply, can you show how to setup avrdude on c:\ to use? i install arduino gui on F:\
      thx

  • @Leetut
    @Leetut 3 роки тому

    How to upgrade fw using Mac? Can’t use uno because your last video wiped my uno boot loader 🤷🏻‍♂️

    • @zeroampselectronics
      @zeroampselectronics  3 роки тому +1

      Hi, you can upload the bootloader back with a programmer or another Arduino board.

    • @Leetut
      @Leetut 3 роки тому

      @@zeroampselectronics got a spare programmer, worked great, thank you🙏🏼

    • @zeroampselectronics
      @zeroampselectronics  3 роки тому

      Glad to hear :-)

  • @basilandrea6840
    @basilandrea6840 4 роки тому

    why you upgrade the USB programmer.

    • @zeroampselectronics
      @zeroampselectronics  4 роки тому

      Hi, it didn't support ATtiny4, ATtiny5, ATtiny9, ATtiny10 programming.

  • @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

  • @BaronVonBiffo
    @BaronVonBiffo 4 роки тому +1

    I like your videos but perhaps instead of playing that God awful 'music' you could speed up the bits such as when you were soldering or waiting for drivers to install.

    • @zeroampselectronics
      @zeroampselectronics  4 роки тому +1

      Hi, you are right, in my future videos I have to speed up. I've got the same feedback from other people too. Thank for your feedback.

    • @BaronVonBiffo
      @BaronVonBiffo 4 роки тому

      @@zeroampselectronics Thank you. I've subscribed to your channel and look forward to seeing you do more with the Attinys.

  • @dennisyildirim2708
    @dennisyildirim2708 4 роки тому +1

    Can you explain Ya, why the fuck Ya we need another USBasp to program another USBasp when we have the fuckn ucb interface YA ?

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

      Hi, that's a reasonable questions. For the USBasp programmers I don't know about any option how to do that without any other programmer. I've got another programmer which is called TL688 II Plus. This programmer is able to upgrade without any other. So, the answer is, that it really depends on a programmer you use.

    • @dennisyildirim2708
      @dennisyildirim2708 4 роки тому

      @@zeroampselectronics Thanks, can you advise and compare other standalone programmers (the ones that does not need another programmer to reprogram them) in a separate video for future? I could not decide between microcontroller's programmer, and atmel ice. I bought something called AVR ISP MKII for 35$, I highly regret doing so. Can't even upgrade it due to lack of documentation... I had to dig in through data sheets for 1 hour to figure out, and at the end I gave up upgrading its firmware....

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

    Not very helpful for beginners

  • @tanoryjakaperdana1419
    @tanoryjakaperdana1419 3 роки тому +1

    Yea

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

    If you say Yeah one more time geeez

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

    yah