Pages: [1]   Go Down
Author Topic: burn bootloader "external clock" auf atmega168 schlägt fehl.  (Read 813 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 64
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://arduino.cc/en/Tutorial/ArduinoToBreadboard
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:
Code:
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
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 64
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Jetzt bekomme ich :
Code:
avrdude: Expected signature for ATMEGA328P is 1E 95 0F
         Double check chip, or use -F to override this check.
komisch.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 64
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Also ich bin jetzt ein wenig weiter mit meinen Wissen.
Habe der boards.txt das hinzugefügt:
Code:
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:
Code:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x00

und :
Code:
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
Code:
avrdude: stk500_getsync(): not in sync: resp=0x00
Logged

Pages: [1]   Go Up
Jump to: