How to install the firmware for GT2560

Locked
Hammer08
Posts: 1
Joined: Thu Dec 15, 2016 11:06 am

Re: How to install the firmware for GT2560

Post by Hammer08 » Thu Dec 15, 2016 11:08 am

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'

Cup
Posts: 123
Joined: Fri Jul 15, 2016 6:11 pm

Re: How to install the firmware for GT2560

Post by Cup » Thu Dec 15, 2016 11:38 am

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'
Arduino 1.0.1 will fix it:
http://www.geeetech.com/wiki/images/a/a ... indows.zip

pekkap100
Posts: 6
Joined: Tue Dec 27, 2016 4:37 pm

Re: How to install the firmware for GT2560

Post by pekkap100 » Tue Dec 27, 2016 4:52 pm

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.

Cup
Posts: 123
Joined: Fri Jul 15, 2016 6:11 pm

Re: How to install the firmware for GT2560

Post by Cup » Tue Dec 27, 2016 5:33 pm

@ pekkap100
Maybe you can attach the screenshot of the error msg.

pekkap100
Posts: 6
Joined: Tue Dec 27, 2016 4:37 pm

Re: How to install the firmware for GT2560

Post by pekkap100 » Tue Dec 27, 2016 6:12 pm

now i open that file arduinoisp and it went through but nothing happened. lcd is still empty.

Cup
Posts: 123
Joined: Fri Jul 15, 2016 6:11 pm

Re: How to install the firmware for GT2560

Post by Cup » Wed Dec 28, 2016 12:00 pm

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?

pekkap100
Posts: 6
Joined: Tue Dec 27, 2016 4:37 pm

Re: How to install the firmware for GT2560

Post by pekkap100 » Wed Dec 28, 2016 8:17 pm

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

bang
Posts: 402
Joined: Wed Dec 28, 2016 2:12 pm

Re: How to install the firmware for GT2560

Post by bang » Thu Dec 29, 2016 6:09 pm

pekkap100 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
Hi,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...

pekkap100
Posts: 6
Joined: Tue Dec 27, 2016 4:37 pm

Re: How to install the firmware for GT2560

Post by pekkap100 » Thu Dec 29, 2016 9:53 pm

Hi
ok but in this example: http://www.geeetech.com/forum/viewtopic ... 20&t=17181only one ino file open? Pekka

Cup
Posts: 123
Joined: Fri Jul 15, 2016 6:11 pm

Re: How to install the firmware for GT2560

Post by Cup » Fri Dec 30, 2016 9:50 am

pekkap100 wrote:Hi
ok but in this example: http://www.geeetech.com/forum/viewtopic ... 20&t=17181only one ino file open? Pekka
But have you noticed this?
QQ图片20161230094725.jpg
QQ图片20161230094725.jpg (41.9 KiB) Viewed 21171 times
It contains all the files of the firmware,while you have only one in your Arduino.
Did you get my idea?

Locked