Firmware update issue - cant upload due to error

Post Reply
alfaraser
Posts: 1
Joined: Wed May 31, 2017 3:29 am

Firmware update issue - cant upload due to error

Post by alfaraser » Wed May 31, 2017 3:38 am

Hi I got my Prusa I3 Type B
want to install Firmware to increase working temperatures of my e3DV6
Use Arduino 1.8.2 on Linux
and the precheck of the firmware I downloaded from Geeetech creates this error :

Code: Select all

Arduino: 1.8.2 (Linux), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

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/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 /home/knief/Dropbox/Shed/Prusa I3/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/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/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:
/home/knief/arduino-1.8.2/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'
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

Who can help please ?

User avatar
William
Site Admin
Posts: 6340
Joined: Tue Jun 07, 2016 9:38 am

Re: Firmware update issue - cant upload due to error

Post by William » Thu Jun 01, 2017 4:31 pm

Hi,I suggest you to upgrade the firmware with EasyPrint 3D.
Here is the download link:
http://www.geeetech.net/firmware/EasyPrint.msi.
And here is the instructional video you can refer to
:https://www.youtube.com/watch?v=U3ua4vM ... pqufTgHOgE.
-Keep your mind and try to test it. :)
-Everything will be fun!-Support all Getech printer.
-You can ask me the questions and I will kindly reply.
-Respect others is the best way you can get help!

A_Camera
Posts: 1
Joined: Wed Nov 08, 2017 3:19 pm
Contact:

Re: Firmware update issue - cant upload due to error

Post by A_Camera » Wed Nov 08, 2017 5:07 pm

I got the same, my printer is the Acrylic version with the A+ board. It works great with the latest Arduino 1.8.5 and the latest Marlin 1.1.6 versions. The trick is to take the Geeetech Configuration file from the Marlin example_configurations folder, replace the one in the Marlin folder with that one, check the LCD panel to see that yours is the one which is defined and then you can compile and upload. I don't know the Linux version of Arduio, so I can't help you with that, but I hope you find this post useful anyway.

haazel00
Posts: 1
Joined: Sun Jun 12, 2022 9:18 am

Re: Firmware update issue - cant upload due to error

Post by haazel00 » Sun Jun 12, 2022 9:23 am

“Who can write a paper online today?” Our writers need to be rewarded for their good work, hence the need to pay for writing services. You can access affordable assistance on any assignment from a helper by communicating with them directly. However, to do this, you need to first register on our platform. freepaperwriter.com

Post Reply