logo elektroda
logo elektroda
X
logo elektroda

USBASP V2.0 USBISP programmer for AVR systems - made in China - Test and Review

CMS  19 14064 Cool? (+7)
📢 Listen (AI):

TL;DR

  • USBASP V2.0 USBISP programmer targets Atmel AVR systems and comes as a USB dongle with a 10-pin Kanda ribbon cable.
  • The board uses an ATmega8A microcontroller, with source code from fischl.de/usbasp, which points to a cheap clone design.
  • For PLN 4, it covers a huge range of AVR families and can upload bootloaders to Arduino microcontrollers.
  • It supports 5V, 3.3V, or no target power, works on Windows, Linux, and Mac OS X, and auto-slows below 1.5MHz in version 2.0.
  • The result is a compact, handy programmer that fits easily in an electronics drawer or pocket.
Hello electrodes.

This time, the aim of the article will be to introduce you to another cheap and very useful programmer from our slant-eyed brothers.



It is a UBSASP programmer, version 2.0, designed to work with AVR systems manufactured by Atmel.
After purchase, we receive a programmer in the form of a USB "dongle" and a cable / ribbon with a standard 10-pin Kanda connector.



As you can see in the pictures, the workmanship is quite correct, although we already know that sometimes they can do it better.

The programmer is based on the Atmega8A microcontroller, and the source codes can be found at http://www.fischl.de/usbasp. Which suggests that once again we are dealing with a cheap clone.

In the attachment you have a PDF with instructions in English.

Let's move on to the capabilities of the device. The programmer supports the following systems:

Mega series:
ATmega8, ATmega8A, ATmega8U2, ATmega8HVA, ATmega16, ATmega16A,
ATmega16HVA, ATmega16HVB, ATmega16M1, ATmega16U2, ATmega16U4,
ATmega32, ATmega32A, ATmega32C1, ATmega32HVB, ATmega32M1, ATmega32U2,
ATmega32U4, ATmega32U6, ATmega48, ATmega48P, ATmega48PA, ATmega64, ATmega64A,
ATmega64C1, ATmega64M1, ATmega88, ATmega88P, ATmega88PA, ATmega103, ATmega128,
ATmega128A, ATmega128RFA1, ATmega161, ATmega162, ATmega163, ATmega164P, ATmega164PA,
ATmega165, ATmega165P, ATmega168, ATmega168P, ATmega168PA, ATmega169, ATmega169P,
ATmega323, ATmega324, ATmega324PA, ATmega325, ATmega325P, ATmega328P, ATmega329,
ATmega329P, ATmega406, ATmega640, ATmega644, ATmega644P, ATmega644PA, ATmega645,
ATmega649, ATmega1280, ATmega1281, ATmega1284P, ATmega2560, ATmega2561, ATmega3250,
ATmega3250P, ATmega3290, ATmega3290P, ATmega6450, ATmega6490, ATmega8515, ATmega8535,

Tiny series:
ATtiny10, ATtiny11, ATtiny12, ATtiny13, ATtiny13A, ATtiny15, ATtiny22, ATtiny24, ATtiny24A,
ATtiny25, ATtiny26, ATtiny28, ATtiny43U, ATtiny44, ATtiny44A, ATtiny45, ATtiny48, ATtiny84,
ATtiny85, ATtiny88, ATtiny167, ATtiny261, ATtiny261A, ATtiny461, ATtiny861, ATtiny861A, ATtiny2313, ATtiny2313A

Classic series:
AT86RF401, AT90S1200,
AT90S2313, AT90S2323, AT90S2343, AT90S4414, AT90S4433,
AT90S4434, AT90S8515, AT90S8535, AT90SCR100H, AT90USB82,
AT90USB162, AT90USB646, AT90USB647, AT90USB1286, AT90USB1287,

CAN series:
AT90CAN32, AT90CAN64, AT90CAN128

PWM series:
AT90PWM2, AT90PWM2B, AT90PWM3, AT90PWM3B,
AT90PWM81, AT90PWM216, AT90PWM316

As for a device for PLN 4, we have quite a large range of microcontrollers at our disposal.

A very useful, for some, functionality may be the ability to upload Boot Loaders to microcontrollers for Arduino.

