Clock source ändern

Gast #480037
Lesenswert?

Hi,

habe den avr wie im Tutorial beschrieben aufgebaut, allerdings wird das 
ändern der fuse bits übergangen?
Der hier verwendete ATmega16 ist laut Datenblatt auf 1mhz intern 
eingestellt, das auslesen der fuse bits mit avrdude schlägt allerdings 
fehl:

avrdude -b 115200 -c avr910 -p m16 -P /dev/ttyUSB0 -U hfuse:r:high.txt 
-U lfuse:r:low.txt

Die Schaltung funktioniert soweit um an PD0 eine Led blinken zu lassen.
Hat jemand eine idee wo der Fehler liegt?

Mit freundlichen Grüßen
Julius Junghans
Gast #480076
Lesenswert?

Oh, die Fehlermeldung habe ich gar nicht gepostet..sorry


avrdude -b 115200 -c avr910 -p m16 -P /dev/ttyUSB0 -U hfuse:r:high.txt 
-U lfuse:r:low.txt

Found programmer: Id = "AVR ISP"; type = S
    Software Version = 4.0; Hardware Version = 0.2
Programmer supports auto addr increment.

Programmer supports the following devices:
    Device code: 0x55 = ATtiny12
    Device code: 0x56 = ATtiny15
    Device code: 0x13 = AT90S1200
    Device code: 0x28 = AT90S4414
    Device code: 0x20 = ATtiny84
    Device code: 0x34 = AT90S2333
    Device code: 0x4c = AT90S2343
    Device code: 0x30 = AT90S4433
    Device code: 0x6c = AT90S4434
    Device code: 0x38 = AT90S8515
    Device code: 0x68 = AT90S8535
    Device code: 0x57 = (unknown)
    Device code: 0x3a = ATMEGA8515
    Device code: 0x41 = ATMEGA103
    Device code: 0x43 = ATMEGA128
    Device code: 0x45 = (unknown)
    Device code: 0x59 = (unknown)
    Device code: 0x5a = (unknown)
    Device code: 0x5b = (unknown)
    Device code: 0x5e = ATTINY26
    Device code: 0x60 = ATMEGA161
    Device code: 0x62 = (unknown)
    Device code: 0x64 = ATMEGA163
    Device code: 0x69 = (unknown)
    Device code: 0x72 = ATMEGA32
    Device code: 0x74 = ATMEGA644
    Device code: 0x76 = ATMEGA8
    Device code: 0x75 = ATMEGA6490

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 
0.00s

avrdude: Device signature = 0x03941e
avrdude: reading hfuse memory:

Reading | ################################################## | 100% 
0.06s

avrdude: writing output file "high.txt"
avrdude: output file high.txt auto detected as invalid format
avrdude: invalid output file format: -1
avrdude: write to file 'high.txt' failed

avrdude: safemode: Fuses OK

avrdude done.  Thank you.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren