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

Multiple libraries were found for "U8glib.h" (1 reply)

$
0
0
I can only find 1 library file "u8glib.h" It is in D:\Users\Bill\Documents\Arduino\libraries

There was one here >> C:\Program Files (x86)\3D\Arduino\libraries that I deleted.

When I compile, how is Arduino IDE finding this >> Multiple libraries were found for "U8glib.h"?

Marlin 2.0 Anycubic Chiron (5 replies)

$
0
0
Hello everyone,
I wanted to install the TMC 2209 into my Anycubic Chiron, which needs the Marlin 2.0 to run, however, I have not found the Marlin 2.0 for the Chiron anywhere in this zip or on google... do any of you have any ideas if there is a Marlin 2.0 for the Chiron? Also I am a very big beginner in terms of the firmware so I would like to ask the specific differences between Marlin 2.O and the 1.1.
Cheers,
Maty.

Extruder Stopped Working After Recent 2.0 Flash (no replies)

$
0
0
Well I initially wrote up the premise to the issue and then the page crashed, so now you're getting the TLDR version.

After recently flashing the newest drop of 2.0, everything works except my extruder when try to print or even test it. When I send M122 via Pronterface it comes up with the below status. What I've never seen and can't seem to find what they mean is the "ola" and "olb" status's below the Driver Status. When I turn on my printer and send M122, these aren't X'd. Does anyone know what these mean and what could be causing this issue?

Annotation 2019-11-01 112801


Thanks in advance!

Marlin 2.x issue (2 replies)

$
0
0
greetings

i try to enable auto bed leveling in marlin 2.x , i can't found below code in configuration.h file

// Set the boundaries for probing (where the probe can reach).
//#define LEFT_PROBE_BED_POSITION MIN_PROBE_EDGE
//#define RIGHT_PROBE_BED_POSITION (X_BED_SIZE - MIN_PROBE_EDGE)
//#define FRONT_PROBE_BED_POSITION MIN_PROBE_EDGE
//#define BACK_PROBE_BED_POSITION (Y_BED_SIZE - MIN_PROBE_EDGE)

only available in marlin1.1.x

ABL does not seem to work properly. What should I do? (no replies)

$
0
0
ABL does not seem to work properly. What should I do?

1.Will not be effective?
#define RESTORE_LEVELING_AFTER_G28

2.Does M851 not work?
Nozzle height does not change even if [num] is changed
#define NOZZLE_TO_PROBE_OFFSET { 0, 18, [num1]}
M851 [num]


What I did.
download bugfix-2.0.X 11/02/2019
platformio home 2.3.3 core 4.0.3
python 3.8.0(64bit)
see config.zip


G28
G29
Bilinear Leveling Grid:
0 1 2
0 +4.107 +4.342 +4.567
1 +3.592 +4.047 +4.659
2 +3.417 +4.088 +4.995
X:224.00 Y:206.00 Z:5.06 E:0.00 Count X:35840 Y:65920 Z:64000
ok

M500
M501
M851 check Z-Probe Offset [num1]

POWER OFF/ON

M851 [num]
M500
M501
M851 check Z-Probe Offset OK

POWER OFF/ON

G28
M420 V
0 1 2
0 +4.107 +4.342 +4.567
1 +3.592 +4.047 +4.659
2 +3.417 +4.088 +4.995
echo:Bed Leveling OFF <-----is this correct?
echo:Fade Height OFF

M851 check Z-Probe Offset OK

M420 S1
M420 V check Bed Leveling ON

G90
G1 Z10
G1 X10 Y10 Z0
M420 V check Bed Leveling ON
M851 check Z-Probe Offset OK

M117 messages after manuel filament change (1 reply)

$
0
0
Hi,

I have a strange behaviour on my printer (MARLIN 06.13.16 origin unknown, RAMPS-Board).

All works as it should unless on the Printer I select from the TUNE menu, the last item "Change filament".
On selecting this, (after some seconds, I assume until buffer of instructions is exhausted )_ the head moves to home position, filament is reversed out, and it sits there. On manually feeding new fillament into the extruder, and pressing the physical button on the printers display, the head resumes printing.

