Programar bootloader com USBasp

Boas,

Mandei vir um programador USBasp dos chinocas para programar o bootloader de um Mega2560, com o IDE do arduino

Escolhi tools/programmer/USBasp

depois tools/burn bootloader e da erro :frowning:

avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: verification error, first mismatch at byte 0x1e000
0xff != 0x0d
avrdude: verification error; content mismatch

Alguem me sabe dizer o que estou a fazer de mal ?

Pela informaçao que ele dá actualiza lhe o firmware.
Aqui tens como.
http://www.fischl.de/usbasp/Readme.txt
E lê este topico certamente la teras a tua resposta.

Boas,

tudo fxxxdo ...

USE PRECOMPILED VERSION

Firmware:
Flash "bin/firmware/usbasp.atmega88.xxxx-xx-xx.hex" or
"bin/firmware/usbasp.atmega8.xxxx-xx-xx.hex" to the used controller with a
working programmer (e.g. with avrdude, uisp, ...). Set jumper J2 to activate
USBasp firmware update function.
You have to change the fuse bits for external crystal (see "make fuses").

TARGET=atmega8 HFUSE=0xc9 LFUSE=0xef

TARGET=atmega48 HFUSE=0xdd LFUSE=0xff

TARGET=atmega88 HFUSE=0xdd LFUSE=0xff

Windows:
Start Windows and connect USBasp to the system. When Windows asks for a
driver, choose "bin/win-driver". On Win2k and WinXP systems, Windows will
warn that the driver is is not 'digitally signed'. Ignore this message and
continue with the installation.
Now you can run avrdude. Examples:

  1. Enter terminal mode with an AT90S2313 connected to the programmer:
    avrdude -c usbasp -p at90s2313 -t
  2. Write main.hex to the flash of an ATmega8:
    avrdude -c usbasp -p atmega8 -U flash:w:main.hex

Setting jumpers:
J1 Power target
Supply target with 5V (USB voltage). Be careful with this option, the
circuit isn't protected against short circuit!
J2 Jumper for firmware upgrade (not self-upgradable)
Set this jumper for flashing the ATMega(4)8 of USBasp with another working
programmer.
J3 SCK option
If the target clock is lower than 1,5 MHz, you have to set this jumper.
Then SCK is scaled down from 375 kHz to about 8 kHz.

1° o meu objecto não tem nenhum jumper :frowning:

http://www.ebay.fr/itm/USB-ISP-USBISP-USBasp-ASP-Programmer-For-51-ATMEL-Atmega-AVR-WIN7-64-/180974330389?pt=LH_DefaultDomain_0&hash=item2a22e92215#ht_4466wt_1186

2° não percebo onde modificar as fuses

No me queres fazer a linha de comando para o avrdude para um atmega8