Firmware update failed, display shows rectangle only!

OleOhlsen
Posts: 14
Joined: Mon Oct 28, 2019 1:47 am

Firmware update failed, display shows rectangle only!

Post by OleOhlsen » Sun Nov 17, 2019 3:11 am

Hi, I just tried to update firmware, I had 1.0.05 (GT2560) and tried to update to the version from your website.
Now the display shows rectangle only! :cry:
This is the error log:

Code: Select all

Arduino: 1.8.9 (Mac OS X), Board: "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

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/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/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/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/thermistortables.h:4,
                 from sketch/Configuration.h:792,
                 from /Users/ole/Downloads/3D Druck/Software firmware/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/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
 
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: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/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:
/Users/ole/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/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/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:
/Users/ole/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/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:
/Users/ole/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/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:
/Users/ole/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/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/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:
/Users/ole/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/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/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:
/Users/ole/Library/Arduino15/packages/arduino/tools/avr-gcc/7.3.0-atmel3.6.1-arduino5/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_;
        ^~~~~~~
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;
                      ^~~~~~~
exit status 1
using typedef-name 'fpos_t' after 'struct'

OleOhlsen
Posts: 14
Joined: Mon Oct 28, 2019 1:47 am

Re: Firmware update failed, display shows rectangle only!

Post by OleOhlsen » Sun Nov 17, 2019 5:26 am

Ok, thank you!
And how can I find out which version I need? I bought the printer less than 3 weeks ago on Amazon!

OleOhlsen
Posts: 14
Joined: Mon Oct 28, 2019 1:47 am

Re: Firmware update failed, display shows rectangle only!

Post by OleOhlsen » Sun Nov 17, 2019 6:04 am

Thank you!
I did with no errors, but the display now shows strange symbols, like #%209... and may be some Chinese letters. They are always changing.....!?

OleOhlsen
Posts: 14
Joined: Mon Oct 28, 2019 1:47 am

Re: Firmware update failed, display shows rectangle only!

Post by OleOhlsen » Sun Nov 17, 2019 6:14 am

It shows
6Teeperature 6
the letters are in front of the rectangle. After a while it jumps back to changing letters. If i scroll some unreadable words come up...

OleOhlsen
Posts: 14
Joined: Mon Oct 28, 2019 1:47 am

Re: Firmware update failed, display shows rectangle only!

Post by OleOhlsen » Sun Nov 17, 2019 6:39 am

I checked the cable, but they are all in place! No change when I wiggle it.... :(

OleOhlsen
Posts: 14
Joined: Mon Oct 28, 2019 1:47 am

Re: Firmware update failed, display shows rectangle only!

Post by OleOhlsen » Sun Nov 17, 2019 6:43 am

Like you suggested Marlin-bugfix-2.0.x-B422

OleOhlsen
Posts: 14
Joined: Mon Oct 28, 2019 1:47 am

Re: Firmware update failed, display shows rectangle only!

Post by OleOhlsen » Sun Nov 17, 2019 6:54 am

Sorry, I'm absolute new with 3D printing...
I used Arduino, selected 2560 board and /dev/cu.usbserial-1460
Thats all, then checked and uploaded. Is there anything else to do?

OleOhlsen
Posts: 14
Joined: Mon Oct 28, 2019 1:47 am

Re: Firmware update failed, display shows rectangle only!

Post by OleOhlsen » Sun Nov 17, 2019 7:11 am

This looks quite difficult! Is'nt there a outofthebox solution?

OleOhlsen
Posts: 14
Joined: Mon Oct 28, 2019 1:47 am

Re: Firmware update failed, display shows rectangle only!

Post by OleOhlsen » Sun Nov 17, 2019 7:30 am

I don't know the basics, how to enable/ disable...

Ok, I'll check tomorrow morning! It's after midnight over here and I'm tired..
Thank you for your help, much appreciated!

OleOhlsen
Posts: 14
Joined: Mon Oct 28, 2019 1:47 am

Re: Firmware update failed, display shows rectangle only!

Post by OleOhlsen » Sun Nov 17, 2019 5:03 pm

Ok, thank you!
I was able to do a setup (more a try and error than knowhow, because I don't know specifics like FMP or TMC2208) with no error, but display is still the same!?
Where can I learn what parts i have, and which drivers I need?

Post Reply