X-homing doing in wrong direction

Post Reply
khondoke
Posts: 34
Joined: Sat Jan 16, 2016 6:07 pm

X-homing doing in wrong direction

Post by khondoke »

Hello, I am talking about Geeetech Pro C Dual Extruder system. whenever it is homing at X-axis, the extruder doesn't go to the correct direction to hit the endstop rather it goes to the other way. I am using Repetier-Host and tried to solve this by changing printer setting. But no hope. I did these two: (1) Printer Settings > Printer > Invert Direction in Controls for (X-axis) - I checked it for X axis but problem continues. (2) Second, Printer Shape > Home X Min Or Max (tried for both) but same. Would you anyone please be able to help me how can I reverse the X-direction while homing? Thank you very much.
Mark
Posts: 1553
Joined: Thu Aug 06, 2015 9:19 am

Re: X-homing doing in wrong direction

Post by Mark »

I remember the Pro C cannot reverse the direction on the LCD, only in the firmware, check out this link:
http://www.geeetech.com/forum/viewtopic ... 17&t=17037
khondoke
Posts: 34
Joined: Sat Jan 16, 2016 6:07 pm

Re: X-homing doing in wrong direction

Post by khondoke »

Thanks Mark. Problem solved. The original pre-loaded firmware had problem, I think. I only downloaded the firmware you suggested and uploaded without any modification. And it worked. Thanks again. :)
khondoke
Posts: 34
Joined: Sat Jan 16, 2016 6:07 pm

Re: X-homing doing in wrong direction

Post by khondoke »

Hello Mark, As I mentioned in last comment that, I mistakenly downloaded and uploaded the firmware for Pro X (I3_Pro_X) but my printer is Pro C dual extruder. Because of that, the second extruder is not working at all (as expected). So, now I tried to download and upload the correct firmware (Marlin_GT2560-PI3_Pro_C). When I uploaded, it could not succeed and gave the following error. Could you please help me finding the correct firmware for my printer and suggest any necessary step to make it fully operational? Thank you very much. The title of the error was: (unable to find a register to spill in class 'POINTER_REGS')

Code: Select all

Arduino: 1.6.7 (Windows 10), 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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 C:\Users\MohammadAbuHasan\Dropbox\Geeetech Pro C\Firmware for GT2560_Pro C Dual Extruder Geeetech 3D Printer\Marlin-PI3_Pro_C\Marlin\Marlin.ino:33:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 identifier [-Wliteral-suffix]

         LCD_MESSAGEPGM(MACHINE_NAME" "MSG_OFF".");

                                    ^

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

                 from sketch\Sd2Card.cpp:20:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

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

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

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

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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\motion_control.cpp:22:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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\planner.cpp:54:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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\qr_solve.h:1,

                 from sketch\qr_solve.cpp:1:

sketch\pins.h:2956:0: warning: "X_MAX_PIN" redefined [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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 [enabled by default]

 #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\temperature.cpp:565:50: warning: extra tokens at end of #ifdef directive [enabled by default]

     #ifdef THERMAL_RUNAWAY_PROTECTION_BED_PERIOD && THERMAL_RUNAWAY_PROTECTION_BED_PERIOD > 0

                                                  ^

sketch\temperature.cpp: In function 'void manage_heater()':

temperature.cpp:665: error: unable to find a register to spill in class 'POINTER_REGS'

 }

 ^

temperature.cpp:665: error: this is the insn:

(insn 98 97 100 4 (set (reg/v:SF 103 [ pid_input ])

        (mem:SF (post_inc:HI (reg:HI 146 [ ivtmp.209 ])) [4 MEM[base: _110, offset: 0B]+0 S4 A8])) sketch\temperature.cpp:449 99 {*movsf}

     (expr_list:REG_INC (reg:HI 146 [ ivtmp.209 ])

        (nil)))

sketch\temperature.cpp:665: confused by earlier errors, bailing out

Multiple libraries were found for "LiquidCrystal.h"
 Used: C:\Users\MohammadAbuHasan\Documents\Arduino\libraries\LiquidCrystal
 Not used: C:\Program Files (x86)\Arduino\libraries\LiquidCrystal
exit status 1
unable to find a register to spill in class 'POINTER_REGS'

  This report would have more information with
  "Show verbose output during compilation"
  enabled in File > Preferences.
Mark
Posts: 1553
Joined: Thu Aug 06, 2015 9:19 am

Re: X-homing doing in wrong direction

Post by Mark »

This error is mainly caused by the arduino version, try to use arduino 1.0.1, it's more useful. And you can check the user manual to make the printer work, it will tell you how to calibrate the printer and print a single plate from the beginning to the end.
khondoke
Posts: 34
Joined: Sat Jan 16, 2016 6:07 pm

Re: X-homing doing in wrong direction

Post by khondoke »

Thanks. All set now.
Post Reply