Skocz do zawartości

[C] Eclipse, avrdude: avrdude: error: wrong responds size


2m7

Pomocna odpowiedź

Witajcie,

spotkał się kiedyś ktoś z problemem, albo może wie, jak go rozwiącać? Programuję atmegę32a na zewnętrznym kwarcu 16MHz za pomocą usbasp i wywala mi następujący błąd w eclipsie po kompilacji programu i próbie wgrania:

Launching C:\avrdude\avrdude -pm32 -cusbasp -Uflash:w:10_1Wire.hex:a 
Output:

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e9502
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 "10_1Wire.hex"
avrdude: input file 10_1Wire.hex auto detected as Intel Hex
avrdude: writing flash (3682 bytes):

Writing | ########################avrdude: error: usbasp_transmit: libusb0-dll:err [control_msg] sending control message failed, win error: Urządzenie dołączone do komputera nie działa.



avrdude: error: wrong count at writing ffffffff
########################## | 100% 4.75s

avrdude: 3682 bytes of flash written
avrdude: verifying flash memory against 10_1Wire.hex:
avrdude: load data flash data from input file 10_1Wire.hex:
avrdude: input file 10_1Wire.hex auto detected as Intel Hex
avrdude: input file 10_1Wire.hex contains 3682 bytes
avrdude: reading on-chip flash data:

Reading | #############avrdude: error: usbasp_transmit: libusb0-dll:err [control_msg] sending control message failed, win error: Urządzenie dołączone do komputera nie działa.



avrdude: error: wrong reading bytes ffffffff
avrdude: error: usbasp_transmit: libusb0-dll:err [control_msg] sending control message failed, win error: Urządzenie dołączone do komputera nie działa.



avrdude: error: wrong responds size
avrdude: error: usbasp_transmit: libusb0-dll:err [control_msg] sending control message failed, win error: Urządzenie dołączone do komputera nie działa.



avrdude: error: wrong responds size
avrdude: error: usbasp_transmit: libusb0-dll:err [control_msg] sending control message failed, win error: Urządzenie dołączone do komputera nie działa.



avrdude: error: wrong responds size
avrdude: error: usbasp_transmit: libusb0-dll:err [control_msg] sending control message failed, win error: Urządzenie dołączone do komputera nie działa.



avrdude: error: wrong responds size
avrdude: error: usbasp_transmit: libusb0-dll:err [control_msg] sending control message failed, win error: Urządzenie dołączone do komputera nie działa.



avrdude: error: wrong responds size
##################################### | 100% 4.26s

avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0000
        0x0c != 0x00
avrdude: verification error; content mismatch

avrdude done.  Thank you.

Compiled special for http://forum.atnel.pl (v5.11.1)
Link do komentarza
Share on other sites

Bądź aktywny - zaloguj się lub utwórz konto!

Tylko zarejestrowani użytkownicy mogą komentować zawartość tej strony

Utwórz konto w ~20 sekund!

Zarejestruj nowe konto, to proste!

Zarejestruj się »

Zaloguj się

Posiadasz własne konto? Użyj go!

Zaloguj się »
×
×
  • Utwórz nowe...

Ważne informacje

Ta strona używa ciasteczek (cookies), dzięki którym może działać lepiej. Więcej na ten temat znajdziesz w Polityce Prywatności.