Forum: Mikrocontroller und Digitale Elektronik Problem mit avrispmk2 und avrdude


von Marcus (Gast)


Lesenswert?

Hi,habe ein Problem beim flashen von einem Attiny 2312, ich nutze den 
AVRispMK2 Klon aus dem SHop und das Pollin Eval. Board. Ich wollte 
testen ob alles funktioniert und habe einfach ein kleines Programm 
raufgespielt was eine Led leuchten lässt, doch jedes mal beim schreiben 
habe ich das selbe Problem (siehe Ausgabe) , nach "46 bytes of flash 
verified" belibt er kurz stehen und macht weiter, aber das Programm 
scheint richtig zu funktionieren denn die led leuchtet.

1
>sudo avrdude -p t2313 -P usb -c avrispmkII -U flash:w:led1_on.hex
2
3
avrdude: AVR device initialized and ready to accept instructions
4
5
Reading | ################################################## | 100% 0.01s
6
7
avrdude: Device signature = 0x1e910a
8
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be performed
9
         To disable this feature, specify the -D option.
10
avrdude: erasing chip
11
avrdude: reading input file "/home/humanexperience/led1_on.hex"
12
avrdude: input file /home/humanexperience/led1_on.hex auto detected as Intel Hex
13
avrdude: writing flash (46 bytes):
14
15
Writing | ################################################## | 100% 0.06s
16
17
avrdude: 46 bytes of flash written
18
avrdude: verifying flash memory against /home/humanexperience/led1_on.hex:
19
avrdude: load data flash data from input file /home/humanexperience/led1_on.hex:
20
avrdude: input file /home/humanexperience/led1_on.hex auto detected as Intel Hex
21
avrdude: input file /home/humanexperience/led1_on.hex contains 46 bytes
22
avrdude: reading on-chip flash data:
23
24
Reading | ################################################## | 100% 0.01s
25
26
avrdude: verifying ...
27
avrdude: 46 bytes of flash verified
28
29
avrdude: stk500v2_recv_mk2: error in USB receive
30
avrdude: stk500v2_cmd(): short reply, len = 0
31
avrdude: safemode: Verify error - unable to read lfuse properly. Programmer may not be reliable.
32
avrdude: safemode: Fuses OK
33
34
avrdude done.  Thank you.



Könnt ihr mir vielleicht helfen??

Danke
Marcus

von Teplotaxl X. (t3plot4x1)


Lesenswert?

UsbProg? :D

Das problem habe ich auch manchmal, tritt aber nur bei manchen HEX-Files 
auf.

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.