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

Nozzle X Y Offset (Delta Printer with Marlin 1.1.9) (no replies)

$
0
0
Hello

I'm reparing a Delta Printer and I'm setting it up with a new Marlin 1.1.9 firmware.
I started from the delta basic configuration file. I've come so far to be able to print a small test dice cube. (It's far from perfet. But I'll get there. :-) )

I have the following questions according to the settings in marlin 1.1.9:

1. How can I set an offset for the nozzle?
My printhead supports two extruders. But only one is installed/used. But because of the design the extruder (therefore the nozzle) is not in the middle of the printhead. But because the plate with the printhead goes to X0 Y0 the print is deviated. (Is this clear?)
How can I adjust the origin in the X- and Y-axis accordingly in the firmware?
So for example I set an offset for X = 10 and Y = -10 and then the origin is moved accordingly.

Does this cut off some printing area when I set my radius to 120? Or does it move the whole printing area as well?

Many thx for any help.
theliadir

Reset EEPROM with M502 and now printer is layer shifting terribly (no replies)

$
0
0
Hello,

I had to reset my EEPROM with an M502 command through Pronterface then saved with M500. I had to do this to fix a probing issue I was having where the EZABL wasn't probing correctly because the probe offset wasn't saving. That problem is fixed but now I'm getting terrible layer shift. Did I screw something up with the M502 and M500?

I recently upgraded to an SKR e3 mini and had reprogrammed everything and gotten it working perfectly. Now it is not working so well. I have performed mechanical checks, belts are tight and nothing else seems wrong.

It seems like now the print bed is moving too fast, but I am not sure how to get this fixed. Below are all of the settings in the speed setting in Cura 4.1. I printed a perfect print yesterday with the exact same Cura settings. All that has changed is resetting the EEPROM settings.

Are there some settings that I need to change after resetting the EEPROM? I am sorry for sounding ignorant, I am not really sure what the EEPROM really is.

You can see my jerk and acceleration settings in Cura that have been successfully working for me so far. I haven't changed any of those settings. I can provide my configuration.h file if needed.

Images:

[imgur.com]


Anet A6 (no replies)

$
0
0
Hello. I would like to ask experienced people. No one thought about the possibility of altering a pause and changing the filament in the Marlin firmware?
I have been using Anet A6 printer for 2 years and decided to change the firmware to Marlin 1.1.1
On the firmware that was installed on the printer board, pause and change of filament worked very well (when paused, the extruder simultaneously moved up and diagonally, moving away from the model, and then drove home along X and Y)
When pressed back, the extruder returned to the model and printed it further.
Now, actually, the question is: is it possible to make the same pause and change of filament on Marlin firmware?

how to upgrade Marlin 2.0.1 to 2.0.5 (no replies)

$
0
0
(tu)I've done some googling on how to upgrade my Ramps 1.6 plus with 2130s & LCD from Marlin 2.0.1 to 2.0.5.
Can't seem to find a how to.
Any ideas? Thanks a lot in advance (tu)

Uploading Marlin to Anet A8 is Clearly Rocket Science (Help) (no replies)

$
0
0
Preamble

I've wanted to implement auto bed leveling for my Anet A8 (V1.5 board) because the manual bed leveling with a piece of paper every time is getting really monotonous and is the main reason I don't print much as I would otherwise. Despite what some people say, I need to level my bed every time or my first layer peels off and I get mad.

Another reason I would like to upgrade to Marlin is because my Octoprint says it lacks a thermal runway (no way to detect if the hothead thermistor has fallen out and will keep raising temperature regardless until a possible fire) So uploading to Marlin would allow me to enable thermal runway protection and utilize the induction sensor I have mounted to the lower x-axis bearing with a mounted I've modeled in Autodesk Fusion 360.

The Problem

I've done a fair amount of research into this. I purchased a USBasp back in 2014 for flashing firmware to a drone, so I dug it out to use to flash the Anet A8. I looked at the schematic of the J3 header and modified to wiring of my USBasp so the inner 6 pins line up with VCC, MOSI, GND, MISO, SCK, and RESET and the outer 4 pins are not connected. I installed the USBasp driver from [www.fischl.de] and used Zadig to replace the driver with the WinUSB driver as instructed by some sources.

Next, I downloaded the latest version of Marlin (2.0.5.3 at the time of writing) and the Anet A8 board definitions from [github.com] and put them in the Documents/Arduino directory as required. Next I downloaded the Marlin configuration examples and copied the contents of the Anet A8 sub folder into the Marlin subfolder of the downloaded Marlin 2.0.5.3 firmware and overwrote the existing files.

