Hey,
i'm new and just builded my first RepRap-Project.
After printing the first Things I wanted to change some things in Marlin, but I didnt worked out because the old code wasn't working with the new Arduino IDE. So I downloaded Marlin 1.0.x from http://marlinfw.org/meta/download/ and configured it to my needs (Ramps 1.4) and compilied it to the Mega 2560.
But missed to "install" my LCD so I change the code once more.
Now I can't upload the code with the error:
Arduino: 1.8.2 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Der Sketch verwendet 101260 Bytes (39%) des Programmspeicherplatzes. Das Maximum sind 253952 Bytes.
Globale Variablen verwenden 4223 Bytes (51%) des dynamischen Speichers, 3969 Bytes für lokale Variablen verbleiben. Das Maximum sind 8192 Bytes.
avrdude: ser_open(): can't open device "\\.\COM3": Das System kann die angegebene Datei nicht finden.
avrdude: ser_drain(): read error: Das Handle ist ungültig.
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
Der ausgewählte serielle Port
ist nicht vorhanden oder das Board ist nicht angeschlossen
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.
The Board seems to have a connection to my Laptop because with Pronterface I can connect to it (but can't do anything because i implemened the wrong themperature sensors as well.
Question: What am I doing wrong and how can I upload again?
Thanks for your help to a total newbie
PS.: Sorry that the errormessage ist in german, I dont know how to change it. If I solve this i will repost the code.
I just tried to compile once more and git another error:
Arduino: 1.8.2 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
Der Sketch verwendet 101260 Bytes (39%) des Programmspeicherplatzes. Das Maximum sind 253952 Bytes.
Globale Variablen verwenden 4223 Bytes (51%) des dynamischen Speichers, 3969 Bytes für lokale Variablen verbleiben. Das Maximum sind 8192 Bytes.
avrdude: ser_open(): can't open device "\\.\COM3": Das System kann die angegebene Datei nicht finden.
avrdude: ser_drain(): read error: Das Handle ist ungültig.
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
Der ausgewählte serielle Port avrdude: stk500v2_ReceiveMessage(): timeout
ist nicht vorhanden oder das Board ist nicht angeschlossen
avrdude: stk500v2_getsync(): timeout communicating with programmer
Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.
and another
Arduino: 1.8.2 (Windows 7), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"
sketch\Marlin_main.cpp:2668:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");
^
sketch\temperature.cpp:565:50: warning: extra tokens at end of #ifdef directive
#ifdef THERMAL_RUNAWAY_PROTECTION_BED_PERIOD && THERMAL_RUNAWAY_PROTECTION_BED_PERIOD > 0
^
Der Sketch verwendet 101260 Bytes (39%) des Programmspeicherplatzes. Das Maximum sind 253952 Bytes.
Globale Variablen verwenden 4223 Bytes (51%) des dynamischen Speichers, 3969 Bytes für lokale Variablen verbleiben. Das Maximum sind 8192 Bytes.
avrdude: ser_open(): can't open device "\\.\COM3": Das System kann die angegebene Datei nicht finden.
avrdude: ser_drain(): read error: Das Handle ist ungültig.
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_send(): write error: sorry no info avail
avrdude: stk500_send(): failed to send command to serial port
avrdude: ser_recv(): read error: Das Handle ist ungültig.
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: stk500v2_getsync(): timeout communicating with programmer
Dieser Bericht wäre detaillierter, wenn die Option
"Ausführliche Ausgabe während der Kompilierung"
in Datei -> Voreinstellungen aktiviert wäre.