Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all 12108 articles
Browse latest View live

Re: Error compiling for board


Re: Problem enabling Z Home Safe

$
0
0
What did you set your Probe offset from extruder configurations too?

BL Touch on KFB-board with marlin 1.18 on Anet A8M

$
0
0
I have a problem. I flashed my Anet to version 1.18 with "all" the BL-Touch changes.

On start up the BL retract 2 times en stays the pin is in the high position

If I do G28 Z the machine never stops. I have to switch if off.
But when I place the BL above the bed and I do the G28 Z-command I have to do M280 PO S10 and it makes a complete Z-leveling. After that I have to do M280 PO S90.

What is wrong with my configuration.

With regards, Frans Bos

Re: BL Touch on KFB-board with marlin 1.18 on Anet A8M

$
0
0
why do you have

#define FIX_MOUNTED_PROBE

and

//#define BLTOUCH

When you have a BLTOUCH?

Re: BL Touch on KFB-board with marlin 1.18 on Anet A8M

$
0
0
I changed the settings and it starts to work.

Thanks

Re: Error compiling for board

$
0
0
No I did not install the library, but after I install it, I get a different error message

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

libraries\TMC2130Stepper-master\source\SW_SPI.cpp.o (symbol from plugin) : In function `SW_SPIClass::setPins(unsigned int, unsigned int, unsigned int)':

(.text+0x0): multiple definition of `SW_SPIClass::setPins(unsigned int, unsigned int, unsigned int)'

sketch\SW_SPI.cpp.o (symbol from plugin): (.text+0x0) : first defined here

c:/program files/windowsapps/arduinollc.arduinoide_1.8.19.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: Disabling relaxation: it will not work with multiple definitions

libraries\TMC2130Stepper-master\source\SW_SPI.cpp.o (symbol from plugin) : In function `SW_SPIClass::setPins(unsigned int, unsigned int, unsigned int)':

(.text+0x0): multiple definition of `SW_SPIClass::init()'

sketch\SW_SPI.cpp.o (symbol from plugin) : (.text+0x0) : first defined here

libraries\TMC2130Stepper-master\source\SW_SPI.cpp.o (symbol from plugin) : In function `SW_SPIClass::setPins(unsigned int, unsigned int, unsigned int)':

(.text+0x0): multiple definition of `SW_SPIClass::transfer(unsigned char, unsigned char)'

sketch\SW_SPI.cpp.o (symbol from plugin) : (.text+0x0) : first defined here

libraries\TMC2130Stepper-master\source\SW_SPI.cpp.o (symbol from plugin) : In function `SW_SPIClass::setPins(unsigned int, unsigned int, unsigned int)':

(.text+0x0): multiple definition of `SW_SPIClass::transfer16(unsigned int)'

sketch\SW_SPI.cpp.o (symbol from plugin) : (.text+0x0) : first defined here

libraries\TMC2130Stepper-master\source\SW_SPI.cpp.o (symbol from plugin) : In function `SW_SPIClass::setPins(unsigned int, unsigned int, unsigned int)':

(.text+0x0): multiple definition of `TMC_SW_SPI'

sketch\SW_SPI.cpp.o (symbol from plugin) : (.text+0x0) : first defined here

sketch\ultralcd.cpp: In function 'menu_action_setting_edit_callback_long5.constprop':

sketch\ultralcd.cpp:4860:3: internal compiler error: Segmentation fault

   DEFINE_MENU_EDIT_TYPE(uint32_t, long5, ftostr5rj, 0.01f);

   ^

Please submit a full bug report,

with preprocessed source if appropriate.

See [gcc.gnu.org] for instructions.

lto-wrapper.exe: fatal error: C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.19.0_x86__mdqgnx93n4wtt\hardware\tools\avr/bin/avr-gcc returned 1 exit status

compilation terminated.

c:/program files/windowsapps/arduinollc.arduinoide_1.8.19.0_x86__mdqgnx93n4wtt/hardware/tools/avr/bin/../lib/gcc/avr/5.4.0/../../../../avr/bin/ld.exe: error: lto-wrapper failed

collect2.exe: error: ld returned 1 exit status

exit status 1
Error compiling for board Arduino/Genuino Mega or Mega 2560.

do you know what this means?

Re: Error compiling for board

$
0
0
Why are you trying to use software SPI?

You have a hardware SPI port and the TMC2130's should be wired to that

