How to install the firmware for GT2560
Re: How to install the firmware for GT2560
completely new to the program aspect of using a 3d printer but got to the point where i used marlin for my gt2560+a4988 board and when i go to verify it i keep getting the following error and i dont understand it any help would be much appriciated.
In file included from sketch\Marlin.h:23:0,
from sketch\thermistortables.h:4,
from sketch\Configuration.h:792,
from C:\Users\Wraith\Desktop\Marlin-PI3_Pro_B\Marlin\Marlin.ino:33:
sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined
#define X_MAX_PIN -1
^
sketch\pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined
#define Y_MAX_PIN -1
^
sketch\pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined
#define Z_MAX_PIN -1
^
sketch\pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch\Marlin.h:23:0,
from sketch\Marlin_main.cpp:30:
sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined
#define X_MAX_PIN -1
^
sketch\pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined
#define Y_MAX_PIN -1
^
sketch\pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined
#define Z_MAX_PIN -1
^
sketch\pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
sketch\Marlin_main.cpp:2667:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");
^
In file included from sketch\SdFile.h:27:0,
from sketch\cardreader.h:8,
from sketch\Marlin_main.cpp:44:
SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^
In file included from sketch\Marlin.h:10:0,
from sketch\Marlin_main.cpp:30:
c:\program files\windowsapps\arduinollc.arduinoide_1.6.13.0_x64__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here
__extension__ typedef long long fpos_t;
^
exit status 1
using typedef-name 'fpos_t' after 'struct'
In file included from sketch\Marlin.h:23:0,
from sketch\thermistortables.h:4,
from sketch\Configuration.h:792,
from C:\Users\Wraith\Desktop\Marlin-PI3_Pro_B\Marlin\Marlin.ino:33:
sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined
#define X_MAX_PIN -1
^
sketch\pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined
#define Y_MAX_PIN -1
^
sketch\pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined
#define Z_MAX_PIN -1
^
sketch\pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch\Marlin.h:23:0,
from sketch\Marlin_main.cpp:30:
sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined
#define X_MAX_PIN -1
^
sketch\pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined
#define Y_MAX_PIN -1
^
sketch\pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined
#define Z_MAX_PIN -1
^
sketch\pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
sketch\Marlin_main.cpp:2667:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");
^
In file included from sketch\SdFile.h:27:0,
from sketch\cardreader.h:8,
from sketch\Marlin_main.cpp:44:
SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^
In file included from sketch\Marlin.h:10:0,
from sketch\Marlin_main.cpp:30:
c:\program files\windowsapps\arduinollc.arduinoide_1.6.13.0_x64__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here
__extension__ typedef long long fpos_t;
^
exit status 1
using typedef-name 'fpos_t' after 'struct'
Re: How to install the firmware for GT2560
Arduino 1.0.1 will fix it:Hammer08 wrote:completely new to the program aspect of using a 3d printer but got to the point where i used marlin for my gt2560+a4988 board and when i go to verify it i keep getting the following error and i dont understand it any help would be much appriciated.
In file included from sketch\Marlin.h:23:0,
from sketch\thermistortables.h:4,
from sketch\Configuration.h:792,
from C:\Users\Wraith\Desktop\Marlin-PI3_Pro_B\Marlin\Marlin.ino:33:
sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined
#define X_MAX_PIN -1
^
sketch\pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined
#define Y_MAX_PIN -1
^
sketch\pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined
#define Z_MAX_PIN -1
^
sketch\pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
In file included from sketch\Marlin.h:23:0,
from sketch\Marlin_main.cpp:30:
sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined
#define X_MAX_PIN -1
^
sketch\pins.h:1363:0: note: this is the location of the previous definition
#define X_MAX_PIN 24
^
sketch\pins.h:2957:0: warning: "Y_MAX_PIN" redefined
#define Y_MAX_PIN -1
^
sketch\pins.h:1369:0: note: this is the location of the previous definition
#define Y_MAX_PIN 28
^
sketch\pins.h:2958:0: warning: "Z_MAX_PIN" redefined
#define Z_MAX_PIN -1
^
sketch\pins.h:1375:0: note: this is the location of the previous definition
#define Z_MAX_PIN 32
^
sketch\Marlin_main.cpp:2667:36: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix]
LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");
^
In file included from sketch\SdFile.h:27:0,
from sketch\cardreader.h:8,
from sketch\Marlin_main.cpp:44:
SdBaseFile.h:38: error: using typedef-name 'fpos_t' after 'struct'
struct fpos_t {
^
In file included from sketch\Marlin.h:10:0,
from sketch\Marlin_main.cpp:30:
c:\program files\windowsapps\arduinollc.arduinoide_1.6.13.0_x64__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here
__extension__ typedef long long fpos_t;
^
exit status 1
using typedef-name 'fpos_t' after 'struct'
http://www.geeetech.com/wiki/images/a/a ... indows.zip
Re: How to install the firmware for GT2560
hey just acquired the printer (prusa pro c ) and tried to change the direction of the motor. something was wrong, lcd emptied. I tried to put a new program but not work. it come: exit status 1 error for combiling board.I have tried to new and old Arduino.
Re: How to install the firmware for GT2560
@ pekkap100
Maybe you can attach the screenshot of the error msg.
Maybe you can attach the screenshot of the error msg.
Re: How to install the firmware for GT2560
now i open that file arduinoisp and it went through but nothing happened. lcd is still empty.
Re: How to install the firmware for GT2560
First make sure you have the SD and LCD cable correctly connected.You can try swapping them.
You said you have some errors in Arduino,so could you attach some pictures or videos to show us the issue?
You said you have some errors in Arduino,so could you attach some pictures or videos to show us the issue?
Re: How to install the firmware for GT2560
hei here a couple of videos:https://www.youtube.com/watch?v=nE9otEj ... eg&index=4
https://www.youtube.com/watch?v=kl1KXj3 ... 8GgtRAI8eg
the second video will error:no such file or directory an the other i open file arduinoisp and then load successfully,but the display remains blank
pekka
https://www.youtube.com/watch?v=kl1KXj3 ... 8GgtRAI8eg
the second video will error:no such file or directory an the other i open file arduinoisp and then load successfully,but the display remains blank
pekka
Re: How to install the firmware for GT2560
Hi,Pekkapekkap100 wrote:hei here a couple of videos:https://www.youtube.com/watch?v=nE9otEj ... eg&index=4
https://www.youtube.com/watch?v=kl1KXj3 ... 8GgtRAI8eg
the second video will error:no such file or directory an the other i open file arduinoisp and then load successfully,but the display remains blank
pekka
I noticed you just open one file to Arduino.
You need select all the files in the firmware folder and drag them to Arduino then upload...
Re: How to install the firmware for GT2560
Hi
ok but in this example: http://www.geeetech.com/forum/viewtopic ... 20&t=17181only one ino file open? Pekka
ok but in this example: http://www.geeetech.com/forum/viewtopic ... 20&t=17181only one ino file open? Pekka
Re: How to install the firmware for GT2560
But have you noticed this? It contains all the files of the firmware,while you have only one in your Arduino.pekkap100 wrote:Hi
ok but in this example: http://www.geeetech.com/forum/viewtopic ... 20&t=17181only one ino file open? Pekka
Did you get my idea?