Arduino Leonardo Pro Micro - keine Verbindung

Gast #5055020
Lesenswert?

Hallo Zusammen!

Ausgangslage:
Ich habe bei ebay fünf Arduino Pro Mirco bestellt. 
(http://www.ebay.de/itm/Leonardo-Pro-Micro-ATmega32U4-Arduino-5V-16MHz-Bootloader-Micro-USB-Pro-mini-/381813793804?hash=item58e5e0240c:g:3ZIAAOSw44BYDz4d)

Ein Modul ausgepackt und und damit erfolgreich erste Testläufe 
absolviert.
Als ich nun die restliche vier Module mit Software bespielen wollte, 
ergab sich folgendes Phänomen:

Als ich die übrigen 4 Pro Micro mit dem Computer (Win7, 64-bit) 
verbunden habe, ertönte nicht das typische "USB-verbindungsgeräusch".
Die LEDs für RX TX blinken nicht auf. Ledliglich die Power-LED leuchtet.

An VCC liegen 5V an.(Gemessen mit Multimeter) Ich habe auch bereits 
versucht über den Reset-Pin in den Bootloader zu kommen. 
(https://learn.sparkfun.com/tutorials/pro-micro--fio-v3-hookup-guide/troubleshooting-and-faq) 
- Leider ohne Erfolg.

---

Gibt es Lösungsideen von eurer Seite?
Computer & USB-Kabel sollte ich auschließen können. Das erste Modul 
funktioniert immer noch ohne Probleme. (USB-Geräusch, neue Sketche 
aufspielen, etc.)

Ich kann mir schwer Vorstellen, dass 4 von 5 Modulen defekt sind bzw. 
ich beim Löten 4 Module zerstört haben könnte.

Vielen Dank für die Unterstützung!
Gast #5055033
Lesenswert?

Möglicherweise ist bei den Modulen noch keine Firmware/Bootloader 
installiert. Ich hatte mal 5 gekauft und nur der erste ging. Die anderen 
waren leer, ich musste sie erst per ISP Schnittstelle flashen.
Gast #5055990
Lesenswert?

Danke für die Hinweise!

Ich habe es gerade via USBASP mittels Arduino IDE versucht. 1.8.2
Als Board habe ich Leonardo ausgewählt.

Das Übertragen scheint zu klappen...
1
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cusbasp -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0xcb:m -Uhfuse:w:0xd8:m -Ulfuse:w:0xff:m 
2

3
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
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 "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
8

9
         Using Port                    : usb
10
         Using Programmer              : usbasp
11
         AVR Part                      : ATmega32U4
12
         Chip Erase delay              : 9000 us
13
         PAGEL                         : PD7
14
         BS2                           : PA0
15
         RESET disposition             : dedicated
16
         RETRY pulse                   : SCK
17
         serial program mode           : yes
18
         parallel program mode         : yes
19
         Timeout                       : 200
20
         StabDelay                     : 100
21
         CmdexeDelay                   : 25
22
         SyncLoops                     : 32
23
         ByteDelay                     : 0
24
         PollIndex                     : 3
25
         PollValue                     : 0x53
26
         Memory Detail                 :
27

28
                                  Block Poll               Page                       Polled
29
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
30
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
31
           eeprom        65    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
32
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
33
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
34
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
35
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
36
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
37
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
38
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
39

40
         Programmer Type : usbasp
41
         Description     : USBasp, http://www.fischl.de/usbasp/
42

43
avrdude: auto set sck period (because given equals null)
44
avrdude: AVR device initialized and ready to accept instructions
45

46
Reading | ################################################## | 100% -0.00s
47

48
avrdude: Device signature = 0x1e9587 (probably m32u4)
49
avrdude: erasing chip
50
avrdude: auto set sck period (because given equals null)
51
avrdude: reading input file "0x3F"
52
avrdude: writing lock (1 bytes):
53

54
C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega32u4 -cusbasp -Pusb -Uflash:w:C:\Program Files (x86)\Arduino\hardware\arduino\avr/bootloaders/caterina/Caterina-Leonardo.hex:i -Ulock:w:0x2F:m 
55

56
avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
57
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
58
         Copyright (c) 2007-2014 Joerg Wunsch
59

60
         System wide configuration file is "C:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf"
61

62
         Using Port                    : usb
63
         Using Programmer              : usbasp
64
Writing | ################################################## | 100% -0.00s
65

66
avrdude: 1 bytes of lock written
67
avrdude: verifying lock memory against 0x3F:
68
avrdude: load data lock data from input file 0x3F:
69
avrdude: input file 0x3F contains 1 bytes
70
avrdude: reading on-chip lock data:
71

72
Reading | ################################################## | 100% -0.00s
73

74
avrdude: verifying ...
75
avrdude: 1 bytes of lock verified
76
avrdude: reading input file "0xcb"
77
avrdude: writing efuse (1 bytes):
78

79
Writing | ################################################## | 100% -0.00s
80

81
avrdude: 1 bytes of efuse written
82
avrdude: verifying efuse memory against 0xcb:
83
avrdude: load data efuse data from input file 0xcb:
84
avrdude: input file 0xcb contains 1 bytes
85
avrdude: reading on-chip efuse data:
86

87
Reading | ################################################## | 100% -0.00s
88

89
avrdude: verifying ...
90
avrdude: 1 bytes of efuse verified
91
avrdude: reading input file "0xd8"
92
avrdude: writing hfuse (1 bytes):
93

94
Writing | ################################################## | 100% -0.00s
95

96
avrdude: 1 bytes of hfuse written
97
avrdude: verifying hfuse memory against 0xd8:
98
avrdude: load data hfuse data from input file 0xd8:
99
avrdude: input file 0xd8 contains 1 bytes
100
avrdude: reading on-chip hfuse data:
101

102
Reading | ################################################## | 100% -0.00s
103

104
avrdude: verifying ...
105
avrdude: 1 bytes of hfuse verified
106
avrdude: reading input file "0xff"
107
avrdude: writing lfuse (1 bytes):
108

109
Writing | ################################################## | 100% 0.02s
110

111
avrdude: 1 bytes of lfuse written
112
avrdude: verifying lfuse memory against 0xff:
113
avrdude: load data lfuse data from input file 0xff:
114
avrdude: input file 0xff contains 1 bytes
115
avrdude: reading on-chip lfuse data:
116

117
Reading | ################################################## | 100% -0.00s
118

119
avrdude: verifying ...
120
avrdude: 1 bytes of lfuse verified
121

122
avrdude done.  Thank you.
123

124
         AVR Part                      : ATmega32U4
125
         Chip Erase delay              : 9000 us
126
         PAGEL                         : PD7
127
         BS2                           : PA0
128
         RESET disposition             : dedicated
129
         RETRY pulse                   : SCK
130
         serial program mode           : yes
131
         parallel program mode         : yes
132
         Timeout                       : 200
133
         StabDelay                     : 100
134
         CmdexeDelay                   : 25
135
         SyncLoops                     : 32
136
         ByteDelay                     : 0
137
         PollIndex                     : 3
138
         PollValue                     : 0x53
139
         Memory Detail                 :
140

141
                                  Block Poll               Page                       Polled
142
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
143
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
144
           eeprom        65    20     4    0 no       1024    4      0  9000  9000 0x00 0x00
145
           flash         65     6   128    0 yes     32768  128    256  4500  4500 0x00 0x00
146
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
147
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
148
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
149
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
150
           calibration    0     0     0    0 no          1    0      0     0     0 0x00 0x00
151
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
152

153
         Programmer Type : usbasp
154
         Description     : USBasp, http://www.fischl.de/usbasp/
155

156
avrdude: auto set sck period (because given equals null)
157
avrdude: AVR device initialized and ready to accept instructions
158

159
Reading | ################################################## | 100% -0.00s
160

161
avrdude: Device signature = 0x1e9587 (probably m32u4)
162
avrdude: NOTE: "flash" memory has been specified, an erase cycle will be performed
163
         To disable this feature, specify the -D option.
164
avrdude: erasing chip
165
avrdude: auto set sck period (because given equals null)
166
avrdude: reading input file "C:\Program Files (x86)\Arduino\hardware\arduino\avr/bootloaders/caterina/Caterina-Leonardo.hex"
167
avrdude: writing flash (32730 bytes):
168

169
Writing | ################################################## | 100% 17.78s
170

171
avrdude: 32730 bytes of flash written
172
avrdude: verifying flash memory against C:\Program Files (x86)\Arduino\hardware\arduino\avr/bootloaders/caterina/Caterina-Leonardo.hex:
173
avrdude: load data flash data from input file C:\Program Files (x86)\Arduino\hardware\arduino\avr/bootloaders/caterina/Caterina-Leonardo.hex:
174
avrdude: input file C:\Program Files (x86)\Arduino\hardware\arduino\avr/bootloaders/caterina/Caterina-Leonardo.hex contains 32730 bytes
175
avrdude: reading on-chip flash data:
176

177
Reading | ################################################## | 100% 12.17s
178

179
avrdude: verifying ...
180
avrdude: 32730 bytes of flash verified
181
avrdude: reading input file "0x2F"
182
avrdude: writing lock (1 bytes):
183

184
Writing | ################################################## | 100% -0.00s
185

186
avrdude: 1 bytes of lock written
187
avrdude: verifying lock memory against 0x2F:
188
avrdude: load data lock data from input file 0x2F:
189
avrdude: input file 0x2F contains 1 bytes
190
avrdude: reading on-chip lock data:
191

192
Reading | ################################################## | 100% 0.02s
193

194
avrdude: verifying ...
195
avrdude: 1 bytes of lock verified
196

197
avrdude done.  Thank you.

Leider erkennt Windows den Arduino immer nocht nicht... Weitere 
Hinweise/Ideen?
Gast #5056224
Lesenswert?

Vielen Dank für die Rückmeldungen!

@Stefan Us: Gibt es eine Anleitung, wie ich die Fuses und die Firmware 
vom funktionierenden Chip kopiere?

@Wolfgang: Keine Reaktion - es taucht nichts auf... Ich werde es heute 
Abend mal mit den restlichen drei Modulen versuchen...
Gast #5056290
Lesenswert?

Andre schrieb:
> @Stefan Us: Gibt es eine Anleitung, wie ich die Fuses und die Firmware
> vom funktionierenden Chip kopiere?

Warum kopieren?

In der Arduino IDE "Bootloader brennen" drücken.
Dann werden die Fuses gleich mit geschrieben.

Und das sieht man auch in deinen Meldungen, dass das klappt.
Gast #5056489
Lesenswert?

> Gibt es eine Anleitung, wie ich die Fuses und die Firmware
> vom funktionierenden Chip kopiere

Da nimmst du avrdude und eine GUI deiner Wahl (z.B. AVR-Burn-O-Mat). 
Damit kannst du sowohl die Firmware als Binärdatei auslesen und die 
Fuses anzeigen lassen.

Umgekehrt kannst du bei den vermutlich leeren Chips die Fuses einstellen 
und die Binärdatei flashen.

> In der Arduino IDE "Bootloader brennen" drücken.

Ja geht auch, wenn man denn die Arduino IDE installiert hat.

Antwort schreiben

Bitte melde dich an, um einen Beitrag zu schreiben.

oder

Mit Google-Account einloggen

Die Registrierung ist kostenlos und dauert nur eine Minute.

Jetzt registrieren