Helmut H. schrieb:
> Etitie schrieb:
>> Was mich auch wundert ist, dass im Fehler steht
>> "STK500".
>
> Wäre interessant zu wissen, mit welchen Parametern avrdude aufgerufen
> wird. Dazu bei File/Preferences Haken bei "show verbose output during
> upload".
> Sieht bei mir (Arduino 1.8.5) so aus:...
> Global variables use 354 bytes (17%) of dynamic memory, leaving 1694
> bytes for local variables. Maximum is 2048 bytes.
> C:\Program Files (x86)\Arduino\hardware\tools\avr/bin/avrdude
> -CC:\Program Files (x86)\Arduino\hardware\tools\avr/etc/avrdude.conf -v
> -patmega328p -carduino -PCOM14 -b115200 -D
> -Uflash:w:C:\Users\hh\AppData\Local\Temp\arduino_build_633922/a4988Klein
.ino.hex:i
>
> avrdude: Version 6.3, compiled on Jan 17 2017 at 12:00:53
So:
1 | C:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/bin/avrdude -CC:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf -v -patmega328p -carduino -PCOM12 -b115200 -D -Uflash:w:C:\Users\~1\AppData\Local\Temp\arduino_build_76077/sketch_aug20a.ino.hex:i
|
2 |
|
3 | avrdude: Version 6.3-20190619
|
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:\Users\PC\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"
|
8 |
|
9 | Using Port : COM12
|
10 | Using Programmer : arduino
|
11 | Overriding Baud Rate : 115200
|
12 | avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
|
13 | avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
|
14 | avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
|
15 | avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
|
16 | avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
|
17 | avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
|
18 | avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
|
19 | avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
|
20 | avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
|
21 | avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
|
22 |
|
23 | avrdude done. Thank you.
|
24 |
|
25 | An error occurred while uploading the sketch
|