As recommended by a YouTube video (https://www.youtube.com/watch?v=wRODgnAqp1A), I attempted to upload the the Marlin firmware straight away by uploading (failure would indicate no bootloader is on the board), and of course, it failed for a myriad of reasons that I cannot remember. One I can remember was "file path or extension to long" regarding the AVRdude executable. I looked around online for this but there was little information about it, some suggested moving the files to C:\TEMP to shorten the file path. I did not have much success, other errors just happened instead) For each error I solved, there was another to popup. Ultimately, I gave up on Marlin 2.x and downloaded Marlin 1.19 (Note I also tried Visual Studio Code with PlatformIO and Auto Build Marlin extensions that looked promising and then...as usual...failure. Note: I also used old versions of Arduino IDE (1.8.5) as recommended by the YouTube video said.

Marlin 1.19

With Marlin 1.19 I nearly had success. Obviously from the blank screen of my Anet A8, I had corrupted the bootloader, so I used my USBasp connected to J3 of the Anet A8 board to burn the (optiboot) bootloader which appeared to work fine according to the AVRdude comments.

Then using a USB cable, I attempted to upload Marlin 1.19, but not surprisingly I received an error to do with Interrupts or something. I looked it up and saw some say to comment out this line in the Configuration.h file and it will work fine. I did this and true, it solved it. Because of the failure, I had to keep re-burning the bootloader, every failure (I won't mention this every time). When uploading Marlin 1.19 after this I it appeared like it was working. I see Writing ####################### Reading ########################... then once again a new reason of failure "Selected serial port does not exist or your board is not connected" (Sigh). Not sure what this means, it is connected. (Note the COM port selected is correct)

Note I have tried uploading the firmware through the USBasp with "Upload with Programmer" but I get the exact same results and will end up have to reburn the bootloader. I can't find anything useful online about "Selected serial port does not exist or your board is not connected". My electronics lecturer, which does similar things in his spare time, suggested trying to try and upload a simple blink script to the Anet A8 ATMega AVR chip to see if it is possible to even upload and to tell whether it is a Marlin based code issue or not. I managed to upload this simple script and using the LED_BUILT_IN constant, I could make the ANET A8 board blink its LED at different rates.

Going back to upload Marlin 1.19 I get the same Serial Port Error!

This is where I have reached the (I need help stage, to unbrick my Anet A8 v1.5 board)

Please watch this video: Video showing the Marlin 1.19 upload problem

Thanks in advance for any help.

Marlin 2.0 Core XY Z Homing Noob (no replies)

$
0
0
Building a core xy printer and would like sensorless homing on z-max and my probe for z-min. I want the bed to lower to z-max when finished printing.

For some reason this is hard for me to figure out what commands exist to do this and what I need to configure in the FW. I'm soooo lost. Please help :)

TMC2130 detect stall (no replies)

$
0
0
Hello everyone, I looking for some advice with TMC2130 and the stallGuard feature
I currently have the driver installed on the Z axis only, using Marlin 2.0.5.3.
Is there a way to read when stallGuard kicks in? I'm building a custom pick&place machine, so I'd wish to move the head until it gets in contact with the object and turn on the vacuum pump to grab it.
I already took a look at the M122 command output but I didn't found anything useful (or at least I'm missing something)

VSCode build errors (no replies)

$
0
0
I keep getting an error and it seems to be getting worse. at the start it tells me to delete a folder which I've try'd to do each time before I've tried to build it. and now its also telling me to download git which I did and I don't know what all the other links and errors are its confusing..

Can not remove temporary directory `C:\Users\proje\Videos\Marlin 2\.pioenvs`. Please remove it manually to avoid build issues
Processing LPC1768 (platform: [github.com]; framework: arduino; board: nxp_lpc1768)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Verbose mode can be enabled via `-v, --verbose` option
CONFIGURATION: [docs.platformio.org]
PLATFORM: NXP Arduino LPC176x 0.1.0 > NXP LPC1768
HARDWARE: LPC1768 100MHz, 31.97KB RAM, 464KB Flash
DEBUG: Current (cmsis-dap) On-board (cmsis-dap) External (blackmagic, jlink)
PACKAGES:
 - framework-arduino-lpc176x 0.1.3
 - toolchain-gccarmnoneeabi 1.70201.0 (7.2.1)
Converting Marlin.ino
LDF: Library Dependency Finder -> [bit.ly]
LDF Modes: Finder ~ off, Compatibility ~ strict
LibraryManager: Installing SailfishLCD
UserSideException: Please install Git client from [git-scm.com]:
  File "C:\Users\proje\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 156:
    env.SConscript("$BUILD_SCRIPT")
  File "C:\Users\proje\.platformio\packages\tool-scons\script\..\engine\SCons\Script\SConscript.py", line 597:
    return _SConscript(self.fs, *files, **subst_kw)
  File "C:\Users\proje\.platformio\packages\tool-scons\script\..\engine\SCons\Script\SConscript.py", line 286:
    exec(compile(scriptdata, scriptname, 'exec'), call_stack[-1].globals)
  File "C:\Users\proje\.platformio\platforms\nxplpc-arduino-lpc176x\builder\main.py", line 148:
    target_elf = env.BuildProgram()
  File "C:\Users\proje\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\proje\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 62:
    env.ProcessProjectDeps()
  File "C:\Users\proje\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\proje\.platformio\penv\lib\site-packages\platformio\builder\tools\platformio.py", line 131:
    project_lib_builder = env.ConfigureProjectLibBuilder()
  File "C:\Users\proje\.platformio\packages\tool-scons\script\..\engine\SCons\Environment.py", line 219:
    return self.method(*nargs, **kwargs)
  File "C:\Users\proje\.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 1035:
    project.install_dependencies()
  File "C:\Users\proje\.platformio\penv\lib\site-packages\platformio\builder\tools\piolib.py", line 867:
    lm.install(uri)
  File "C:\Users\proje\.platformio\penv\lib\site-packages\platformio\managers\lib.py", line 280:
    force=force,
  File "C:\Users\proje\.platformio\penv\lib\site-packages\platformio\managers\package.py", line 698:
    pkg_dir = self._install_from_url(name, url, requirements, track=True)
  File "C:\Users\proje\.platformio\penv\lib\site-packages\platformio\managers\package.py", line 485:
    vcs = VCSClientFactory.newClient(tmp_dir, url)
  File "C:\Users\proje\.platformio\penv\lib\site-packages\platformio\vcsclient.py", line 46:
    src_dir, remote_url, tag, silent
  File "C:\Users\proje\.platformio\penv\lib\site-packages\platformio\vcsclient.py", line 61:
    self.check_client()
  File "C:\Users\proje\.platformio\penv\lib\site-packages\platformio\vcsclient.py", line 127:
    "Please install Git client from [git-scm.com]"
========================================================================= [FAILED] Took 5.45 seconds =========================================================================

Environment           Status    Duration
--------------------  --------  ------------
megaatmega2560        IGNORED
megaatmega1280        IGNORED
at90usb1286_cdc       IGNORED
at90usb1286_dfu       IGNORED
DUE                   IGNORED
DUE_USB               IGNORED
DUE_debug             IGNORED
LPC1768               FAILED    00:00:05.452
LPC1769               IGNORED
melzi                 IGNORED
rambo                 IGNORED
sanguino_atmega644p   IGNORED
sanguino_atmega1284p  IGNORED
STM32F1               IGNORED
fysetc_STM32F1        IGNORED
BIGTREE_SKR_MINI      IGNORED
STM32F4               IGNORED
ARMED                 IGNORED
mks_robin             IGNORED
mks_robin_mini        IGNORED
JGAURORA_A5S_A1       IGNORED
black_stm32f407ve     IGNORED
teensy35              IGNORED
malyanm200            IGNORED
esp32                 IGNORED
fysetc_f6_13          IGNORED
linux_native          IGNORED
=================================================================== 1 failed, 0 succeeded in 00:00:05.452 =================================================================== 
PS C:\Users\proje\Videos\Marlin 2> echo "done" >C:\Users\proje\AppData\Local\Temp\ipc

Issue with my G-code and using M190, please help (no replies)

$
0
0
Hi all, I am trying to print masks for the pandemic, so I found someone who adjusted their G-code to reprint masks by peeling off the print and starting to reprint using a modified g-code, my printers are Ender3 pros, I am using Cura 4.5 to slice, the issue I am having is that when the print is done, the Code is supposed to drop the temp of the bed to 15 degrees, and that info is actually displayed on the screen when the print is done, however, what is happening is once the temp hit about 42 degrees it tries to push the mask but it is NOT coming off since the temp is still at 42 degrees the printed mask is not coming off easily since it is still stuck to the bed. any suggestions or recommendations?

Here is the G-Code:

M104 S0 ; turn off extruder
G0 Z25.000 F1000 ; Hover above print
G90 ;Absolute positionning

G0 X135.000 Y230.000 F4800; move into position
M140 R15.000
M190 R15.000000 ;Wait for bed to cool
G0 Z1.000 F1000 ; Lower Gantry
G0 Y0.000 F2000 ; knock it off!

M300 S300 P500

Marlin firmware, which does not return any information when using serial port control, including the "ok" message (no replies)

$
0
0
The hardware I used was arduino due board set to "BOARD_RAMPS_FD_V2". During debugging with the serial debugger, the firmware suddenly stopped returning "ok". I re-uploaded the firmware, but it did not work.
I don't know where to set it?

SD Card does not initallise on start up (1 reply)

$
0
0
I am running a Sanguino Melzi board on a Tronxy X1.
I have recently installed Marlin V1 all is working OK except when I turn on the printer the SD card does not Initialise, I have to do it manually each time my other printers initialise at startup and when SDcard is changed.
I do have ""#define SDSUPPORT""
Is this a feature of the Melzi board or can I change something in the FW.
Thanks in advance.

Marlin 2.0.5.3 "err: EEPROM Version" on ReArm (1 reply)

$
0
0
Had a successful upload of Marlin 2.0.5.3 to a ReArm CPU, However I am now getting "err: EEPROM Version"

Did an M502 and then an M500, but error persists.

This is a new install not an update.

Anybody have this issue? FIX?

Thanks for the assistance.

anet a8 marlin 2.0 (no replies)

$
0
0
Ho una stampante 3d Anet a8.
Volevo installare il firmware Marlin 2.0
con scheda Antet v1.0 purtroppo inserendo l'opzione SDSUPPORT il firmware generato occupa più spazio di quello che la stampante mette a disposizione.
Mettendo come scheda Anet v1.0 (optiboot) con relativo bootloader si risparmia memoria e quindi il firmware entra nella memoria.
Il fatto e' che la con il bootloader con la scheda Anet v1.0 optirboot la SDCARD non funziona mentre funzione con la scheda Anet v1.0 e relativo bootloader
Quindi chiedo se e' possibile e se si come installare il firmware senza bootloader (forse senza il bootloader il firmware ci entra)

Grazie

Is there any way to use NOZZLE_TO_PROBE_OFFSET when using PROBE_MANUALLY? (no replies)

$
0
0
I'm trying to use a mechanical probe (ie. no electronics inside) mounted to the nozzle assembly to level the bed. I can't seem to find a way to set an offset for this probe when using mesh bed leveling.

I considered commenting out the #undef NOZZLE_TO_PROBE_OFFSET in Conditionals_post.h but it looks like that would break other things and still wouldn't solve my problem.

Is there way to achieve what I'm trying to do?

Is it possible to allow homing of Z axis only with hot nozzle? (1 reply)

$
0
0
Hi,

I installed BLTouch to my 3D printer and everything went well and works fine. At one point I homed all the axes from the menu of the printer and the Z axis pushed straight into my bed and the BLTouch sensor did not trigger.

I investigated further and found the following: When there is cold filament unter the nozzle it prevents the nozzle to get close enough to the bed to trigger the BLTouch sensor. Therefore, it did not stop to go down which was not really good for the printer. Also with BLTouch the "normal" end stop is beind disabled which is on purpose to prevent that this one triggers before the BLTouch probe.

So here is my question: Is there an option to allow Z axis homing only when the nozzle has a minimum temperature? I could not find anything about this.

Does anyone know something how I can prevent this?

Thank you very much, Sebastian

Marlin 2.0.5.3 won't home properly (no replies)

$
0
0
I bought an SKR v1.3 board a while ago and I got some time now to upgrade my printer. I bought the TMC2208 drivers with it. I am able to get most of the configuration working except for homing. I have enabled individual homing in Marlin. I'm using an inductive probe for homing my Z-axis.

I can home the X and Y properly but while I home Z, this is what happens (listen to that awful grating noise just before Z homing starts). `Z_SAFE_HOMING` is enabled and is set to move the X and Y to the middle of the bed and then home Z (the default state in configuration.h). The full configuration is available here. configuration_adv.h is available here. What am I missing here?

I should also mention that I have de-soldered the R11 pullup resistor for Z-min endstop from the board.

More decimal on lcd display for step (no replies)

$
0
0
Hello everyone,
I'm a beginner on Marlin firmware,
I finally received my skr e3 motherboard on an ender 3,an I have a problem to the step.
I can enter the steps / mm only at one digits (80,x) before on the last fw I had two digits after the decimal point(80,xx) , or it must be reconfigured to have availability on the screen?
I want to configure the step on the screen.
My pc is not near to my ENDER3, I don't have an octoprint.
Thanks!
Sorry for my bad english... I am french B)

