Forum: Mikrocontroller und Digitale Elektronik timeout mit stk500v2


von pszy (Gast)


Lesenswert?

Hi,

ich habe hier einen USB ISP Adapeter (mySmartUSB light). Der arbeitet 
mit dem stk500v2 Protokoll.

Wenn ich nun mithilfe von make program das Programm auf meinen atmega32 
lade, funktioniert das beim ersten mal. Wenn ich make program nocheinmal 
ausführe, meldet der nen timeout:
avrdude: stk500_2_ReceiveMessage(): timeout

Wenn ich nun den USB adapter aus dem rechner ziehe und wieder 
anschließe, funktionierts wieder für ein mal...

Hat jemand eine Idee was der fehler sein könnte?

von pszy (Gast)


Lesenswert?

Kann mir niemand helfen?

Avrdude gibt flgendes aus:


Paul:blink paul$ make program
avrdude -p atmega32 -P /dev/tty.SLAB_USBtoUART -c stk500v2    -U 
flash:w:main.hex

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 
0.01s

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: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
avrdude: stk500_2_ReceiveMessage(): timeout
^Cmake: *** [program] Interrupt

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.