Go Down

Topic: USBasp v2 (Read 8 times) previous topic - next topic

retrolefty


Fischl is the developer of the USBasp, http://www.fischl.de/usbasp/

If the Arduino IDE connect to a target via the USBasp, the target must be connected.
So perhaps the firmware on the USBasp is just fine.

Does the text on the pcb actually say "USBasp" ?
Are you sure it is a ATmega48. As far as I know they are ATmega8 running at 12MHz.
The newest firmware is at the Fischl site.
You have to use another programmer and set a jumper to be able to program new firmware into the USBasp.
I have done that a few times, although it was not necessary.




The USBasp programmer I bought at hobby king had a link to firmware files and showed one available for both mega8 and mega48 chips. Mine uses the mega8 chip.

So I think there are USBasp programmers that use either of those avr chips.

http://www.hobbyking.com/hobbyking/store/__21321__USBasp_AVR_Programming_Device_for_ATMEL_proccessors.html?strSearch=USBasp
Lefty

hiduino

Quote
After I installed it and pressed burn bootloader in arduino IDE(note i didnt connect anything to the programmer)
it said that...


That is a normal response if you don't have anything connected to the programmer.  It will probably work okay.  You don't necessarily need to update the firmware on the programmer, unless you plan to program AVR chips that run with clocking below 1 MHz.

I have one of those USBasp V2.0 programmers, by LCsoft Studio.  It uses an ATmega8A chip.  I was able to upgrade the firmware to the latest 2011 version.  Seems to be running fine and the slow clk option is also working correctly.

If you really need to update the firmware on the programmer then you will need another programmer to program it.  Do you need more info?




StereoBucket


Quote
After I installed it and pressed burn bootloader in arduino IDE(note i didnt connect anything to the programmer)
it said that...


That is a normal response if you don't have anything connected to the programmer.  It will probably work okay.  You don't necessarily need to update the firmware on the programmer, unless you plan to program AVR chips that run with clocking below 1 MHz.

I have one of those USBasp V2.0 programmers, by LCsoft Studio.  It uses an ATmega8A chip.  I was able to upgrade the firmware to the latest 2011 version.  Seems to be running fine and the slow clk option is also working correctly.

If you really need to update the firmware on the programmer then you will need another programmer to program it.  Do you need more info?


What i meant was that arduino recognized it.
I know it is supposed to say that when nothing is connected.


hiduino

I have been able to use it (USBasp V2.0 Lcsoft Studio) with Arduino IDE 1.0.3 and with the ATtiny cores.  I have tested it successfully with programming an ATtiny85 at 8MHz and ATtiny13A running at 128Khz clock.

One thing to note with any USBasp working with the Arduino IDE,  there is a limitation that the IDE is not able to select a slow clk option with the USBasp programmers.  So I did have to jumper JP3 on the USBasp board to force the slow clk option to program the ATtiny13A running at 128KHz.

If you don't use the IDE and use avrdude from command line then you can use the -B 50 option to slow the programmer down.  But this only will work if the programmer is using the fischl.de firmware 2009 or 2011.  The older firmwares did not support this option.


retrolefty

Quote
One thing to note with any USBasp working with the Arduino IDE,  there is a limitation that the IDE is not able to select a slow clk option with the USBasp programmers.  So I did have to jumper JP3 on the USBasp board to force the slow clk option to program the ATtiny13A running at 128KHz.


That is how my USBasp worked when I first got it, it would work but upon the completion of a action avrdude would print a warning message about needing a firmware updata to allow for CLK speed selection. So I found a newer firmware version on the hobby king support files folder, so I loaded the newest dated firmware file onto my USBasp and now it still works but the warning message is gone. My programmer did not have a J3 jumper for speed selection.

Lefty

Go Up