Arduino upload geht nicht?
hey, ich fange gerade mit arduino zeug an und wenn ihc versuche einen einfachen code upzuloaden kommt in der ide folgende fehlermeldung:
////////////////
Arduino: 1.8.9 (Windows 10), Board: "Arduino Nano, ATmega328P"
Sketch uses 942 bytes (3%) of program storage space. Maximum is 30720 bytes.
Global variables use 9 bytes (0%) of dynamic memory, leaving 2039 bytes for local variables. Maximum is 2048 bytes.
D:\Programme\arduino ide\Arduino\hardware\tools\avr/bin/avrdude -CD:\Programme\arduino ide\Arduino\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM9 -b115200 -D -Uflash:w:C:\Users\Andreas\AppData\Local\Temp\arduino_build_797620/redgreensig.ino.hex:i
avrdude: Version 6.3-20171130
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "D:\Programme\arduino ide\Arduino\hardware\tools\avr/etc/avrdude.conf"
Using Port : COM9
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x6a
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x6a
avrdude done. Thank you.
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
///////////////
Das ist der Code falls es relevant sein sollte...int led = 5; // the pin the LED is connected to
void setup()
{
pinMode(led, OUTPUT); // Declare the LED as an output
}
void loop()
{
digitalWrite(led, HIGH);
delay(1000);
digitalWrite(led, LOW);
delay(1000);
}
ps. port und board sind richtig ausgewählt
lg
2 Antworten
Könnte sein, dass es eine Inkompatibilität mit dem Bootloader ist. Manche chinesische Boards nutzen z.B. noch den alten Bootloader. Bei Werkzeuge->Prozessor kannst du das auswählen. Probier es mal.
Ansonsten könnte es natürlich auch sein, dass der Bootloader auf dem Board fehlt/kaputt ist (je nachdem, was vorher mit gemacht wurde), dass eine Verbindungsstörung mit UART vorliegt, der Mikrocontroller nicht richtig Strom bekommt, etc...
LED richtig rum angeschlossen? Ist die Variable "led" auch 2?
kannst ja mal statt led überall eine 2 reinschreiben... es gibt ja noch die LED auf dem Board, vielleicht blinkt die gerade auch lustig vor sich hin.
ahahahahahaha, hab mich schon gewundert warum das scheiß teil rumblinkt :DD
hab gedacht das board ist hin :P
danke dir, jetzt kann ich mich damit spielen.
lg
Er sagt dir doch was falsch ist !
also nen fehler kommt jetzt nichtmehr bezüglich upload, aber der code geht nicht. weißt du da zufällig was es da hat?
habe einfach auf D2 nen widerstand mit led auf GND geschalten
hier nochmal code:
//////////////////////////////////////////////////////////////
void setup()
{
int led = 5;
pinMode(led, OUTPUT); // Declare the LED as an output
}
void loop()
{
digitalWrite(led, HIGH);
delay(1000);
digitalWrite(led, LOW);
delay(1000);
}