BUT the following M117-messages (layer-infos) are ignored, instead the display shows permanently "Change filament". After the print is finished and after a restart of the printer the display is reusable.

Do you have any idea?
BR
Olli

Bed leveling fails with BL Touch clone (no replies)

$
0
0
I have an MPCNC build running as a dedicated, large format 3D printer.

For 3 days, I have been fiddling with Marlin trying to get the MPCNC configured correctly and to complete 1 automatic bed leveling. I have been through every forum it seems like and tried every variation, but none of them have worked. I have started over 3 times now with a clean copy of Marlin each time. So far the errors I have had included:
• Z probe past bed
• probe fails
• and currently - no error code, the z stepper just tries to keep lowering the z-axis through the glass bed

Can someone show me what is wrong in my config file? I have tried to follow various bed leveling instructions, but I am now at a complete loss...

MPCNC build
MK8 extruder w/ 0.8mm nozzle
Ramps 1.4
BL Touch clone
Marlin 2.0 (config uploaded below)

Extruder on Ender-2 not working (Marlin 1.1.9, MKS Gen_L 2.0, TMC2130) (5 replies)

$
0
0
Hi everyone,

I'm having troubles getting my Creality Ender-2 printer to work after its mainboard failed (the motor driver of the extruder died). I ordered a MKS Gen_L 2.0 controller board and TMC2130 drivers, which arrived two weeks ago. Since then I'm trying to get my printer to work with those components and the Marlin firmware. X, Y and Z are working perfectly (smooth, silent, fast), but whatever I tried, I can't get the extruder stepper motor to work. I tried different things to solve the problem (always tested the extruder with heated hotend above the extruder mintemp from marlin):
  • switched motor to another port on the controller board (X,Y,Z) --> Motor worked perfectly fine
  • Tried another TMC2130 from a working motor at the E0 slot --> extruder did not work
  • tested another motor on the E0 slot --> didn't work
  • set the Vref voltage on the TMC2130 to 1.13V --> nothing

I configured the firmware step by step according to the documentation on the marlin homepage. I'm pretty much clueless at this point, do you guys have any other ideas, which could solve my problem?

Thanks in advance!

Printer homes correctly, but starts printing too high (no replies)

$
0
0
Hi,

unfortunately I have another problem with the Marlin firmware (v. 1.1.9) which I can't figure out by myself or searching on the internet.

When starting my print, the printer homes correctly (endstop, no homing probe), but then raises the z-axis before starting the first layer. I tried adjusting the Z_PROBE_OFFSET_FROM_EXTRUDER 0 in Configuration.h, but without success, the printer only started even higher or at the same height (also when putting in negative numbers). Have I missed some other configuration point?

Thanks in advance.

ENDSTOP_INTERRUPTS feature error (7 replies)

$
0
0
Hi guys, I hope someone can help me.
My knowledge with coding is novice level, but I have a fair understanding of how the structure works.

I want to install Marlin (Anet A8 version) on my MKS Gen 1.4 with TMC2208 drivers, I got everything working as it should, BUT when compiling I run into this error:


#if HAS_Y_MIN
    #if digitalPinToInterrupt(Y_MIN_PIN) != NOT_AN_INTERRUPT
      attachInterrupt(digitalPinToInterrupt(Y_MIN_PIN), endstop_ISR, CHANGE);
    #else
      // Not all used endstop/probe -pins can raise interrupts. Please deactivate ENDSTOP_INTERRUPTS or change the pin configuration!
      static_assert(digitalPinToPCICR(Y_MIN_PIN) != NULL, "Y_MIN_PIN is not interrupt-capable");

if I comment out
// Enable this feature if all enabled endstop pins are interrupt-capable.
// This will remove the need to poll the interrupt pins, saving many CPU cycles.
//#define ENDSTOP_INTERRUPTS_FEATURE

