Citazione:
Originalmente inviato da romoloman ricordavo male...
mi raccomando fai tutto a radio spenta lascia alimentare il processore dall'usbasp:
avrdude.exe -c usbasp -p m128 -P usb -B 100 -u -U lfuse:w:0x3F:m -U hfuse:w:0x89:m -U efuse:w:0xFF:m
una volta impostati stacca la radio dall'usbasp riattaccala e flashagli il firmware, mi raccomando la versione per 128 |
Ma che diavolo!
1)Prova di lettura effettuata correttamente con il comando
avrdude.exe -c usbasp -p m128 -U flash:r:C:/Users/Nitro/Desktop/Modifica firmware Trasmittente/da canc.bin:r
stacco e riattacco usbasp
2)Set dei fuses con il comando
avrdude.exe -c usbasp -p m128 -P usb -B 100 -u -U lfuse:w:0x3F:m -U hfuse:w:0x89:m -U efuse:w:0xFF:m
Citazione:
C:\Users\Nitro>avrdude.exe -c usbasp -p m128 -P usb -B 100 -u -U lfuse:w:0x3F:m
-U hfuse:w:0x89:m -U efuse:w:0xFF:m
avrdude.exe: set SCK frequency to 8000 Hz
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware up
date.
avrdude.exe: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.06s
avrdude.exe: Device signature = 0x1e9702
avrdude.exe: reading input file "0x3F"
avrdude.exe: writing lfuse (1 bytes):
Writing | ################################################## | 100% 0.02s
avrdude.exe: 1 bytes of lfuse written
avrdude.exe: verifying lfuse memory against 0x3F:
avrdude.exe: load data lfuse data from input file 0x3F:
avrdude.exe: input file 0x3F contains 1 bytes
avrdude.exe: reading on-chip lfuse data:
Reading | ################################################## | 100% 0.01s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of lfuse verified
avrdude.exe: reading input file "0x89"
avrdude.exe: writing hfuse (1 bytes):
Writing | ################################################## | 100% 0.02s
avrdude.exe: 1 bytes of hfuse written
avrdude.exe: verifying hfuse memory against 0x89:
avrdude.exe: load data hfuse data from input file 0x89:
avrdude.exe: input file 0x89 contains 1 bytes
avrdude.exe: reading on-chip hfuse data:
Reading | ################################################## | 100% 0.01s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of hfuse verified
avrdude.exe: reading input file "0xFF"
avrdude.exe: writing efuse (1 bytes):
Writing | ################################################## | 100% 0.02s
avrdude.exe: 1 bytes of efuse written
avrdude.exe: verifying efuse memory against 0xFF:
avrdude.exe: load data efuse data from input file 0xFF:
avrdude.exe: input file 0xFF contains 1 bytes
avrdude.exe: reading on-chip efuse data:
Reading | ################################################## | 100% 0.02s
avrdude.exe: verifying ...
avrdude.exe: 1 bytes of efuse verified
avrdude.exe done. Thank you.
|
stacco e riattacco usbasp
prova di lettura con il comando sotto fallita
avrdude.exe -c usbasp -p m128 -U flash:r:C:/Users/Nitro/Desktop/Modifica firmware Trasmittente/da canc.bin:r
Citazione:
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware update.
avrdude.exe: error: programm enable: target doesn't answer. 1
avrdude.exe: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude.exe done. Thank you.
|
Ovviamente anche la prova di scittura ha dato lo stesso esito.
Un' altro processore bruciato? Non posso andare avanti così!
eepe setta sempre lfuse:w:0x0E mentre tu lo metti lfuse:w:0x3F. Può essere questo il problema?
Che devo fare adesso per recuperarlo? Acquistare un oscillatore esterno? Usare l'opzione -F per settare i fuse?
UFFAAAAAAAAAAAAAAAAAA!