1.1.8 Firmware not compiling !

Post Reply
RLF93
Posts: 5
Joined: Fri Apr 20, 2018 8:06 pm

1.1.8 Firmware not compiling !

Post by RLF93 » Thu Aug 02, 2018 9:45 pm

Hi,

I'm trying to upload an 1.1.8 firmware (custom with french language) from a french forum. This firmware is reported to work with no issues on other Pro B.

I have an error message at compiling related to probe position (i'm using a 3D touch, wich is functionnal with standard Geeetech firmware).

Here is the Error message :

Code: Select all

Arduino : 1.8.5 (Windows 7), Carte : "Arduino/Genuino Mega or Mega 2560, ATmega2560 (Mega 2560)"

In file included from sketch\MarlinConfig.h:40:0,

                 from sketch\G26_Mesh_Validation_Tool.cpp:27:

SanityCheck.h:296: error: static assertion failed: Movement bounds ([XY]_MIN_POS, [XY]_MAX_POS) are too narrow to contain [XY]_BED_SIZE.

 static_assert(X_MAX_LENGTH >= X_BED_SIZE && Y_MAX_LENGTH >= Y_BED_SIZE,

 ^

SanityCheck.h:828: error: static assertion failed: RIGHT_PROBE_BED_POSITION can't be reached by the Z probe.

       static_assert(RIGHT_PROBE_BED_POSITION <= MAX_PROBE_X, "RIGHT_PROBE_BED_POSITION can't be reached by the Z probe.");

       ^

exit status 1
static assertion failed: Movement bounds ([XY]_MIN_POS, [XY]_MAX_POS) are too narrow to contain [XY]_BED_SIZE. 
I checked that alle the values are the same than those on my old firmware.
I Tried to change X_BED_SIZE and Y_BED_SIZE, increased a lot, but it wo'nt compile either.

I'd like to try this firmware, i feel that Geeetech Rev A+ with probe is full of bugs and outdated.

Any clue with this issue ?

Thanks by advance.

Regards,

RLF

Gingko
Site Admin
Posts: 230
Joined: Tue Apr 24, 2018 10:43 am

Re: 1.1.8 Firmware not compiling !

Post by Gingko » Fri Aug 03, 2018 5:36 pm

1, Please check the definition of bed size and minimum position of X or Y-axis in your Configuration.h file.

Code: Select all

// The size of the print bed
#define X_BED_SIZE 200
#define Y_BED_SIZE 200

// Travel limits (mm) after homing, corresponding to endstop positions.
#define X_MIN_POS 0
#define Y_MIN_POS 0
#define Z_MIN_POS 0
#define X_MAX_POS X_BED_SIZE
#define Y_MAX_POS Y_BED_SIZE
#define Z_MAX_POS 200
If the value of "X_MAX_POS-X_MIN_POS" is smaller than the X_BED_SIZE, it might come up the error of "static assertion failed: Movement bounds ([XY]_MIN_POS, [XY]_MAX_POS) are too narrow to contain [XY]_BED_SIZE.".

2, For error: "static assertion failed: RIGHT_PROBE_BED_POSITION can't be reached by the Z probe."

The value for RIGHT_PROBE_BED_POSITION should be smaller than the value of "X_MAX_POS".

RLF93
Posts: 5
Joined: Fri Apr 20, 2018 8:06 pm

Re: 1.1.8 Firmware not compiling !

Post by RLF93 » Fri Aug 03, 2018 8:12 pm

Hi!

Thank you very much for your answer.

I did change the values and it now compiles.

The issue is that my X axis can't go further than 195 mm, the Stepper is hitting Right pulley screw. That's why i entered a lowest value for X_MAX_POS

the fact is that i now have the risk that the printer goes over 195 mm

In that cas, is it better tu reduce both X_BED_SIZE and X_MAX_POS to 195 ?

Thanks by advance !

RLF

Gingko
Site Admin
Posts: 230
Joined: Tue Apr 24, 2018 10:43 am

Re: 1.1.8 Firmware not compiling !

Post by Gingko » Thu Aug 16, 2018 3:48 pm

I prefer to reduce them both to 195, match to your actual situation. ;)

And be careful about the size of the print job.

User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: 1.1.8 Firmware not compiling !

Post by _kaktus_ » Thu Aug 16, 2018 3:56 pm

Hi
:mrgreen:

Gingko, is it possible for the printer not to start printing when the size of the model exceeds the capabilities of the printer when printing from the card :?:
In my opinion, firmware should take care of such a situation and counteract its effects.

Just like working with slicer. I think that is his job.
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

Gingko
Site Admin
Posts: 230
Joined: Tue Apr 24, 2018 10:43 am

Re: 1.1.8 Firmware not compiling !

Post by Gingko » Thu Aug 16, 2018 6:38 pm

I try to change the print area to a smaller one in the firmware, like 100*100 for Pro B, and then print a 160*160 object.

The result comes out that the printer starts working but it won't go beyond the area that set in the firmware.
The printer doesn't know how big the object will be.

Maybe there can be a function that compares the bed area setting with Gcode, but it might need lots of modification of the mainboard.
And that is out of my knowledge range. :oops:

User avatar
_kaktus_
Site Admin
Posts: 1260
Joined: Fri Dec 15, 2017 10:06 pm
Location: PL
Contact:

Re: 1.1.8 Firmware not compiling !

Post by _kaktus_ » Fri Aug 17, 2018 4:43 am

;)
Thank you for trying to answer. It's interesting what you're saying.
And these messages will be informative for many users.
:D
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.

Post Reply