then the sketch compiles without any errors and I can upload it to the board., but as soon as I un-comment it, this error comes up.

I then went and started at the beginning, using the Example sketch for the A8 that comes with Marlin, I get the same error.

I have the TMC2208Stepper 0.25 installed in my library.

It was suggested to me by Marlin on Twitter to:

Comment out the sanity check. Some platforms incorrectly implemented our check for interrupt-capable pins as a runtime function instead of making it work in the preprocessor. The developers have been reprimanded.

but I have NO idea where to find this specific sanity check

I would be so great-full for assistance please!!

Thank you guys!

Printer randomly pauses few seconds during print (3 replies)

$
0
0
Hello all, first post!

So recently I switched the board on my anet a8 from the stock anet board to an SKR 1.3 with TMC 2209 drivers. But now that I did the swap, everything works well except that the printer randomly pauses in places in the print, causing large dots, blobs, and sits on the outer perimeter of my print. I do print over USB through octorpint, although this has never caused my any issues before. My octorpint actually now connects faster and is more responsive than ever with the new board. Anyone have any knowledge why it pauses at random?

Z axis MAX_FEEDRATE (no replies)

$
0
0
Greetings

Having an issue with max feedrate in the Z axis. Marlin appears to be ignoring my setting for this.

In the past, I could set DEFAULT_MAX_FEEDRATE as (1000, 1000, 100, 25). And if I threw a G1 Z10 F5000 at it, Z would only move at 100. That doesn't appear to be the case and Z is trying to move at 5000 - which it can't so it stalls.
I've had this problem in the past and I fixed it, but I don't remember how. The problem is that default feedrate in gcode (from Slic3r) is 7800. For now, I have custom gcode to set default to 800 (G1 F800). But I haven't had to do that in the past.

Aiuto compilazione (1 reply)

$
0
0
Salve a tutti

Non riesco a compilare un vecchio firmware di marlin per la mia stampante Prusa I3 Rework

Invio il file in formato zip, se qualcuno riesce a compilarlo e spiegare come fare.

Ho usato Arduino dalla versione 1.6.3 alla versione ultima rilasciata ma niente.

Quando avevo compilato questa versione un paio di anni fa per modificare gli step dei motori, riuscivo a compilarlo corettamente, senza nessun errore, cosa che non riesco più a fare, non mi ricordo con quale versione di arduino funzionava, ora avevo installato l'ultima, ho provato anche la 1.05 r2 la
1.6.2 ecc. ecc. ma sempre senza nessun risultato.

Volevo mettere l'ultima versione di Marlin, ma non so quali parametri modificare, se qualcuno mi dice come fare o riesce a farlo ne sarei molto grato.

Il firmware di marlin vecchio che ho postato funziona per la mia stampante Prusa I3 rework o mendel, la mia ha il motore per l'asse Y d'avanti e anche lo swich di fine corsa, e per l'asse X lo swich a destra.

Marlin "bureaucracy" (no replies)

$
0
0
<Rant>
So instead of providing one off patches here I decided it was time to actually update marlin on github..

What a nightmare!

Firstly although I can code, and use git, I am not a professional programmer, I don't do this stuff daily.

My first attempt I just created an "issue" with a solution. It was only a three line change.
So after writing a book about it... The bug report was created,
The immediate response was "submit a PR" (PR being pull request)

For a 3 line change, that is expecting a bit much for someone that doesn't do this daily. But eventually someone else did do this.

My second attempt. I created a PR.
The immediate response was "submit a issue"

Can you see the circular logic going on here?

I checked to documentation [marlinfw.org] its clearly says "If you have an open issue associated with your Pull Request" not that you require a issue

Apparently what they really want is an Issue and a PR each referencing the other... despite what the the documentation may say.

And one last insult, I wanted to also update 1.1.x and generated the PR, only to be told that I must use bugfix-1.1.x and was pointed back to the above manual

The manual does not mention 1.1.x or bugfix-1.1.x, it only mentions bugfix-2.0

So 3rd attempt is currently underway with a 3rd PR request, this time to bugfix-1.1.x

