Forum: Mikrocontroller und Digitale Elektronik avrdude -B und avrispmk II


von Michel (Gast)


Lesenswert?

Hallo,
bei mir ist ein -B 19200 in eine avrdude Kommandozeile gerutscht und nun 
programmiert mein avrispmk II nicht mehr richtig. Er ist richtig langsam 
und kann die Fuses nicht mehr kontrollieren. Ich hab schon versucht das 
Ding abzustecken, hat nix gebracht....

Die manpage sagt es geht nur um den JTAG ICE? Ist vielleicht doch mein 
Atmega8 hinüber?

Hier ist der output:
avrdude -p atmega8 -P usb     -c avrispmkII -V   -U flash:w:main.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 
1.99s

avrdude: Device signature = 0x1e9307
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be 
performed
         To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "main.hex"
avrdude: input file main.hex auto detected as Intel Hex
avrdude: writing flash (1392 bytes):

Writing | ################################################## | 100% 
204.17s

avrdude: 1392 bytes of flash written

avrdude: stk500v2_cmd(): short reply, len = 0
avrdude: stk500v2_cmd(): short reply, len = 2
avrdude: safemode: Verify error - unable to read lfuse properly. 
Programmer may not be reliable.
avrdude: safemode: Fuses OK



jemand ne Idee?

von Jörg W. (dl8dtl) (Moderator) Benutzerseite


Lesenswert?

Der merkt sich die SCK-Rate im EEPROM.  Ruf's einfach nochmal mit
-B1 auf oder was auch immer eine sinnvolle ISP-Periodendauer für
dein Target ist.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.