stk500v2_command(): command failed
Moderátor: Moderátoři
stk500v2_command(): command failed
avrdude -c stk500v2 -p m8 -P /dev/ttyUSB0 -U flash:w:lcd.hex:a
avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
this check.
avrdude done. Thank you.
[sandi@phoenix ~/avr/projects/lcd]$ avrdude -F -c stk500v2 -p m8 -P /dev/ttyUSB0 -U flash:w:lcd.hex:a
avrdude: stk500v2_command(): command failed
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.10s
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for ATMEGA8 is 1E 93 07
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: stk500v2_command(): command failed
avrdude: reading input file "lcd.hex"
avrdude: input file lcd.hex auto detected as raw binary
avrdude: writing flash (4872 bytes):
Writing | ################################################## | 100% 2.48s
avrdude: 4872 bytes of flash written
avrdude: verifying flash memory against lcd.hex:
avrdude: load data flash data from input file lcd.hex:
avrdude: input file lcd.hex auto detected as raw binary
avrdude: input file lcd.hex contains 4872 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 1.54s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
0x7f != 0x00
avrdude: verification error; content mismatch
avrdude: safemode: Fuses OK
avrdude done. Thank you.
Uz sa mi raz nieco podobne stalo a pomohla vymena chipu. Nechce sa mi vsak verit ze by odchadzali tak rychlo/jednoducho. 10000 zapisovych ciklov sa mi dosiahnut nepodarilo.
- ZdenekHQ
- Významný člen
- Příspěvky: 25519
- Registrován: 21 črc 2006, 00:00
- Bydliště: skoro Brno
- Kontaktovat uživatele:
Správně navržené zapojení je jako recept na dobré jídlo.
Můžete vynechat půlku ingrediencí, nebo přidat jiné,
ale jste si jistí, že vám to bude chutnat[?]