Visualizza messaggio singolo
Vecchio 08 settembre 13, 19:28   #2214 (permalink)  Top
teneree78
User
 
L'avatar di teneree78
 
Data registr.: 26-05-2010
Residenza: Parma
Messaggi: 53
Invia un messaggio via MSN a teneree78
Citazione:
Originalmente inviato da klamath Visualizza messaggio
prima di editare prova questo comando

Codice:
sudo avrdude -c usbasp -p m128 -P usb -U flash:w:/home/silvio/Turnigy 9xr/opentx-9xr-templates-it-r2751.hex:i
se cosi va, devi seguire la guida, per poter usare avdude senza permessi root

Codice:
You need enable AVRDUDE to run without "sudo". Plug in the programmer and run

lsusb | grep libusb
You should get a line like this:

Bus 003 Device 002: ID 16c0:05dc VOTI shared ID for use with libusb
Notice the two numbers after ID XXXX:YYYY

In next command replace XXXX and YYYY with the numbers.

sudo echo 'SUBSYSTEM=="usb", ATTR{idVendor}=="XXXX", ATTR{idProduct}=="YYYY", GROUP="adm", MODE="0666"' > /etc/udev/rules.d/10-usbasp.rules
Then execute:

sudo restart udev
avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.


avrdude done. Thank you.

risposta....




avrdude: warning: cannot set sck period. please check for usbasp firmware update.
avrdude: error: programm enable: target doesn't answer. 1
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.


avrdude done. Thank you.

silvio@silvio-K54C:~$
teneree78 non รจ collegato   Rispondi citando