Allora, rincominciamo:
Io ho in mano un atmega8A-PU ed un atmega328P-PU
Provo a scrivere i fuses che trovo nel board.txt sotto la voce "arduino NG or older w/ ATmega8".
C:\avrdude>avrdude -C avrdude.conf -p m8 -c stk500v1 -P\.\COM3 -U lfuse:w:0xdf:
m -U hfuse:w:0xca:m -b 115200
p.s. con il baudrate a 19200 come da board.txt, la comunicazione non iniziava neanche.
questa è stata la risposta
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e950f
avrdude: Expected signature for ATMEGA8 is 1E 93 07
Double check chip, or use -F to override this check.
avrdude done. Thank you.
Ora provo con il 328P e i fuses dell'arduino 1
C:\avrdude>avrdude -C avrdude.conf -p m328p -c stk500v1 -P\.\COM3 -U lfuse:w:0x
ff:m -U hfuse:w:0xde:m -b 115200
...e questa è la risposta
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e950f
avrdude: reading input file "0xff"
avrdude: writing lfuse (1 bytes):
Writing | | 0% 0.00s ***faile
d;
Writing | ################################################## | 100% 0.09s
avrdude: 1 bytes of lfuse written
avrdude: verifying lfuse memory against 0xff:
avrdude: load data lfuse data from input file 0xff:
avrdude: input file 0xff contains 1 bytes
avrdude: reading on-chip lfuse data:
Reading | ################################################## | 100% 0.00s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0xff != 0x00
avrdude: verification error; content mismatch
avrdude: safemode: lfuse changed! Was ff, and is now 0
Would you like this fuse to be changed back? [y/n]
se alla domanda rispondo di no ottengo
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
avrdude done. Thank you.
atrimenti se dico di si mi dice che stk500cmd è fuori sync...
Intanto vi posto questo così mi dite se vedete dove è il punto. Nel frattempo continuo a fare esperimenti...
Grazie