comment out #define TMC_USE_SW_SPI in Configuration_adv.h

Re: Error compiling for board

$
0
0
yes, that line was already commented out.

Ethan

Re: Error compiling for board

$
0
0
Please post your two configuration files.

Re: Error compiling for board

$
0
0
Here are the configuration files

Thanks,
Ethan

Re: Error compiling for board

$
0
0
Tried your configuration.h and a fresh copy of marlin with arduino 1.8.8 and it compiled fine for me

looks like you have not made any changes to Configuration_adv.h?


How did you install the libraries? Tools|Manage libraries and enter TMC2130Stepper into the search filter then click install??

Re: Problem enabling Z Home Safe

$
0
0
This is what I have it set to.
#define X_PROBE_OFFSET_FROM_EXTRUDER 0 // X offset: -left +right [of the nozzle]
#define Y_PROBE_OFFSET_FROM_EXTRUDER 20 // Y offset: -front +behind [the nozzle]
#define Z_PROBE_OFFSET_FROM_EXTRUDER 1 // Z offset: -below +above [the nozzle]

Re: Error compiling for board

$
0
0
Yes, I did install the files through the library manager

Z axis disables when printing second part

$
0
0
I have an issue after changing the lead screw. It prints great until it comes to the second part. The first part it prints well (set up in cura as one at a time). However, when the second part prints, the printer sets itself to the 0.2mm layer height but does not move down (sits at around 10mm above build surface). It prints in the air. The z axis also disables. While painting I can turn the lead screw as if it is disabled.

2mm lead, lead screw
MKS GEN L main board TMC2208 stepper drivers (LV8729 for extruder)
E3D V6 hotend
Marlin 1.1.8 now, tried 3 different Marlin version.

Re: Problem enabling Z Home Safe

$
0
0
And your Z-Safe homing config look like this.

#define X_BED_SIZE 220
#define Y_BED_SIZE 220

// 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 240


#define Z_SAFE_HOMING

#if ENABLED(Z_SAFE_HOMING)
#define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE) / 2) // X point for Z homing when homing all axes (G28).
#define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE) / 2) // Y point for Z homing when homing all axes (G28).
#endif

Re: Problem enabling Z Home Safe

$
0
0
Clif, I wanted to thank you for your help. I just copied a new configuration.h file and only configured the minimum to get rid of that error. Now every time I apply power to the control board I get a driver error. This has been the craziest thing. Every time I get one thing fixed something else breaks.

Re: 3 problems with Marlin 1.1.9 and MKS GEN 1.4

$
0
0
This topic is no longer a problem. I had to redo the entire configuration.h file and it cleared those issues but created another.

CR10-S5 , + Marlin - random stop during G28 home.

$
0
0
CR10S was worked fine. (Marlin 1.1.9 from master)

Added 1m original cable extension. - connectors and termination looks good. - signals verified with multimeter, - (no off behavior when touching connectors/switches)
X and Y axis microswitch endstop is connected so that it is shorted when NOT touching endstop. (so there should be little chance of voltage being inducted during travel.)

Still, any Y and X axis homing , may move random distance to endswitch direction, then stop, move back+forth (try to verify swithing point, then the printer will STOP because of homing error.)

Is it not extremely strange that it apparently somehow picks up a signal on a loop that is shorted (microscwitch closed) during travel ?

Re: CR10-S5 , + Marlin - random stop during G28 home.

$
0
0
Twist your wires, lots

Being a closed loop means you get twice the length of wire to pickup stray signals

Problems compiling Marlin for Anet A6

$
0
0
I am trying to compile Marlin 1.1.9 for the Anet A6 using the Arduino IDE and am having multiple errors. I put a hardware definition for the Anet in the Arduino/hardware directory, added a zip library for U8glib and replaced the default configuration.h and configuration-adv.h by the ones in the examples/Anet/A6 directory of the Marlin package.

When I followed online advice to delete everything and start again, I got a different set of errors, so one of my problems is probably that I have not set up all the necessary pieces of software correctly, or have included something I should not have.

Is there a complete set of instructions anywhere to set up the Arduino IDE to compile Marlin?

Would I be better trying to compile the previous release 1.0.2-2 or bug fix-1.1.x? I don't think I want to try the 2.0 version as it is obviously not yet stable.

Any other advice would be welcome
Viewing all 12108 articles
Browse latest View live