Page 13 of 15

Re: How to install the firmware for GT2560

Posted: Wed Feb 13, 2019 11:30 am
by William
Anonymous1234567890 wrote: Tue Feb 05, 2019 9:42 am I tried uploading to my i3 Pro X but I get this error:

Code: Select all


Arduino: 1.8.8 (Windows Store 1.8.19.0) (Windows 10), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\Marlin.h:23:0,

                 from sketch\planner.cpp:54:

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

 ^

In file included from sketch\Marlin.h:23:0,

                 from sketch\SdBaseFile.cpp:21:

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: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\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\stepper.cpp:24:

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\Sd2Card.cpp:20:

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\temperature.h:24,

                 from sketch\ultralcd.cpp:1:

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\BlinkM.cpp:5:

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\SdBaseFile.cpp:24:0:

SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'

 struct fpos_t {

        ^

In file included from sketch\Marlin.h:10:0,

                 from sketch\SdBaseFile.cpp:21:

c:\program files\windowsapps\arduinollc.arduinoide_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

 __extension__ typedef long long fpos_t;

                                 ^

sketch\SdBaseFile.cpp: In member function 'void SdBaseFile::getpos(fpos_t*)':

SdBaseFile.cpp:298:8: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'

   pos->position = curPosition_;

        ^

SdBaseFile.cpp:299:8: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'

   pos->cluster = curCluster_;

        ^

In file included from sketch\Marlin.h:23:0,

                 from sketch\motion_control.cpp:22:

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\SdFile.cpp:20:

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\SdBaseFile.cpp: In member function 'void SdBaseFile::setpos(fpos_t*)':

SdBaseFile.cpp:1496:23: error: request for member 'position' in '* pos', which is of non-class type 'fpos_t {aka long long int}'

   curPosition_ = pos->position;

                       ^

SdBaseFile.cpp:1497:22: error: request for member 'cluster' in '* pos', which is of non-class type 'fpos_t {aka long long int}'

   curCluster_ = pos->cluster;

                      ^

In file included from sketch\SdFile.h:27:0,

                 from sketch\cardreader.h:8,

                 from sketch\stepper.cpp:30:

SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'

 struct fpos_t {

        ^

In file included from sketch\Marlin.h:10:0,

                 from sketch\stepper.cpp:24:

c:\program files\windowsapps\arduinollc.arduinoide_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

 __extension__ typedef long long fpos_t;

                                 ^

In file included from sketch\SdFile.h:27:0,

                 from sketch\cardreader.h:8,

                 from sketch\ultralcd.cpp:6:

SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'

 struct fpos_t {

        ^

In file included from sketch\Marlin.h:10:0,

                 from sketch\temperature.h:24,

                 from sketch\ultralcd.cpp:1:

c:\program files\windowsapps\arduinollc.arduinoide_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

 __extension__ typedef long long fpos_t;

                                 ^

In file included from sketch\SdFile.h:27:0,

                 from sketch\SdFile.cpp:23:

SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'

 struct fpos_t {

        ^

In file included from sketch\Marlin.h:10:0,

                 from sketch\SdFile.cpp:20:

c:\program files\windowsapps\arduinollc.arduinoide_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

 __extension__ typedef long long fpos_t;

                                 ^

In file included from sketch\Marlin.h:23:0,

                 from sketch\SdFatUtil.cpp:20:

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

 ^

exit status 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\cardreader.cpp:1:

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\MarlinSerial.cpp:23:

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\SdFile.h:27:0,

                 from sketch\cardreader.h:8,

                 from sketch\cardreader.cpp:2:

SdBaseFile.h:38:8: error: using typedef-name 'fpos_t' after 'struct'

 struct fpos_t {

        ^

In file included from sketch\Marlin.h:10:0,

                 from sketch\cardreader.cpp:1:

c:\program files\windowsapps\arduinollc.arduinoide_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

 __extension__ typedef long long fpos_t;

                                 ^

In file included from sketch\Marlin.h:23:0,

                 from sketch\thermistortables.h:4,

                 from sketch\Configuration.h:792,

                 from C:\Users\Owner\Desktop\I3_pro_X\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

 ^

In file included from sketch\Marlin.h:23:0,

                 from sketch\vector_3.cpp:20:

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\temperature.cpp:32:

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\thermistortables.h:4,

                 from sketch\Configuration.h:792,

                 from sketch\digipot_mcp4451.cpp:1:

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".");

                                    ^

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

                                                  ^

In file included from sketch\Marlin.h:23:0,

                 from sketch\ConfigurationStore.cpp:1:

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\thermistortables.h:4,

                 from sketch\Configuration.h:792,

                 from sketch\Servo.cpp:44:

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\SdFile.h:27:0,

                 from sketch\cardreader.h:8,

                 from sketch\Marlin_main.cpp:44:

SdBaseFile.h:38:8: 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.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr\avr\include\stdio.h:950:33: note: 'fpos_t' has a previous declaration here

 __extension__ typedef long long fpos_t;

                                 ^

using typedef-name 'fpos_t' after 'struct'

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
I know, it's a long error but I need to know how to fix it. :geek: :geek: :?
It means you try to upload the fw via Arduino 1.6.5 or higher.
Try to upload it via Arduino 1.0.1.

Re: How to install the firmware for GT2560

Posted: Wed Apr 03, 2019 2:39 am
by Mad Monkey
I have a brandnew i3 Pro W that i have built

i attempted to print using sd card and it just says none installed, tried via USB and it didnt respond, all signs pointed to updating firmware..

i hooked the pc up to printer, downloaded the Prow firmware from this forum. and ardino 1.01.
verified the sketch and it verifies (baord 2560 com3)
when i click upload it loads 80% of the way and just hangs out.. no error, i left it for over an hr same result.
when i uplugged it i now have a blank screen on my LCD..

please advise what software and firmware files i ACTUALLY need.

Thanks

Re: How to install the firmware for GT2560

Posted: Wed Apr 03, 2019 3:12 am
by Mad Monkey
i have tried several times to add the Prow firmware to my printer, using arduino 1.0.1 and it verifies fine, but when i click upload it gets almost there and doesnt complete no errors

Re: How to install the firmware for GT2560

Posted: Wed Apr 03, 2019 5:53 am
by Mad Monkey
Ive let it run now and im getting time out errors..

ive followed everything on this page http://www.geeetech.com/forum/viewtopic ... 20&t=17102

short of resoldering the crystal.. what am I missing?

Re: How to install the firmware for GT2560

Posted: Wed Apr 03, 2019 8:12 am
by Mad Monkey
resoldering did nothing. still times out regardless of which usb port i use or cable. etc.
the board is comepletely disconnected and stil fails.

Re: How to install the firmware for GT2560

Posted: Wed Apr 03, 2019 10:08 am
by William
Hi,Mad
I think you should check the hardware at first.
If your printer has an issue of the power,it may cause you can't upload the fw to your printer.
You can use the multimeter check the PSU output is normal (12V).
Or you can try to upload the fw without the PSU cable but get the power from the USB cable.

Re: How to install the firmware for GT2560

Posted: Fri Apr 05, 2019 7:27 am
by Mad Monkey
I tried several times uploading firmware with the board completely disconnected just plugged in via USB..

I was able to get the printer operating again but I'd still like to update the fw at some point

Re: How to install the firmware for GT2560

Posted: Wed Apr 24, 2019 5:17 am
by alecs13
hi guys ! Very new and newbie at Arduinos and programing !
So i have tried to upload the Merlin firmware to my GT2560 I get this error; any idea how to fix it ?
Image

Re: How to install the firmware for GT2560

Posted: Thu May 02, 2019 11:59 pm
by dga78
Hi guys
Some help please.

Just built a pro x and uploaded firmware (arduino 1.0.1 with Marlin) on my MAC. Firmware loaded and I can connect via USB with Repetier, but the LCD has both lines blocked out. Any ideas?

Re: How to install the firmware for GT2560

Posted: Thu Jun 13, 2019 4:09 am
by lvet
Hello,
I have an i3 Pro B bough a couple of weeks ago, I am about to install the 3Dtouch sensor and need to update the firmware.
Is there a way to update the firmware with a more recent version of Arduino 1.0.1?

Trying to run Arduino 1.0.1 on a MacOS Mojave is a pain, as you need to install legacy versions of JVM.
Is there a more recent 3DTouch compatible firmware that I could upload with a more recent version of Arduino?

Please let me know
Cheers
Luca