I can see why Marlin development is so slow, no one in their right mind would tolerate this bureaucracy! So they wont be attracting many new developers.
</Rant>

U8GLIB Error, preventing compiling (1 reply)

$
0
0
Hello!

I'm getting the following error on compiling the marlin firmware for my printer (Marlin 1.1.3):

In file included from sketch\ultralcd.cpp:65:0:

sketch\ultralcd_impl_DOGM.h: In function 'void lcd_implementation_init()':

ultralcd_impl_DOGM.h:308:94: error: no matching function for call to 'U8GLIB_ST7920_128X64_RRD::drawStr(const uint8_t&, int, double)'

           u8g.drawStr(txt1X, u8g.getHeight() - (DOG_CHAR_HEIGHT) * 3 / 2, STRING_SPLASH_LINE1);

                                                                                              ^

In file included from sketch\ultralcd_st7920_u8glib_rrd.h:41:0,

                 from sketch\ultralcd_impl_DOGM.h:46,

                 from sketch\ultralcd.cpp:65:

C:\Users\Owner\Documents\Arduino\libraries\U8glib/U8glib.h:171:16: note: candidate: u8g_uint_t U8GLIB::drawStr(u8g_uint_t, u8g_uint_t, const char*)

     u8g_uint_t drawStr(u8g_uint_t x, u8g_uint_t y, const char *s) { return u8g_DrawStr(&u8g, x, y, s); }

                ^~~~~~~

C:\Users\Owner\Documents\Arduino\libraries\U8glib/U8glib.h:171:16: note:   no known conversion for argument 3 from 'double' to 'const char*'

C:\Users\Owner\Documents\Arduino\libraries\U8glib/U8glib.h:201:16: note: candidate: u8g_uint_t U8GLIB::drawStr(u8g_uint_t, u8g_uint_t, const __FlashStringHelper*)

     u8g_uint_t drawStr(u8g_uint_t x, u8g_uint_t y, const __FlashStringHelper *s) { return u8g_DrawStrP(&u8g, x, y, (u8g_pgm_uint8_t *)s); }

                ^~~~~~~

C:\Users\Owner\Documents\Arduino\libraries\U8glib/U8glib.h:201:16: note:   no known conversion for argument 3 from 'double' to 'const __FlashStringHelper*'

Multiple libraries were found for "U8glib.h"
 Used: C:\Users\Owner\Documents\Arduino\libraries\U8glib
exit status 1
no matching function for call to 'U8GLIB_ST7920_128X64_RRD::drawStr(const uint8_t&, int, double)'

This is being compiled on a new machine, so I'm not sure if that has something to do with it. I've tried to remove extra instances of U8GLIB to no avail. I have a working firmware version loaded on the board, but I think my measurements are off in terms of build volume on the old firmware, so it needs to be updated. I've been working on this printer for years now off and on and I'm so very close to getting it running, this is driving me mad. I'm a bit of a novice with Marlin so this just eludes me and I don't know where to begin.

Any help would be greatly appreciated.

ANet A8 w/ Marlin not responding to Preheat LCD menu (no replies)

$
0
0
I've had my Anet A8 for over a year, running the stock fw. I updated to Marlin. When I use the LCD menus PREPARE > PREHEAT PLA, the system does not preheat (not extruder, not bed). If I print a part from the SD card, Preheat happens. If I Use Pronterface and select preheat, it works. So I don't think this is a HW issue, but something with Marlin. I've been looking at the Marlin code, but can't find where the LCD command (interrupt?) is collected, or how to see what code is executed on that menu selection. Any thoughts or pointers into the code would be appreciated. I am also nearly C++ illiterate, but learning fast.

HELP in BIG SIZE 3D with STM32 & IHM03A1 (1 reply)

$
0
0
Hello Guys,