The programmer offers us the following options:
- upload to the microcontroller the contents of the EEPROM and the appropriate firmware;
- setting fuste bits and lock bits;
- reading the contents of the above;
- work in Windows systems (including all sevens, for the higher ones, I don't know), Linux, Mac OS X;
- declaring the voltage of the programmed microcontroller, we have 5V, 3.3V and no power supply (set with a jumper), if, for example, the system is soldered into the board of a working device and powered directly from it;
- "for bajeru" we have two more LEDs, RX and TX, signaling receiving and transmitting data.

The older version also had a jumper slowing down the hardware clock speed below 1.5MHz, for programming low clock speeds. In version 2.0, the slowdown occurs automatically.

We have a number of programs to operate the programmer, or rather graphic overlays for AVRDude. The most popular of them are:
- SinaProg
- eXtreme Burner - AVR
- Khazama AVR Programmer


Summarizing. A small and very useful programmer, which should appear with every electronics in a drawer / suitcase / pocket (it will easily fit in the pocket next to the one described last week).
Attachments:
  • USBASP-UG.pdf (1.95 MB) You must be logged in to download this attachment.

About Author
CMS
CMS wrote 8418 posts with rating 2565 , helped 256 times. Live in city Warszawa. Been with us since 2004 year.

Comments

Slawek K. 12 Mar 2018 18:39

In most of these Chinese programmers, you need to upgrade the firmware because the Chinese for some unknown reason pack the oldest software into these programmers. It manifests itself with the following... [Read more]

CMS 12 Mar 2018 18:52

I bought my programmer a few years ago and I have not encountered such a problem. However, this is very valuable information. Thank you. [Read more]

Slawek K. 12 Mar 2018 18:59

You were lucky and found a normal Chinese ;) Greetings [Read more]

noel200 12 Mar 2018 20:59

I recently acquired such programmers. Only at once with an aluminum colored housing. There is atmega 88 inside and as the name suggests it is usbisp, not asp. Does not work with avrdude. But I found the... [Read more]

Anonymous 12 Mar 2018 23:56

I have an identical programmer. Automatic slow SCK does not work after a successful firmware update. However, it is enough to shorten JP3 and the problem is over. Maybe I have an extremely Chinese version,... [Read more]

pawel250101 13 Mar 2018 07:06

I had one until he gave up his ghost (by my fault, anyway). It fulfills its task and at the same time is cheaper than ATMega8 itself in retail :) [Read more]

ditomek 13 Mar 2018 08:25

Then you managed to test it well. What is the real reason for writing a test after so long on a product that is in the drawer of everyone programming microcontrollers? [Read more]

Kaliber PC - Service 13 Mar 2018 12:29

Hello. The same thing occurred to me. :D Lest it were - I have the same one too. Nice, but I switched to AVRISP mkII quickly, mainly due to being limited to 8-bit only. I think that this type of... [Read more]

CMS 13 Mar 2018 12:47

I have had it for a long time and I have already tested it. Note, however, that we have beginner electronics on the forum who do not have such a device, and after reading the article, they will find out... [Read more]

Kaliber PC - Service 13 Mar 2018 14:11

In fact ... none. :D Since I haven't found a similar review anyway, it's pretty ok. :) [Read more]

Slawek K. 13 Mar 2018 14:13

Colleague @CMS he does a lot of good work reviewing various devices extensively, estimate, because not everyone would like to ;) Greetings [Read more]

Anonymous 13 Mar 2018 15:57

I have such a programmer. Additionally, in the version with the Canda / 6pin adapter, useful for Arduino, large programs load much faster, just select an external programmer. And by the way that this... [Read more]

Slawek K. 13 Mar 2018 16:43

Yes, I did update, hence download http://www.fischl.de/usbasp/usbasp.2011-05-28.tar.gz If someone needs it, we have soft compiled also under atmege328. Greetings [Read more]

Simon79 13 Mar 2018 20:15

It is possible to check what version was uploaded - avrdude command ?. Mine is just flying and I am curious if the older or the latest version will be uploaded. What could be the reason for uploading older... [Read more]

Kaliber PC - Service 14 Mar 2018 12:29

"Maybe it won't drip ..." be laziness or beaker. It can be different with them. Added after 2 [hours] 32 [minutes]: It is worth paying attention to one more thing about this programmer - relatively... [Read more]

Bombaj9 14 Mar 2018 18:15

I do not know if I was unlucky, but in my copy there was (before the amendment) a terribly strangely soldered KANDA socket. The distance of the upper row of pins from the lower row of the KANDA socket... [Read more]

Anonymous 21 Mar 2018 01:01

And out of curiosity, the reviewers need a product that has been on the market for ... a long time and everything is known about it. [Read more]

CMS 21 Mar 2018 21:03

If you don't know what's going on, it's about money :) And seriously, I have already spoken on this issue before. I have known this product for years, and you have known it for a long time.... [Read more]

RomanWorkshop 23 Feb 2019 18:29

I bought this programmer a moment ago and I am very pleased. I use the best program in my opinion "eXtreme Burner - AVR 1.4.3" with modified files "chips.xml" and "fuselayout.xml" (in the "Data" directory),... [Read more]

