Page 5 of 15

Re: How to install the firmware for GT2560

Posted: Thu Dec 15, 2016 11:08 am
by Hammer08
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'

Re: How to install the firmware for GT2560

Posted: Thu Dec 15, 2016 11:38 am
by Cup
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

Re: How to install the firmware for GT2560

Posted: Tue Dec 27, 2016 4:52 pm
by pekkap100
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

Posted: Tue Dec 27, 2016 5:33 pm
by Cup
@ pekkap100
Maybe you can attach the screenshot of the error msg.

Re: How to install the firmware for GT2560

Posted: Tue Dec 27, 2016 6:12 pm
by pekkap100
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

Posted: Wed Dec 28, 2016 12:00 pm
by Cup
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?

Re: How to install the firmware for GT2560

Posted: Wed Dec 28, 2016 8:17 pm
by pekkap100
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

Re: How to install the firmware for GT2560

Posted: Thu Dec 29, 2016 6:09 pm
by bang
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...

Re: How to install the firmware for GT2560

Posted: Thu Dec 29, 2016 9:53 pm
by pekkap100
Hi
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

Posted: Fri Dec 30, 2016 9:50 am
by Cup
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 22649 times
It contains all the files of the firmware,while you have only one in your Arduino.
Did you get my idea?