Marlin 2.0.5.3 Viki2 Blank Display (no replies)

$
0
0
Hello Everyone,

I am having issues getting an Airwolf Axiom upgraded to Marlin 2.0. I have everything configured and working, including steppers, homing, thermistors and heaters, but the LCD screen, a Viki2, is blank.

I believe it's either an issue with U8GLIB 1.18, or Marlin 2.0. With the exact same setup and wiring, the LCD works fine on stock Airwolf firmware, built on Marlin 1.0.0, and on Marlin 1.1.9. I think both of these use 1.17 U8GLIB.

Moving to Marlin 2, I have tried with the main release, the bugfix, and the 2.1 dev branches, and on all of them the display is blank. The display is backlit, but it looks like the contrast is set to 0, and the M250 command does nothing. I have also restarted the configuration and only enabled the Rambo board and the Viki2 settings, and the display still comes up blank. All other features work as well as the other parts of the LCD. On Marlin 1 the entire LCD works, and on Marlin 2 the SD card reader, the temperature LEDs, the reset pin, and the backlight are working.

The pins are the same for the Viki 2 / Rambo combination between all the different firmware versions, and I have double checked and tried everything else a dozen times.

Does anyone have any idea what is going on here?

Thanks!

Mariln firmware issue (no replies)

$
0
0
I have been building a RAMP 1.6 system using Marlin 1.1.x-bugfix (which is 1.1.9 I believe) in an old 3D printer that had it's proprietary control board blow. For a while I've been trying to get it to print a 100mm cube without an odd layer 10-15 issue and then clears up to no avail so it's been sitting. I assumed it was mechanical and never got back into fixing it.