FAQ

TL;DR: For under PLN 4, the USBASP v2.0 flashes over 130 AVR microcontrollers “A small and very useful programmer” [Elektroda, CMS, post #17098482]; update its 2011-05-28 firmware to avoid SCK warnings and gain auto-slow feature [Elektroda, Slawek K., post #17098504] Why it matters: Knowing the quirks saves hours of debugging cheap clones.

Quick Facts

• 130 + supported AVR devices across Mega, Tiny, Classic, PWM & CAN lines [Elektroda, CMS, post #17098482] • Target voltage jumper: 5 V / 3.3 V / none [Elektroda, CMS, post #17098482] • Street price: ~PLN 4 (≈US $1) including 10-pin cable [Elektroda, CMS, post #17098482] • Latest stable firmware: usbasp.2011-05-28, 8 kB image for ATmega8 [Elektroda, Slawek K., post #17100455] • Programming speed: every extra 1 kB beyond 4 kB adds ≈2 s [Elektroda, Kaliber PC, post #17101925]

What is USBASP v2.0 and which chips can it program?

USBASP v2.0 is an open-hardware USB in-system programmer based on an ATmega8A microcontroller. It communicates over SPI and can program more than 130 AVR chips, including ATmega8 to ATmega2561, ATtiny10 to ATtiny861A, and AT90CAN128 [Elektroda, CMS, post #17098482]

What do I get for the price?

For about PLN 4 you receive a USB “dongle” programmer and a 10-pin Kanda ribbon cable. No case or jumpers are populated on many clones to cut cost [Elektroda, CMS, post #17098482]

Why does avrdude warn “cannot set sck period” and how do I fix it?

Most Chinese units ship with 2005 firmware that lacks dynamic SCK control, triggering the avrdude warning. Flash the 2011-05-28 firmware to restore the feature and silence the message [Elektroda, Slawek K., post #17098504]

How do I update the firmware?

  1. Bridge JP2 to enter self-programming.
  2. Run: avrdude -c usbasp -p m8 -U flash:w:usbasp.atmega8.2011-05-28.hex.
  3. Power-cycle and remove JP2. The process takes under 30 s [Elektroda, Slawek K., post #17100455]

How can I check which firmware is installed?

Use avrdude -c usbasp -p m8 -v. The banner shows the build date; anything before 2011-05-28 is outdated [Elektroda, Simon79, post #17100976]

Does automatic slow-SCK always work?

Not on every clone. One user lost auto-slow after flashing official code and had to short JP3 manually to talk to 1 MHz targets [Elektroda, Anonymous, post #17099406]

Which jumpers matter?

JP1 selects 3.3 V output, JP2 enables self-programming, JP3 forces low SCK for targets below 1.5 MHz. Many boards omit pins for JP2/JP3, so add headers if needed [Elektroda, CMS, post #17098482]

What GUI tools can I use instead of plain avrdude?

Popular front-ends are SinaProg, eXtreme Burner-AVR, and Khazama AVR Programmer. All call avrdude underneath [Elektroda, CMS, post #17098482]

How fast is programming and can I speed it up?

Small images (<1 kB) load quickly; each additional kilobyte beyond 4 kB adds about two seconds, so a 32 kB Mega328 sketch takes roughly 40 s [Elektroda, Kaliber PC, post #17101925] Using a higher SCK rate after fuse changes cuts that time in half.

What hardware flaws appear on very cheap boards?

Misaligned or tilted Kanda sockets and missing jumpers are common. One unit arrived with the connector soldered at a visible angle, yet still worked electrically [Elektroda, Bombaj9, post #17102956]

Can USBASP flash Arduino bootloaders?

Yes. Select “Arduino as ISP” in the IDE or run avrdude -c usbasp -p m328p -U flash:w:optiboot.hex. Many starter kits bundle USBASP for this purpose [Elektroda, CMS, post #17100025]

My board uses ATmega88/328 instead of ATmega8; does firmware differ?

Compile the same 2011-05-28 source with MCU=atmega88 or grab the pre-built 328 image shared in the thread. Functionality stays identical [Elektroda, noel200, post #17098962]

How do I recover a bricked USBASP?

Use a second USBASP or any ISP tool to re-flash the on-board MCU through the 6-pin ICSP header. Restore fuses to Low $EF, High $C9 to keep USB boot active [Elektroda, RomanWorkshop, post #17799502]

What’s an edge case where USBASP fails?

If SCK stays high because JP3 is absent, devices clocked at 128 kHz may never enter programming, appearing “dead” until the jumper is added or firmware auto-slow works [Elektroda, Anonymous, post #17099406]
%}