Forum: Mikrocontroller und Digitale Elektronik avrdude und ATtiny13 erzeugt USB probleme beim "verbose" Parameter


von Malte _. (malte) Benutzerseite


Lesenswert?

Hallo,
mag mal jemand verifizieren, dass ich nicht der einzige mit folgendem 
Problem bin oder mir eine Erklärung liefern? Mit einem Tiny45 gibt es 
die Probleme ebenfalls nicht, unabhängig der Parameter.

Folgender Aufruf funktioniert:
1
avrdude -p t13 -c avrispmkII -P usb -U hvled-tiny13.hex
2
3
avrdude: AVR device initialized and ready to accept instructions
4
5
Reading | ################################################## | 100% 0.01s
6
7
avrdude: Device signature = 0x1e9007
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 "hvled-tiny13.hex"
12
avrdude: input file hvled-tiny13.hex auto detected as Intel Hex
13
avrdude: writing flash (100 bytes):
14
15
Writing | ################################################## | 100% 0.20s
16
17
avrdude: 100 bytes of flash written
18
avrdude: verifying flash memory against hvled-tiny13.hex:
19
avrdude: load data flash data from input file hvled-tiny13.hex:
20
avrdude: input file hvled-tiny13.hex auto detected as Intel Hex
21
avrdude: input file hvled-tiny13.hex contains 100 bytes
22
avrdude: reading on-chip flash data:
23
24
Reading | ################################################## | 100% 0.12s
25
26
avrdude: verifying ...
27
avrdude: 100 bytes of flash verified
28
29
avrdude: safemode: Fuses OK (E:FF, H:FF, L:6A)
30
31
avrdude done.  Thank you.


ergänze ich hingegen ein -v für mehr Ausgaben, gibt es USB Probleme:
1
avrdude -p t13 -c avrispmkII -P usb -U hvled-tiny13.hex -v
2
3
avrdude: Version 6.1, compiled on Sep 11 2014 at 21:49:31
4
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
5
         Copyright (c) 2007-2014 Joerg Wunsch
6
7
         System wide configuration file is "/etc/avrdude.conf"
8
         User configuration file is "/home/malte/.avrduderc"
9
         User configuration file does not exist or is not a regular file, skipping
10
11
         Using Port                    : usb
12
         Using Programmer              : avrispmkII
13
avrdude: usbdev_open(): Found AVRISP mk2 Clone, serno: 0000A00128255
14
         AVR Part                      : ATtiny13
15
         Chip Erase delay              : 4000 us
16
         PAGEL                         : P00
17
         BS2                           : P00
18
         RESET disposition             : dedicated
19
         RETRY pulse                   : SCK
20
         serial program mode           : yes
21
         parallel program mode         : yes
22
         Timeout                       : 200
23
         StabDelay                     : 100
24
         CmdexeDelay                   : 25
25
         SyncLoops                     : 32
26
         ByteDelay                     : 0
27
         PollIndex                     : 3
28
         PollValue                     : 0x53
29
         Memory Detail                 :
30
31
                                  Block Poll               Page                       Polled
32
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
33
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
34
           eeprom        65     5     4    0 no         64    4      0  4000  4000 0xff 0xff
35
           flash         65     6    32    0 yes      1024   32     32  4500  4500 0xff 0xff
36
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
37
           lock           0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
38
           calibration    0     0     0    0 no          2    0      0     0     0 0x00 0x00
39
           lfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
40
           hfuse          0     0     0    0 no          1    0      0  4500  4500 0x00 0x00
41
42
         Programmer Type : STK500V2
43
         Description     : Atmel AVR ISP mkII
44
         Programmer Model: AVRISP mkII
45
         Hardware Version: 0
46
         Firmware Version Master : 9.09
47
         Vtarget         : 5.0 V
48
         SCK period      : 23.12 us
49
50
avrdude: AVR device initialized and ready to accept instructions
51
52
Reading | ################################################## | 100% 0.01s
53
54
avrdude: Device signature = 0x1e9007
55
avrdude: safemode: lfuse reads as 6A
56
avrdude: safemode: hfuse reads as FF
57
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
58
         To disable this feature, specify the -D option.
59
avrdude: erasing chip
60
avrdude: reading input file "hvled-tiny13.hex"
61
avrdude: input file hvled-tiny13.hex auto detected as Intel Hex
62
avrdude: writing flash (100 bytes):
63
64
Writing | ################################################## | 100% 0.20s
65
66
avrdude: 100 bytes of flash written
67
avrdude: verifying flash memory against hvled-tiny13.hex:
68
avrdude: load data flash data from input file hvled-tiny13.hex:
69
avrdude: input file hvled-tiny13.hex auto detected as Intel Hex
70
avrdude: input file hvled-tiny13.hex contains 100 bytes
71
avrdude: reading on-chip flash data:
72
73
Reading | #############                                      | 25% 0.03savrdude: stk500v2_recv_mk2: error in USB receive
74
Reading | #########################                          | 50% 10.06savrdude: stk500v2_recv_mk2: error in USB receive
75
Reading | ######################################             | 75% 20.09savrdude: stk500v2_recv_mk2: error in USB receive
76
Reading | ################################################## | 100% 30.13s
77
78
avrdude: verifying ...
79
avrdude: 100 bytes of flash verified
80
81
avrdude: stk500v2_recv_mk2: error in USB receive
82
avrdude: stk500v2_cmd(): short reply, len = 0
83
avrdude: safemode: lfuse reads as 6A
84
avrdude: safemode: hfuse reads as FF
85
avrdude: safemode: Fuses OK (E:FF, H:FF, L:6A)
86
87
avrdude done.  Thank you.

Der Programmer ist UsbProg 3.0 und avrdude stammt von Debian stable.

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.