Elektroda.com
Elektroda.com
X

Search our partners

Find the latest content on electronic components. Datasheets.com
Elektroda.com

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

CMS 7398 19
This content has been translated » The original version can be found here
  • 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.

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

    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.

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

    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).

    Cool! Ranking DIY
    Can you write similar article? Send message to me and you will get SD card 64GB.
    About Author
    CMS
    Administrator of HydePark
    Offline 
    CMS wrote 6705 posts with rating 1699, helped 153 times. Live in city Warszawa. Been with us since 2004 year.
  • #2
    Slawek K.
    Level 34  
    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 message:
    Code:
    avrdude: warning: cannot set sck period. please check for usbasp firmware update.

    Avrdude asks you to update the programmer firmware as this old version does not support SCK software speed change.
    After this operation, the programmer works very well.

    Greetings
  • #3
    CMS
    Administrator of HydePark
    rs6000 wrote:
    Avrdude asks you to update the programmer firmware as this old version does not support SCK software speed change.


    I bought my programmer a few years ago and I have not encountered such a problem. However, this is very valuable information. Thank you.
  • #4
    Slawek K.
    Level 34  
    You were lucky and found a normal Chinese ;)

    Greetings
  • #5
    noel200
    Level 25  
    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 firmware, uploaded it and it flashes.
  • #6
    User removed account
    Level 1  
  • #7
    pawel250101
    Level 11  
    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 :)
  • #8
    ditomek
    Level 21  
    CMS wrote:
    I bought my programmer a few years ago

    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?
  • #9
    Kaliber PC - Service

    Level 22  
    Hello.
    ditomek wrote:

    What is the real reason for writing a test after so long on a product that is in the drawer of everyone programming microcontrollers?

    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 USBASP has everyone who at least starts their adventure with uC. It is enough to mention that most "Starter Kits" contain just such a programmer.

    However, as for the review itself Author ... well written and described.
  • #10
    CMS
    Administrator of HydePark
    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 that they can get it for a few zlotys and I will have a basic tool to play with uC.

    I suggest that you be consistent and either we agree in a male way that I received the programmer on the day of publication of the article and we forget about the matter. Or you click on the topic BIOS MX25L6405 W25Q64 USB programmer CH341A programmer - review and you pour out your regrets there too, because I carelessly wrote:

    CMS wrote:

    The programmer has been used by me for over 3 years and despite the simplicity of implementation, it has never let me down (or maybe thanks to this simplicity of implementation).


    Seriously, what's the difference when I bought the programmer?
  • #11
    Kaliber PC - Service

    Level 22  
    CMS wrote:
    Seriously, what's the difference when I bought the programmer?

    In fact ... none. :D Since I haven't found a similar review anyway, it's pretty ok. :)
  • #12
    Slawek K.
    Level 34  
    Colleague @CMS he does a lot of good work reviewing various devices extensively, estimate, because not everyone would like to ;)

    Greetings
  • #13
    eurotips
    Level 37  
    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 topic appeared, someone updated the firmware in it? which is the latest and where can i download it from?
  • #15
    Simon79
    Level 19  
    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 versions?
  • #16
    Kaliber PC - Service

    Level 22  
    Simon79 wrote:
    What could be the reason for uploading older versions?

    "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 slow when it comes to sending the program to the uC. Up to 1kB it is cool, around 2kB is already starting to "pant", 4kB can last a few good seconds, and then practically every next 1kB adds at least 2s to the duration of programming. Well, of course, this should not be surprising, considering the very simple structure.

    Perhaps such information was included and I did not see it, but if it is missing - I inform you. ;)
  • #17
    Bombaj9
    Level 10  
    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 is thicker than the PCB, so you would also need to slightly bend the pins or use a different solution, unfortunately the solder did not do it in my copy, but tilted the plug all the way down and it was soldered this way (at an angle) . Of course, the system worked properly, but the programmer itself looked really funny, I do not know if there are copies of this programmer with a housing, but it would certainly be a problem to adjust / add some without corrections. For new buyers, it may be worth mentioning in the message to the seller that he checks it before shipping.
  • #18
    User removed account
    User removed account  
  • #19
    CMS
    Administrator of HydePark
    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. Remember, however, that new users register on the forum every day. New and young, those who are just starting their adventure with the world of electronics, and I can assure you that for such users, topics of this type are very helpful.
  • #20
    RomanWorkshop
    Level 11  
    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), which add support for ATtiny25 / 45/85 microcontrollers and fixes to support ATtiny13 ( Link ).

    There is ATmega8A in my programmer, the batch of which does not contain any official version of the available software. I compared it with batches for ATmega8 / 48/88 from the official website of the programmer (versions: 2005-04-21, 2005-07-03, 2005-11-14, 2006-09-16, 2006-12-29, 2007-07 -23, 2007-10-23, 2009-02-28, 2011-05-28).

    I put this batch from my programmer in the attachment. I am curious what the version is.
    flash.7z Download (6.55 kB)

    Edition:
    I found information that the original batch contains a modified version of the control software that automatically detects and adjusts the SCK signal speed to the operating frequency of the microcontroller being programmed. Thanks to this, you do not need to set the JP3 jumper when programming a microcontroller that works with a frequency below 1.5 MHz. For this reason, no goldpins for this jumper are installed on the programmer board. I checked it in practice and in fact this option works (on the original firmware from 2011-05-28, communication with the programmed AVR clocked at 1MHz, was not possible without the JP3 jumper).
    In turn, the goldpins for the JP2 jumper are not installed, because the Chinese manufacturer did not see the need to upload new firmware, which has not been developed for a long time.
    I also recommend changing the settings of the original fuse bits (FuseLow: $ 9F, FuseHigh: $ D9) to FuseLow: $ EF, FuseHigh: $ C9 (values are provided in the original firmware documentation from 5/28/2011).