How to Upgrade Firmware in USBasp Programmer

  Рет қаралды 64,269

Zero Amps Electronics

Zero Amps Electronics

Күн бұрын

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 😊

Пікірлер: 122
@titi08
@titi08 Жыл бұрын
I use AVRs for a long time, but I've learn something with this video. Thank you !
@pierpa_76pierpaolo
@pierpa_76pierpaolo Жыл бұрын
My NANO and UNO boards are not responding to commands!!! Do I solve with this update?
@vroberts1976
@vroberts1976 4 жыл бұрын
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!
@zeroampselectronics
@zeroampselectronics 4 жыл бұрын
Hi, you're absolutely right the new version has changed.
@elodiecemoi3057
@elodiecemoi3057 Жыл бұрын
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
@smurfro
@smurfro 3 жыл бұрын
This is the only method that worked for me, thank you!!!
@zeroampselectronics
@zeroampselectronics 3 жыл бұрын
I'm glad that it helped.
@t1d100
@t1d100 2 жыл бұрын
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.
@zeroampselectronics
@zeroampselectronics 2 жыл бұрын
First, I would try Arduino UNO if it works or not.
@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
@zeroampselectronics
@zeroampselectronics 2 жыл бұрын
Perfect, I'm glad it helped.
@incxxxx
@incxxxx 2 жыл бұрын
Which one programmer you connect to computer usb during updating? This with connected pins JP2 or the othe one?
@zeroampselectronics
@zeroampselectronics 2 жыл бұрын
Hi, the other one.
@evertspies3345
@evertspies3345 4 жыл бұрын
What if you only have one USBasp is it pissible to program using another method?
@zeroampselectronics
@zeroampselectronics 4 жыл бұрын
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!
@pr0fessoro
@pr0fessoro 3 жыл бұрын
thank you, excellent explanation, i programmed mine usbasp under linux with same comnand, only path to firmware was different...
@zeroampselectronics
@zeroampselectronics 2 жыл бұрын
Thanks for sharing!
@someguy1717
@someguy1717 3 жыл бұрын
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 жыл бұрын
Hi, interesting that fuses could fix that. Thanks for telling us that fix.
@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 жыл бұрын
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.
@Lkabouter
@Lkabouter 4 жыл бұрын
Good instructions ! It worked well for me, so thank you !
@zeroampselectronics
@zeroampselectronics 4 жыл бұрын
Great to hear!
@TomasHornych
@TomasHornych Жыл бұрын
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 :-(
@PegasusCZ
@PegasusCZ 3 жыл бұрын
Good tutorial. Thanks. Now it works :)
@zeroampselectronics
@zeroampselectronics 3 жыл бұрын
Thanks so much!
@wintechblog6066
@wintechblog6066 4 жыл бұрын
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
@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.
@zeroampselectronics
@zeroampselectronics 2 жыл бұрын
Have you uploaded the blink program?
@roshnivalder1394
@roshnivalder1394 3 жыл бұрын
Thank you for this video this really help me.
@zeroampselectronics
@zeroampselectronics 3 жыл бұрын
Thank you!
@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 Жыл бұрын
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.
@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?
@Steven_Bennett_YT
@Steven_Bennett_YT 4 жыл бұрын
Very helpful - thank you
@zeroampselectronics
@zeroampselectronics 4 жыл бұрын
Glad it was helpful!
@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
@henkoegema6390
@henkoegema6390 Жыл бұрын
Yes, that's possible.
@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 жыл бұрын
@@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:)
@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 жыл бұрын
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
@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 жыл бұрын
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 :-)
@e-techstudio4797
@e-techstudio4797 10 ай бұрын
Can we use for isp programing such as ch341a
@lessenplikas1936
@lessenplikas1936 4 жыл бұрын
very helpfull, Thank you very much, Yeah. ;)
@zeroampselectronics
@zeroampselectronics 4 жыл бұрын
Glad it helped! Yeaaaah :-)
@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!
@brandondean961
@brandondean961 Жыл бұрын
ty for sharing
@habbygb4721
@habbygb4721 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
@@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 5 жыл бұрын
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 5 жыл бұрын
@@zeroampselectronics thx reply, can you show how to setup avrdude on c:\ to use? i install arduino gui on F:\ thx
@marcelosoian
@marcelosoian 3 жыл бұрын
Thanks for the video Ya?
@zeroampselectronics
@zeroampselectronics 2 жыл бұрын
Any time :-)
@FreddyBNL
@FreddyBNL 3 жыл бұрын
Very helpful video's. Little advice 😊 sorry, but stop saying 'yah' sometime multiple times in one sentence 👍
@zeroampselectronics
@zeroampselectronics 3 жыл бұрын
Yeeeaaah, All right :-)))
@basilandrea6840
@basilandrea6840 4 жыл бұрын
why you upgrade the USB programmer.
@zeroampselectronics
@zeroampselectronics 4 жыл бұрын
Hi, it didn't support ATtiny4, ATtiny5, ATtiny9, ATtiny10 programming.
@BaronVonBiffo
@BaronVonBiffo 5 жыл бұрын
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 5 жыл бұрын
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 5 жыл бұрын
@@zeroampselectronics Thank you. I've subscribed to your channel and look forward to seeing you do more with the Attinys.
@tanoryjakaperdana1419
@tanoryjakaperdana1419 3 жыл бұрын
Yea
@zeroampselectronics
@zeroampselectronics 3 жыл бұрын
Yeeeeeeaaaaah!
@tanoryjakaperdana1419
@tanoryjakaperdana1419 3 жыл бұрын
@@zeroampselectronics 🙈🙈🙈
@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
@tyrian869
@tyrian869 Жыл бұрын
If you say Yeah one more time geeez
@Henry-sv3wv
@Henry-sv3wv Жыл бұрын
mkay!
@willwood3648
@willwood3648 Жыл бұрын
Not very helpful for beginners
@aivietang5058
@aivietang5058 14 күн бұрын
Not good. Not good.
@StevenClements
@StevenClements Жыл бұрын
yah
@dennisyildirim2708
@dennisyildirim2708 4 жыл бұрын
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 жыл бұрын
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....
Breakout Boards for Programming ATtiny9 and ATtiny4 Microcontrollers (2/2)
9:30
USBASP CHIP ENABLE ERROR - FIRMWARE UPGRADE SOLUTION
12:58
Saravanan AL
Рет қаралды 25 М.
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,7 МЛН
the balloon deflated while it was flying #tiktok
00:19
Анастасия Тарасова
Рет қаралды 25 МЛН
MY HEIGHT vs MrBEAST CREW 🙈📏
00:22
Celine Dept
Рет қаралды 84 МЛН
Arduino USBasp Programmer  /  Simple Forth Programming
15:20
0033mer
Рет қаралды 13 М.
USB ISP/ASP aktualizacja firmware, programator
10:03
Sklep Modelarski ABC-RC
Рет қаралды 19 М.
Reflash Arduino Bootloader Using a USBasp
6:16
MrDabrudda
Рет қаралды 64 М.
Uploading USBASP Firmware on ATMEGA 8 - Barebones
6:37
Saravanan AL
Рет қаралды 16 М.
How to Use USBasp Programmer with Arduino Boards
9:17
Zero Amps Electronics
Рет қаралды 110 М.
USBasp Programmer - Firmware Update
5:11
🏡 bauOhl
Рет қаралды 2,4 М.
how to fix chip enable program error on  USBasp programmer
4:37
ATmega8 bootloader, code, Arduino IDE
7:41
Electronoobs
Рет қаралды 130 М.
Бенчик, пора купаться! 🛁 #бенчик #арти #симбочка
00:34
Симбочка Пимпочка
Рет қаралды 3,7 МЛН