I've recently decided to try to print some face mask ear reliefs for our local hospitals, but the layer issue has turned into an offset issue. Regardless of the settings, layers 1-5 print near flawlessly but 6-10 are offset exactly 12mm [attachment 115263 20200413_125907.jpg]. I would assume if it was a mechanical issue, it would vary on the layers affected, position on the bed, orientation, print speed etc.

I've looked at the gcode file with OctoPrint, Slic3r and Cura (which generated it) and none show the layer offset so I'm suspecting it's firmware, but WHY is the question. I saw a bug report on it in the Marlin bug tracker, but it was closed with no defined resolution that I could make out. I'm suspecting it's something specific with the DRV8825 drivers since some have the issue and other do not.

I'm running another test print with the pattern turned 90deg to see if the offset follows the axis or follow the pattern and changes to the X axis.

Any help would be greatly appreciated.

moving from bug-fix build to release build (no replies)

$
0
0
I have been running the bug-fix source of Marlin for quite a while and decided to move over to the release version instead. I figured I should be able to just copy my 2 config files and the platformio.ini file into the new source directory, then create the new workspace in Visual Studio Code. Did that, and ran the build. Got errors about running old config files, so I changed the version info inside the 2 files to 200005 and ran the build again. Next errors were in regards to #define Z_SAFE_HOMING not being enabled, so I enabled it. Now I get a warning saying
"warning: Calling missing SConscript without error is deprecated.
Transition by adding must_exist=0 to SConscript calls.
Missing SConscript 'Marlin\src\HAL\HAL_LPC1768\upload_extra_script.py'
File "C:\Users\Administrator\.platformio\penv\lib\site-packages\platformio\builder\main.py", line 164, in "

followed by
"In file included from Marlin\src\module/stepper/trinamic.h:29,
from Marlin\src\module/stepper/indirection.h:44,
Compiling .pio\build\LPC1768\src\src\core\utility.cpp.o
from Marlin\src\module/stepper.h:47,
from Marlin\src\MarlinCore.cpp:37:
.pio\libdeps\LPC1768\TMCStepper_ID5513\src/TMCStepper.h:14:10: fatal error: SPI.h: No such file or directory
14 | #include
| ^~~~~~~
compilation terminated.
*** [.pio\build\LPC1768\src\src\MarlinCore.cpp.o] Error 1"

Any ideas on how to correct this? I have checked and there are 3 different SPI.h files in the directory structure, none of which are in the directory where TMCStepper.h file is located. The SPI.h is mentioned in the TMCStepper.h file without any relative folder information, and to me that means the file must reside in the same folder, or be in the folder where the TMCStepper.h file is mentioned. I am not a programmer, and I am using old DOS batch file logic to arrive at that opinion. Inside the TMCStepper.h file it also includes a file named "Stream.h", again without any relative folder information, and that file does not exist in the folder that contains the TMCStepper.h file.
Viewing all 2831 articles
Browse latest View live


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