Ich gehe folgenden Weg "Minimal Circuit (Eliminating the External Clock)"
Bei Board habe ich "ATmega328 on a breadboard (8 MHz internal clock)" ausgewählt und bei tools-->burn bootloader
w/arduino as ISP
Doch leider kommt die Fehlermeldung:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00
Jemand eine Idee woran es liegen könnte?
Aso benutze einen Seeeduino v2.12
Greeez Oli
Jetzt bekomme ich :
avrdude: Expected signature for ATMEGA328P is 1E 95 0F
Double check chip, or use -F to override this check.
komisch.
Also ich bin jetzt ein wenig weiter mit meinen Wissen.
Habe der boards.txt das hinzugefügt:
atmega168bb.name=ATmega168 on a breadboard (8 MHz internal clock)
atmega168bb.upload.protocol=stk500
atmega168bb.upload.maximum_size=14336
atmega168bb.upload.speed=19200
atmega168bb.bootloader.low_fuses=0xFF
atmega168bb.bootloader.high_fuses=0xDF
atmega168bb.bootloader.extended_fuses=0xF8
atmega168bb.bootloader.path=arduino:atmega
atmega168bb.bootloader.file=ATmegaBOOT_168_pro_8MHz.hex
atmega168bb.bootloader.unlock_bits=0x3F
atmega168bb.bootloader.lock_bits=0x0F
atmega168bb.build.mcu=m168
atmega168bb.build.f_cpu=8000000L
atmega168bb.build.core=arduino:arduino
Irgendwie bekomme ich den unlock nicht hin. arduino meldet:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00
und :
avrdude -c arduino -P/dev/ttyUSB1 -p m168 -B 5 -V -e -U lock:w:0x3F:m -U hfuse:w:0xDF:m -U lfuse:w:0xFF:m -U efuse:w:0xF8:m
das
avrdude: stk500_getsync(): not in sync: resp=0x00