We are development a 3D printer (Big size) with a old cartesian 3D robot (stepper motor comsuption around 8 AMPS) and we are trying to use STM32 driver IHM03A1 (10 Amps and we can move the machine withot firmware). We don´t know if is possible that marlin manage the STM32 with these kind of driver (without ramps). Is part of our final degree, in the past the 3D was working with powelolu (GermanRepRap) but the drivers was broken and no is possible to buy it.

Thanks you so much.

Best regards from Spain.

Sergioroca

Marlin doesn't compile (5 replies)

$
0
0
I'm using the latest Marlin bugfix 2.0.x with the DELTA config preset as advertised in the default config file.

Here is the complete error description:
In file included from Marlin/src/module/../inc/MarlinConfig.h:35,
                 from Marlin/src/module/configuration_store.h:24,
                 from Marlin/src/module/configuration_store.cpp:47:
Marlin/src/module/configuration_store.cpp: In static member function 'static void MarlinSettings::reset()':
Marlin/src/module/../inc/Conditionals_post.h:1478:75: error: 'nozzle_to_probe_offset' was not declared in this scope
       #define DELTA_CALIBRATION_RADIUS (DELTA_PRINTABLE_RADIUS - _MAX(ABS(nozzle_to_probe_offset.x), ABS(nozzle_to_probe_offset.y), ABS(MIN_PROBE_EDG
E)))
                                                                           ^~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/configuration_store.cpp:2350:32: note: in expansion of macro 'DELTA_CALIBRATION_RADIUS'
     delta_calibration_radius = DELTA_CALIBRATION_RADIUS;
                                ^~~~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/../inc/Conditionals_post.h:1478:75: note: suggested alternative: 'probe_offset'
       #define DELTA_CALIBRATION_RADIUS (DELTA_PRINTABLE_RADIUS - _MAX(ABS(nozzle_to_probe_offset.x), ABS(nozzle_to_probe_offset.y), ABS(MIN_PROBE_EDG
E)))
                                                                           ^~~~~~~~~~~~~~~~~~~~~~
Marlin/src/module/configuration_store.cpp:2350:32: note: in expansion of macro 'DELTA_CALIBRATION_RADIUS'
     delta_calibration_radius = DELTA_CALIBRATION_RADIUS;
                                ^~~~~~~~~~~~~~~~~~~~~~~~
Compiling .pio/build/LPC1768/src/src/module/printcounter.cpp.o
Compiling .pio/build/LPC1768/src/src/module/probe.cpp.o
*** [.pio/build/LPC1768/src/src/module/configuration_store.cpp.o] Error 1

Anyone knows what's going wrong?
I think it stops because of the error with configuration_store.cpp ??

Sky-Tech SK3D-control V8.2 board (no replies)

$
0
0
I have 2 sky-tech sky-maker A2 printers and one sky-maker A1.

they came with the sky-tech SK3D-control V8.2 boards however sky-tech seems to be out of business. All the links to the videos are dead and the company information page seems to have no postings after 2015.

I don't think i can get the original firmware for the printers. One has replicator V7.5 on it but the stepper motors don't work.

The board is
- 24V, ATMEGA1280
- has 5 stepper outputs/drivers,
- 2 ISP ports,
- 1 UART port, a port with labeled "Thermocouples" with A and B inputs,
- 2 ports with heater and fan connectors for each extruder,
- a port for the bed heater,
- a 4 pin port labeled "HBP-THERM",
- X/Y/Z max and min ports for end stops (4 pin each),
- USB port,
- power switch
- reset button.
- there is also a port labeled "EXTRA" with 4 pins: 24v, R, G, B, I assume this is for an LED strip.
- came with A4982SLPT stepper drivers

I am wondering if anyone knows anything about this board and how i could set it up in marlin?

thank you

Move to Z Max, until triggered, then home to probe? (no replies)

$
0
0
Hi Folks,

Is it possible to have Marlin move to Z Max when homing, until triggered, then home to 0 with the probe? I've got a machine with a Z Max endstop and Probe connected to Z min. I want to to move to its extents to calculate the max z height. Is this possible? Currently I have to set the max z height manually and get it spot on in order to get the finished probe height right.
Viewing all 2831 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>